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

package types_test

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

func ExampleDimension_outputUsage() {
	var union types.Dimension
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.DimensionMemberCalculatedAttributes:
		_ = v.Value // Value is map[string]types.CalculatedAttributeDimension

	case *types.DimensionMemberProfileAttributes:
		_ = v.Value // Value is types.ProfileAttributes

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

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

	}
}

var _ map[string]types.CalculatedAttributeDimension
var _ *types.ProfileAttributes
