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.

ReservationPurchaseRecommendationSummary

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

type ReservationPurchaseRecommendationSummary struct { CurrencyCode *string `type:"string"` TotalEstimatedMonthlySavingsAmount *string `type:"string"` TotalEstimatedMonthlySavingsPercentage *string `type:"string"` }

A summary about this recommendation, such as the currency code, the amount that AWS estimates that you could save, and the total amount of reservation to purchase.

CurrencyCode

Type: *string

The currency code used for this recommendation.

TotalEstimatedMonthlySavingsAmount

Type: *string

The total amount that AWS estimates that this recommendation could save you in a month.

TotalEstimatedMonthlySavingsPercentage

Type: *string

The total amount that AWS estimates that this recommendation could save you in a month, as a percentage of your costs.

Method

GoString

func (s ReservationPurchaseRecommendationSummary) GoString() string

GoString returns the string representation

SetCurrencyCode

func (s *ReservationPurchaseRecommendationSummary) SetCurrencyCode(v string) *ReservationPurchaseRecommendationSummary

SetCurrencyCode sets the CurrencyCode field's value.

SetTotalEstimatedMonthlySavingsAmount

func (s *ReservationPurchaseRecommendationSummary) SetTotalEstimatedMonthlySavingsAmount(v string) *ReservationPurchaseRecommendationSummary

SetTotalEstimatedMonthlySavingsAmount sets the TotalEstimatedMonthlySavingsAmount field's value.

SetTotalEstimatedMonthlySavingsPercentage

func (s *ReservationPurchaseRecommendationSummary) SetTotalEstimatedMonthlySavingsPercentage(v string) *ReservationPurchaseRecommendationSummary

SetTotalEstimatedMonthlySavingsPercentage sets the TotalEstimatedMonthlySavingsPercentage field's value.

String

func (s ReservationPurchaseRecommendationSummary) String() string

String returns the string representation

On this page: