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.

GetReservationUtilizationOutput

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

type GetReservationUtilizationOutput struct { NextPageToken *string `type:"string"` Total *ReservationAggregates `type:"structure"` UtilizationsByTime []*UtilizationByTime `type:"list" required:"true"` }

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 aggregated numbers for your reservation usage.

UtilizationsByTime

The amount of utilization, in hours.

Method

GoString

func (s GetReservationUtilizationOutput) GoString() string

GoString returns the string representation

SetNextPageToken

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

SetNextPageToken sets the NextPageToken field's value.

SetTotal

func (s *GetReservationUtilizationOutput) SetTotal(v *ReservationAggregates) *GetReservationUtilizationOutput

SetTotal sets the Total field's value.

SetUtilizationsByTime

func (s *GetReservationUtilizationOutput) SetUtilizationsByTime(v []*UtilizationByTime) *GetReservationUtilizationOutput

SetUtilizationsByTime sets the UtilizationsByTime field's value.

String

func (s GetReservationUtilizationOutput) String() string

String returns the string representation

On this page: