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.

GroupDefinition

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

type GroupDefinition struct { Key *string `type:"string"` Type *string `type:"string" enum:"GroupDefinitionType"` }

Represents a group when you specify a group by criteria or in the response to a query with a specific grouping.

Key

Type: *string

The string that represents a key for a specified group.

Type

Type: *string

The string that represents the type of group.

Method

GoString

func (s GroupDefinition) GoString() string

GoString returns the string representation

SetKey

func (s *GroupDefinition) SetKey(v string) *GroupDefinition

SetKey sets the Key field's value.

SetType

func (s *GroupDefinition) SetType(v string) *GroupDefinition

SetType sets the Type field's value.

String

func (s GroupDefinition) String() string

String returns the string representation

On this page: