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

package types_test

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

func ExampleCloudFormationStepSummary_outputUsage() {
	var union types.CloudFormationStepSummary
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.CloudFormationStepSummaryMemberCreateCloudformation:
		_ = v.Value // Value is types.CreateCloudFormationSummary

	case *types.CloudFormationStepSummaryMemberDeleteCloudformation:
		_ = v.Value // Value is types.DeleteCloudFormationSummary

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

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

	}
}

var _ *types.CreateCloudFormationSummary
var _ *types.DeleteCloudFormationSummary

func ExampleCompareFileType_outputUsage() {
	var union types.CompareFileType
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.CompareFileTypeMemberDatabaseCDC:
		_ = v.Value // Value is types.CompareDatabaseCDCSummary

	case *types.CompareFileTypeMemberDatasets:
		_ = v.Value // Value is types.CompareDataSetsSummary

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

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

	}
}

var _ *types.CompareDatabaseCDCSummary
var _ *types.CompareDataSetsSummary

func ExampleFile_outputUsage() {
	var union types.File
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.FileMemberFileType:
		_ = v.Value // Value is types.CompareFileType

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

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

	}
}

var _ types.CompareFileType

func ExampleFileMetadata_outputUsage() {
	var union types.FileMetadata
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.FileMetadataMemberDatabaseCDC:
		_ = v.Value // Value is types.DatabaseCDC

	case *types.FileMetadataMemberDataSets:
		_ = v.Value // Value is []types.DataSet

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

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

	}
}

var _ *types.DatabaseCDC
var _ []types.DataSet

func ExampleInput_outputUsage() {
	var union types.Input
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.InputMemberFile:
		_ = v.Value // Value is types.InputFile

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

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

	}
}

var _ *types.InputFile

func ExampleMainframeActionSummary_outputUsage() {
	var union types.MainframeActionSummary
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.MainframeActionSummaryMemberBatch:
		_ = v.Value // Value is types.BatchSummary

	case *types.MainframeActionSummaryMemberTn3270:
		_ = v.Value // Value is types.TN3270Summary

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

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

	}
}

var _ *types.BatchSummary
var _ *types.TN3270Summary

func ExampleMainframeActionType_outputUsage() {
	var union types.MainframeActionType
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.MainframeActionTypeMemberBatch:
		_ = v.Value // Value is types.Batch

	case *types.MainframeActionTypeMemberTn3270:
		_ = v.Value // Value is types.TN3270

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

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

	}
}

var _ *types.Batch
var _ *types.TN3270

func ExampleMainframeResourceSummary_outputUsage() {
	var union types.MainframeResourceSummary
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.MainframeResourceSummaryMemberM2ManagedApplication:
		_ = v.Value // Value is types.M2ManagedApplicationSummary

	case *types.MainframeResourceSummaryMemberM2NonManagedApplication:
		_ = v.Value // Value is types.M2NonManagedApplicationSummary

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

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

	}
}

var _ *types.M2ManagedApplicationSummary
var _ *types.M2NonManagedApplicationSummary

func ExampleOutput_outputUsage() {
	var union types.Output
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.OutputMemberFile:
		_ = v.Value // Value is types.OutputFile

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

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

	}
}

var _ *types.OutputFile

func ExampleResourceAction_outputUsage() {
	var union types.ResourceAction
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.ResourceActionMemberCloudFormationAction:
		_ = v.Value // Value is types.CloudFormationAction

	case *types.ResourceActionMemberM2ManagedApplicationAction:
		_ = v.Value // Value is types.M2ManagedApplicationAction

	case *types.ResourceActionMemberM2NonManagedApplicationAction:
		_ = v.Value // Value is types.M2NonManagedApplicationAction

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

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

	}
}

var _ *types.CloudFormationAction
var _ *types.M2ManagedApplicationAction
var _ *types.M2NonManagedApplicationAction

func ExampleResourceActionSummary_outputUsage() {
	var union types.ResourceActionSummary
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.ResourceActionSummaryMemberCloudFormation:
		_ = v.Value // Value is types.CloudFormationStepSummary

	case *types.ResourceActionSummaryMemberM2ManagedApplication:
		_ = v.Value // Value is types.M2ManagedApplicationStepSummary

	case *types.ResourceActionSummaryMemberM2NonManagedApplication:
		_ = v.Value // Value is types.M2NonManagedApplicationStepSummary

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

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

	}
}

var _ types.CloudFormationStepSummary
var _ *types.M2ManagedApplicationStepSummary
var _ *types.M2NonManagedApplicationStepSummary

func ExampleResourceType_outputUsage() {
	var union types.ResourceType
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.ResourceTypeMemberCloudFormation:
		_ = v.Value // Value is types.CloudFormation

	case *types.ResourceTypeMemberM2ManagedApplication:
		_ = v.Value // Value is types.M2ManagedApplication

	case *types.ResourceTypeMemberM2NonManagedApplication:
		_ = v.Value // Value is types.M2NonManagedApplication

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

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

	}
}

var _ *types.CloudFormation
var _ *types.M2ManagedApplication
var _ *types.M2NonManagedApplication

func ExampleStepAction_outputUsage() {
	var union types.StepAction
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.StepActionMemberCompareAction:
		_ = v.Value // Value is types.CompareAction

	case *types.StepActionMemberMainframeAction:
		_ = v.Value // Value is types.MainframeAction

	case *types.StepActionMemberResourceAction:
		_ = v.Value // Value is types.ResourceAction

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

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

	}
}

var _ *types.MainframeAction
var _ *types.CompareAction
var _ types.ResourceAction

func ExampleStepRunSummary_outputUsage() {
	var union types.StepRunSummary
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.StepRunSummaryMemberCompareAction:
		_ = v.Value // Value is types.CompareActionSummary

	case *types.StepRunSummaryMemberMainframeAction:
		_ = v.Value // Value is types.MainframeActionSummary

	case *types.StepRunSummaryMemberResourceAction:
		_ = v.Value // Value is types.ResourceActionSummary

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

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

	}
}

var _ *types.CompareActionSummary
var _ types.ResourceActionSummary
var _ types.MainframeActionSummary

func ExampleTestCases_outputUsage() {
	var union types.TestCases
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.TestCasesMemberSequential:
		_ = 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
