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.

GroupQuery

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

type GroupQuery struct { GroupName *string `min:"1" type:"string" required:"true"` ResourceQuery *ResourceQuery `type:"structure" required:"true"` }

The underlying resource query of a resource group. Resources that match query results are part of the group.

GroupName

Type: *string

The name of a resource group that is associated with a specific resource query.

GroupName is a required field

ResourceQuery

The query that is used to define a resource group or a search for resources.

Method

GoString

func (s GroupQuery) GoString() string

GoString returns the string representation

SetGroupName

func (s *GroupQuery) SetGroupName(v string) *GroupQuery

SetGroupName sets the GroupName field's value.

SetResourceQuery

func (s *GroupQuery) SetResourceQuery(v *ResourceQuery) *GroupQuery

SetResourceQuery sets the ResourceQuery field's value.

String

func (s GroupQuery) String() string

String returns the string representation

On this page: