AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ResourceCount

import "github.com/aws/aws-sdk-go/service/configservice"

type ResourceCount struct { Count *int64 `locationName:"count" type:"long"` ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` }

An object that contains the resource type and the number of resources.

Count

Type: *int64

The number of resources.

ResourceType

Type: *string

The resource type (for example, "AWS::EC2::Instance").

Method

GoString

func (s ResourceCount) GoString() string

GoString returns the string representation

SetCount

func (s *ResourceCount) SetCount(v int64) *ResourceCount

SetCount sets the Count field's value.

SetResourceType

func (s *ResourceCount) SetResourceType(v string) *ResourceCount

SetResourceType sets the ResourceType field's value.

String

func (s ResourceCount) String() string

String returns the string representation

On this page: