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.

StatisticSet

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

type StatisticSet struct { Maximum *float64 `type:"double" required:"true"` Minimum *float64 `type:"double" required:"true"` SampleCount *float64 `type:"double" required:"true"` Sum *float64 `type:"double" required:"true"` }

Represents a set of statistics that describes a specific metric.

Maximum

Type: *float64

The maximum value of the sample set.

Maximum is a required field

Minimum

Type: *float64

The minimum value of the sample set.

Minimum is a required field

SampleCount

Type: *float64

The number of samples used for the statistic set.

SampleCount is a required field

Sum

Type: *float64

The sum of values for the sample set.

Sum is a required field

Method

GoString

func (s StatisticSet) GoString() string

GoString returns the string representation

SetMaximum

func (s *StatisticSet) SetMaximum(v float64) *StatisticSet

SetMaximum sets the Maximum field's value.

SetMinimum

func (s *StatisticSet) SetMinimum(v float64) *StatisticSet

SetMinimum sets the Minimum field's value.

SetSampleCount

func (s *StatisticSet) SetSampleCount(v float64) *StatisticSet

SetSampleCount sets the SampleCount field's value.

SetSum

func (s *StatisticSet) SetSum(v float64) *StatisticSet

SetSum sets the Sum field's value.

String

func (s StatisticSet) String() string

String returns the string representation

Validate

func (s *StatisticSet) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: