/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary metrics for your Savings Plans Purchase
* Recommendations.See Also:
AWS
* API Reference
The estimated return on investment that's based on the recommended Savings * Plans and estimated savings.
*/ inline const Aws::String& GetEstimatedROI() const{ return m_estimatedROI; } /** *The estimated return on investment that's based on the recommended Savings * Plans and estimated savings.
*/ inline bool EstimatedROIHasBeenSet() const { return m_estimatedROIHasBeenSet; } /** *The estimated return on investment that's based on the recommended Savings * Plans and estimated savings.
*/ inline void SetEstimatedROI(const Aws::String& value) { m_estimatedROIHasBeenSet = true; m_estimatedROI = value; } /** *The estimated return on investment that's based on the recommended Savings * Plans and estimated savings.
*/ inline void SetEstimatedROI(Aws::String&& value) { m_estimatedROIHasBeenSet = true; m_estimatedROI = std::move(value); } /** *The estimated return on investment that's based on the recommended Savings * Plans and estimated savings.
*/ inline void SetEstimatedROI(const char* value) { m_estimatedROIHasBeenSet = true; m_estimatedROI.assign(value); } /** *The estimated return on investment that's based on the recommended Savings * Plans and estimated savings.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedROI(const Aws::String& value) { SetEstimatedROI(value); return *this;} /** *The estimated return on investment that's based on the recommended Savings * Plans and estimated savings.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedROI(Aws::String&& value) { SetEstimatedROI(std::move(value)); return *this;} /** *The estimated return on investment that's based on the recommended Savings * Plans and estimated savings.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedROI(const char* value) { SetEstimatedROI(value); return *this;} /** *The currency code that Amazon Web Services used to generate the * recommendations and present potential savings.
*/ inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; } /** *The currency code that Amazon Web Services used to generate the * recommendations and present potential savings.
*/ inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; } /** *The currency code that Amazon Web Services used to generate the * recommendations and present potential savings.
*/ inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; } /** *The currency code that Amazon Web Services used to generate the * recommendations and present potential savings.
*/ inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); } /** *The currency code that Amazon Web Services used to generate the * recommendations and present potential savings.
*/ inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); } /** *The currency code that Amazon Web Services used to generate the * recommendations and present potential savings.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;} /** *The currency code that Amazon Web Services used to generate the * recommendations and present potential savings.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;} /** *The currency code that Amazon Web Services used to generate the * recommendations and present potential savings.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;} /** *The estimated total cost of the usage after purchasing the recommended * Savings Plans. This is a sum of the cost of Savings Plans during this term, and * the remaining On-Demand usage.
*/ inline const Aws::String& GetEstimatedTotalCost() const{ return m_estimatedTotalCost; } /** *The estimated total cost of the usage after purchasing the recommended * Savings Plans. This is a sum of the cost of Savings Plans during this term, and * the remaining On-Demand usage.
*/ inline bool EstimatedTotalCostHasBeenSet() const { return m_estimatedTotalCostHasBeenSet; } /** *The estimated total cost of the usage after purchasing the recommended * Savings Plans. This is a sum of the cost of Savings Plans during this term, and * the remaining On-Demand usage.
*/ inline void SetEstimatedTotalCost(const Aws::String& value) { m_estimatedTotalCostHasBeenSet = true; m_estimatedTotalCost = value; } /** *The estimated total cost of the usage after purchasing the recommended * Savings Plans. This is a sum of the cost of Savings Plans during this term, and * the remaining On-Demand usage.
*/ inline void SetEstimatedTotalCost(Aws::String&& value) { m_estimatedTotalCostHasBeenSet = true; m_estimatedTotalCost = std::move(value); } /** *The estimated total cost of the usage after purchasing the recommended * Savings Plans. This is a sum of the cost of Savings Plans during this term, and * the remaining On-Demand usage.
*/ inline void SetEstimatedTotalCost(const char* value) { m_estimatedTotalCostHasBeenSet = true; m_estimatedTotalCost.assign(value); } /** *The estimated total cost of the usage after purchasing the recommended * Savings Plans. This is a sum of the cost of Savings Plans during this term, and * the remaining On-Demand usage.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedTotalCost(const Aws::String& value) { SetEstimatedTotalCost(value); return *this;} /** *The estimated total cost of the usage after purchasing the recommended * Savings Plans. This is a sum of the cost of Savings Plans during this term, and * the remaining On-Demand usage.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedTotalCost(Aws::String&& value) { SetEstimatedTotalCost(std::move(value)); return *this;} /** *The estimated total cost of the usage after purchasing the recommended * Savings Plans. This is a sum of the cost of Savings Plans during this term, and * the remaining On-Demand usage.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedTotalCost(const char* value) { SetEstimatedTotalCost(value); return *this;} /** *The current total on demand spend of the applicable usage types over the * lookback period.
*/ inline const Aws::String& GetCurrentOnDemandSpend() const{ return m_currentOnDemandSpend; } /** *The current total on demand spend of the applicable usage types over the * lookback period.
*/ inline bool CurrentOnDemandSpendHasBeenSet() const { return m_currentOnDemandSpendHasBeenSet; } /** *The current total on demand spend of the applicable usage types over the * lookback period.
*/ inline void SetCurrentOnDemandSpend(const Aws::String& value) { m_currentOnDemandSpendHasBeenSet = true; m_currentOnDemandSpend = value; } /** *The current total on demand spend of the applicable usage types over the * lookback period.
*/ inline void SetCurrentOnDemandSpend(Aws::String&& value) { m_currentOnDemandSpendHasBeenSet = true; m_currentOnDemandSpend = std::move(value); } /** *The current total on demand spend of the applicable usage types over the * lookback period.
*/ inline void SetCurrentOnDemandSpend(const char* value) { m_currentOnDemandSpendHasBeenSet = true; m_currentOnDemandSpend.assign(value); } /** *The current total on demand spend of the applicable usage types over the * lookback period.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithCurrentOnDemandSpend(const Aws::String& value) { SetCurrentOnDemandSpend(value); return *this;} /** *The current total on demand spend of the applicable usage types over the * lookback period.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithCurrentOnDemandSpend(Aws::String&& value) { SetCurrentOnDemandSpend(std::move(value)); return *this;} /** *The current total on demand spend of the applicable usage types over the * lookback period.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithCurrentOnDemandSpend(const char* value) { SetCurrentOnDemandSpend(value); return *this;} /** *The estimated total savings over the lookback period, based on the purchase * of the recommended Savings Plans.
*/ inline const Aws::String& GetEstimatedSavingsAmount() const{ return m_estimatedSavingsAmount; } /** *The estimated total savings over the lookback period, based on the purchase * of the recommended Savings Plans.
*/ inline bool EstimatedSavingsAmountHasBeenSet() const { return m_estimatedSavingsAmountHasBeenSet; } /** *The estimated total savings over the lookback period, based on the purchase * of the recommended Savings Plans.
*/ inline void SetEstimatedSavingsAmount(const Aws::String& value) { m_estimatedSavingsAmountHasBeenSet = true; m_estimatedSavingsAmount = value; } /** *The estimated total savings over the lookback period, based on the purchase * of the recommended Savings Plans.
*/ inline void SetEstimatedSavingsAmount(Aws::String&& value) { m_estimatedSavingsAmountHasBeenSet = true; m_estimatedSavingsAmount = std::move(value); } /** *The estimated total savings over the lookback period, based on the purchase * of the recommended Savings Plans.
*/ inline void SetEstimatedSavingsAmount(const char* value) { m_estimatedSavingsAmountHasBeenSet = true; m_estimatedSavingsAmount.assign(value); } /** *The estimated total savings over the lookback period, based on the purchase * of the recommended Savings Plans.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedSavingsAmount(const Aws::String& value) { SetEstimatedSavingsAmount(value); return *this;} /** *The estimated total savings over the lookback period, based on the purchase * of the recommended Savings Plans.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedSavingsAmount(Aws::String&& value) { SetEstimatedSavingsAmount(std::move(value)); return *this;} /** *The estimated total savings over the lookback period, based on the purchase * of the recommended Savings Plans.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedSavingsAmount(const char* value) { SetEstimatedSavingsAmount(value); return *this;} /** *The aggregate number of Savings Plans recommendations that exist for your * account.
*/ inline const Aws::String& GetTotalRecommendationCount() const{ return m_totalRecommendationCount; } /** *The aggregate number of Savings Plans recommendations that exist for your * account.
*/ inline bool TotalRecommendationCountHasBeenSet() const { return m_totalRecommendationCountHasBeenSet; } /** *The aggregate number of Savings Plans recommendations that exist for your * account.
*/ inline void SetTotalRecommendationCount(const Aws::String& value) { m_totalRecommendationCountHasBeenSet = true; m_totalRecommendationCount = value; } /** *The aggregate number of Savings Plans recommendations that exist for your * account.
*/ inline void SetTotalRecommendationCount(Aws::String&& value) { m_totalRecommendationCountHasBeenSet = true; m_totalRecommendationCount = std::move(value); } /** *The aggregate number of Savings Plans recommendations that exist for your * account.
*/ inline void SetTotalRecommendationCount(const char* value) { m_totalRecommendationCountHasBeenSet = true; m_totalRecommendationCount.assign(value); } /** *The aggregate number of Savings Plans recommendations that exist for your * account.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithTotalRecommendationCount(const Aws::String& value) { SetTotalRecommendationCount(value); return *this;} /** *The aggregate number of Savings Plans recommendations that exist for your * account.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithTotalRecommendationCount(Aws::String&& value) { SetTotalRecommendationCount(std::move(value)); return *this;} /** *The aggregate number of Savings Plans recommendations that exist for your * account.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithTotalRecommendationCount(const char* value) { SetTotalRecommendationCount(value); return *this;} /** *The recommended Savings Plans cost on a daily (24 hourly) basis.
*/ inline const Aws::String& GetDailyCommitmentToPurchase() const{ return m_dailyCommitmentToPurchase; } /** *The recommended Savings Plans cost on a daily (24 hourly) basis.
*/ inline bool DailyCommitmentToPurchaseHasBeenSet() const { return m_dailyCommitmentToPurchaseHasBeenSet; } /** *The recommended Savings Plans cost on a daily (24 hourly) basis.
*/ inline void SetDailyCommitmentToPurchase(const Aws::String& value) { m_dailyCommitmentToPurchaseHasBeenSet = true; m_dailyCommitmentToPurchase = value; } /** *The recommended Savings Plans cost on a daily (24 hourly) basis.
*/ inline void SetDailyCommitmentToPurchase(Aws::String&& value) { m_dailyCommitmentToPurchaseHasBeenSet = true; m_dailyCommitmentToPurchase = std::move(value); } /** *The recommended Savings Plans cost on a daily (24 hourly) basis.
*/ inline void SetDailyCommitmentToPurchase(const char* value) { m_dailyCommitmentToPurchaseHasBeenSet = true; m_dailyCommitmentToPurchase.assign(value); } /** *The recommended Savings Plans cost on a daily (24 hourly) basis.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithDailyCommitmentToPurchase(const Aws::String& value) { SetDailyCommitmentToPurchase(value); return *this;} /** *The recommended Savings Plans cost on a daily (24 hourly) basis.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithDailyCommitmentToPurchase(Aws::String&& value) { SetDailyCommitmentToPurchase(std::move(value)); return *this;} /** *The recommended Savings Plans cost on a daily (24 hourly) basis.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithDailyCommitmentToPurchase(const char* value) { SetDailyCommitmentToPurchase(value); return *this;} /** *The recommended hourly commitment that's based on the recommendation * parameters.
*/ inline const Aws::String& GetHourlyCommitmentToPurchase() const{ return m_hourlyCommitmentToPurchase; } /** *The recommended hourly commitment that's based on the recommendation * parameters.
*/ inline bool HourlyCommitmentToPurchaseHasBeenSet() const { return m_hourlyCommitmentToPurchaseHasBeenSet; } /** *The recommended hourly commitment that's based on the recommendation * parameters.
*/ inline void SetHourlyCommitmentToPurchase(const Aws::String& value) { m_hourlyCommitmentToPurchaseHasBeenSet = true; m_hourlyCommitmentToPurchase = value; } /** *The recommended hourly commitment that's based on the recommendation * parameters.
*/ inline void SetHourlyCommitmentToPurchase(Aws::String&& value) { m_hourlyCommitmentToPurchaseHasBeenSet = true; m_hourlyCommitmentToPurchase = std::move(value); } /** *The recommended hourly commitment that's based on the recommendation * parameters.
*/ inline void SetHourlyCommitmentToPurchase(const char* value) { m_hourlyCommitmentToPurchaseHasBeenSet = true; m_hourlyCommitmentToPurchase.assign(value); } /** *The recommended hourly commitment that's based on the recommendation * parameters.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithHourlyCommitmentToPurchase(const Aws::String& value) { SetHourlyCommitmentToPurchase(value); return *this;} /** *The recommended hourly commitment that's based on the recommendation * parameters.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithHourlyCommitmentToPurchase(Aws::String&& value) { SetHourlyCommitmentToPurchase(std::move(value)); return *this;} /** *The recommended hourly commitment that's based on the recommendation * parameters.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithHourlyCommitmentToPurchase(const char* value) { SetHourlyCommitmentToPurchase(value); return *this;} /** *The estimated savings relative to the total cost of On-Demand usage, over the
* lookback period. This is calculated as estimatedSavingsAmount
/
* CurrentOnDemandSpend
*100.
The estimated savings relative to the total cost of On-Demand usage, over the
* lookback period. This is calculated as estimatedSavingsAmount
/
* CurrentOnDemandSpend
*100.
The estimated savings relative to the total cost of On-Demand usage, over the
* lookback period. This is calculated as estimatedSavingsAmount
/
* CurrentOnDemandSpend
*100.
The estimated savings relative to the total cost of On-Demand usage, over the
* lookback period. This is calculated as estimatedSavingsAmount
/
* CurrentOnDemandSpend
*100.
The estimated savings relative to the total cost of On-Demand usage, over the
* lookback period. This is calculated as estimatedSavingsAmount
/
* CurrentOnDemandSpend
*100.
The estimated savings relative to the total cost of On-Demand usage, over the
* lookback period. This is calculated as estimatedSavingsAmount
/
* CurrentOnDemandSpend
*100.
The estimated savings relative to the total cost of On-Demand usage, over the
* lookback period. This is calculated as estimatedSavingsAmount
/
* CurrentOnDemandSpend
*100.
The estimated savings relative to the total cost of On-Demand usage, over the
* lookback period. This is calculated as estimatedSavingsAmount
/
* CurrentOnDemandSpend
*100.
The estimated monthly savings amount that's based on the recommended Savings * Plans purchase.
*/ inline const Aws::String& GetEstimatedMonthlySavingsAmount() const{ return m_estimatedMonthlySavingsAmount; } /** *The estimated monthly savings amount that's based on the recommended Savings * Plans purchase.
*/ inline bool EstimatedMonthlySavingsAmountHasBeenSet() const { return m_estimatedMonthlySavingsAmountHasBeenSet; } /** *The estimated monthly savings amount that's based on the recommended Savings * Plans purchase.
*/ inline void SetEstimatedMonthlySavingsAmount(const Aws::String& value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount = value; } /** *The estimated monthly savings amount that's based on the recommended Savings * Plans purchase.
*/ inline void SetEstimatedMonthlySavingsAmount(Aws::String&& value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount = std::move(value); } /** *The estimated monthly savings amount that's based on the recommended Savings * Plans purchase.
*/ inline void SetEstimatedMonthlySavingsAmount(const char* value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount.assign(value); } /** *The estimated monthly savings amount that's based on the recommended Savings * Plans purchase.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedMonthlySavingsAmount(const Aws::String& value) { SetEstimatedMonthlySavingsAmount(value); return *this;} /** *The estimated monthly savings amount that's based on the recommended Savings * Plans purchase.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedMonthlySavingsAmount(Aws::String&& value) { SetEstimatedMonthlySavingsAmount(std::move(value)); return *this;} /** *The estimated monthly savings amount that's based on the recommended Savings * Plans purchase.
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedMonthlySavingsAmount(const char* value) { SetEstimatedMonthlySavingsAmount(value); return *this;} /** *The estimated On-Demand costs you expect with no additional commitment. It's * based on your usage of the selected time period and the Savings Plans you own. *
*/ inline const Aws::String& GetEstimatedOnDemandCostWithCurrentCommitment() const{ return m_estimatedOnDemandCostWithCurrentCommitment; } /** *The estimated On-Demand costs you expect with no additional commitment. It's * based on your usage of the selected time period and the Savings Plans you own. *
*/ inline bool EstimatedOnDemandCostWithCurrentCommitmentHasBeenSet() const { return m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet; } /** *The estimated On-Demand costs you expect with no additional commitment. It's * based on your usage of the selected time period and the Savings Plans you own. *
*/ inline void SetEstimatedOnDemandCostWithCurrentCommitment(const Aws::String& value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true; m_estimatedOnDemandCostWithCurrentCommitment = value; } /** *The estimated On-Demand costs you expect with no additional commitment. It's * based on your usage of the selected time period and the Savings Plans you own. *
*/ inline void SetEstimatedOnDemandCostWithCurrentCommitment(Aws::String&& value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true; m_estimatedOnDemandCostWithCurrentCommitment = std::move(value); } /** *The estimated On-Demand costs you expect with no additional commitment. It's * based on your usage of the selected time period and the Savings Plans you own. *
*/ inline void SetEstimatedOnDemandCostWithCurrentCommitment(const char* value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true; m_estimatedOnDemandCostWithCurrentCommitment.assign(value); } /** *The estimated On-Demand costs you expect with no additional commitment. It's * based on your usage of the selected time period and the Savings Plans you own. *
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedOnDemandCostWithCurrentCommitment(const Aws::String& value) { SetEstimatedOnDemandCostWithCurrentCommitment(value); return *this;} /** *The estimated On-Demand costs you expect with no additional commitment. It's * based on your usage of the selected time period and the Savings Plans you own. *
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedOnDemandCostWithCurrentCommitment(Aws::String&& value) { SetEstimatedOnDemandCostWithCurrentCommitment(std::move(value)); return *this;} /** *The estimated On-Demand costs you expect with no additional commitment. It's * based on your usage of the selected time period and the Savings Plans you own. *
*/ inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedOnDemandCostWithCurrentCommitment(const char* value) { SetEstimatedOnDemandCostWithCurrentCommitment(value); return *this;} private: Aws::String m_estimatedROI; bool m_estimatedROIHasBeenSet = false; Aws::String m_currencyCode; bool m_currencyCodeHasBeenSet = false; Aws::String m_estimatedTotalCost; bool m_estimatedTotalCostHasBeenSet = false; Aws::String m_currentOnDemandSpend; bool m_currentOnDemandSpendHasBeenSet = false; Aws::String m_estimatedSavingsAmount; bool m_estimatedSavingsAmountHasBeenSet = false; Aws::String m_totalRecommendationCount; bool m_totalRecommendationCountHasBeenSet = false; Aws::String m_dailyCommitmentToPurchase; bool m_dailyCommitmentToPurchaseHasBeenSet = false; Aws::String m_hourlyCommitmentToPurchase; bool m_hourlyCommitmentToPurchaseHasBeenSet = false; Aws::String m_estimatedSavingsPercentage; bool m_estimatedSavingsPercentageHasBeenSet = false; Aws::String m_estimatedMonthlySavingsAmount; bool m_estimatedMonthlySavingsAmountHasBeenSet = false; Aws::String m_estimatedOnDemandCostWithCurrentCommitment; bool m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws