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.

GetReservationPurchaseRecommendationOutput

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

type GetReservationPurchaseRecommendationOutput struct { Metadata *ReservationPurchaseRecommendationMetadata `type:"structure"` NextPageToken *string `type:"string"` Recommendations []*ReservationPurchaseRecommendation `type:"list"` }

Metadata

Information about this specific recommendation, such as the time stamp for when AWS made a specific recommendation.

NextPageToken

Type: *string

The pagination token for the next set of retrievable results.

Recommendations

A specific reservation that AWS recommends for purchase.

Method

GoString

func (s GetReservationPurchaseRecommendationOutput) GoString() string

GoString returns the string representation

SetMetadata

func (s *GetReservationPurchaseRecommendationOutput) SetMetadata(v *ReservationPurchaseRecommendationMetadata) *GetReservationPurchaseRecommendationOutput

SetMetadata sets the Metadata field's value.

SetNextPageToken

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

SetNextPageToken sets the NextPageToken field's value.

SetRecommendations

func (s *GetReservationPurchaseRecommendationOutput) SetRecommendations(v []*ReservationPurchaseRecommendation) *GetReservationPurchaseRecommendationOutput

SetRecommendations sets the Recommendations field's value.

String

func (s GetReservationPurchaseRecommendationOutput) String() string

String returns the string representation

On this page: