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.

HistoricalMetricData

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

type HistoricalMetricData struct { Metric *HistoricalMetric `type:"structure"` Value *float64 `type:"double"` }

A HistoricalMetricData object than contains a Metric and a Value.

Metric

A HistoricalMetric object that contains the Name, Unit, Statistic, and Threshold for the metric.

Value

Type: *float64

The Value of the metric.

Method

GoString

func (s HistoricalMetricData) GoString() string

GoString returns the string representation

SetMetric

func (s *HistoricalMetricData) SetMetric(v *HistoricalMetric) *HistoricalMetricData

SetMetric sets the Metric field's value.

SetValue

func (s *HistoricalMetricData) SetValue(v float64) *HistoricalMetricData

SetValue sets the Value field's value.

String

func (s HistoricalMetricData) String() string

String returns the string representation

On this page: