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.

Group

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

type Group struct { Keys []*string `type:"list"` Metrics map[string]*MetricValue `type:"map"` }

One level of grouped data in the results.

Keys

Type: []*string

The keys that are included in this group.

Metrics

Type: map[string]*MetricValue

The metrics that are included in this group.

Method

GoString

func (s Group) GoString() string

GoString returns the string representation

SetKeys

func (s *Group) SetKeys(v []*string) *Group

SetKeys sets the Keys field's value.

SetMetrics

func (s *Group) SetMetrics(v map[string]*MetricValue) *Group

SetMetrics sets the Metrics field's value.

String

func (s Group) String() string

String returns the string representation

On this page: