// Code generated by smithy-go-codegen DO NOT EDIT.

package types_test

import (
	"fmt"
	"github.com/aws/aws-sdk-go-v2/service/iotfleetwise/types"
)

func ExampleCollectionScheme_outputUsage() {
	var union types.CollectionScheme
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.CollectionSchemeMemberConditionBasedCollectionScheme:
		_ = v.Value // Value is types.ConditionBasedCollectionScheme

	case *types.CollectionSchemeMemberTimeBasedCollectionScheme:
		_ = v.Value // Value is types.TimeBasedCollectionScheme

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}

var _ *types.ConditionBasedCollectionScheme
var _ *types.TimeBasedCollectionScheme

func ExampleFormattedVss_outputUsage() {
	var union types.FormattedVss
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.FormattedVssMemberVssJson:
		_ = v.Value // Value is string

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}

var _ *string

func ExampleNetworkFileDefinition_outputUsage() {
	var union types.NetworkFileDefinition
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.NetworkFileDefinitionMemberCanDbc:
		_ = v.Value // Value is types.CanDbcDefinition

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}

var _ *types.CanDbcDefinition

func ExampleNode_outputUsage() {
	var union types.Node
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.NodeMemberActuator:
		_ = v.Value // Value is types.Actuator

	case *types.NodeMemberAttribute:
		_ = v.Value // Value is types.Attribute

	case *types.NodeMemberBranch:
		_ = v.Value // Value is types.Branch

	case *types.NodeMemberSensor:
		_ = v.Value // Value is types.Sensor

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}

var _ *types.Branch
var _ *types.Actuator
var _ *types.Sensor
var _ *types.Attribute
