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.

GetReservationCoverageOutput

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

type GetReservationCoverageOutput struct { CoveragesByTime []*CoverageByTime `type:"list" required:"true"` NextPageToken *string `type:"string"` Total *Coverage `type:"structure"` }

CoveragesByTime

Reservation coverage for a specified period, in hours.

NextPageToken

Type: *string

The token for the next set of retrievable results. AWS provides the token when the response from a previous call has more results than the maximum page size.

Total

The amount of instance usage that a reservation covered.

Method

GoString

func (s GetReservationCoverageOutput) GoString() string

GoString returns the string representation

SetCoveragesByTime

func (s *GetReservationCoverageOutput) SetCoveragesByTime(v []*CoverageByTime) *GetReservationCoverageOutput

SetCoveragesByTime sets the CoveragesByTime field's value.

SetNextPageToken

func (s *GetReservationCoverageOutput) SetNextPageToken(v string) *GetReservationCoverageOutput

SetNextPageToken sets the NextPageToken field's value.

SetTotal

func (s *GetReservationCoverageOutput) SetTotal(v *Coverage) *GetReservationCoverageOutput

SetTotal sets the Total field's value.

String

func (s GetReservationCoverageOutput) String() string

String returns the string representation

On this page: