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.

GetCurrentMetricDataOutput

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

type GetCurrentMetricDataOutput struct { DataSnapshotTime *time.Time `type:"timestamp"` MetricResults []*CurrentMetricResult `type:"list"` NextToken *string `type:"string"` }

DataSnapshotTime

Type: *time.Time

The time at which CurrentMetricData was retrieved and cached for pagination.

MetricResults

A CurrentMetricResult object.

NextToken

Type: *string

A string returned in the response. Use the value returned in the response as the value of the NextToken in a subsequent request to retrieve the next set of results.

The token expires after 5 minutes from the time it is created. Subsequent requests that use the NextToken must use the same request parameters as the request that generated the token.

Method

GoString

func (s GetCurrentMetricDataOutput) GoString() string

GoString returns the string representation

SetDataSnapshotTime

func (s *GetCurrentMetricDataOutput) SetDataSnapshotTime(v time.Time) *GetCurrentMetricDataOutput

SetDataSnapshotTime sets the DataSnapshotTime field's value.

SetMetricResults

func (s *GetCurrentMetricDataOutput) SetMetricResults(v []*CurrentMetricResult) *GetCurrentMetricDataOutput

SetMetricResults sets the MetricResults field's value.

SetNextToken

func (s *GetCurrentMetricDataOutput) SetNextToken(v string) *GetCurrentMetricDataOutput

SetNextToken sets the NextToken field's value.

String

func (s GetCurrentMetricDataOutput) String() string

String returns the string representation

On this page: