7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace CostExplorer {
42 template <
typename EstimatedROIT = Aws::String>
44 m_estimatedROIHasBeenSet =
true;
45 m_estimatedROI = std::forward<EstimatedROIT>(value);
47 template <
typename EstimatedROIT = Aws::String>
61 template <
typename CurrencyCodeT = Aws::String>
63 m_currencyCodeHasBeenSet =
true;
64 m_currencyCode = std::forward<CurrencyCodeT>(value);
66 template <
typename CurrencyCodeT = Aws::String>
81 template <
typename EstimatedTotalCostT = Aws::String>
83 m_estimatedTotalCostHasBeenSet =
true;
84 m_estimatedTotalCost = std::forward<EstimatedTotalCostT>(value);
86 template <
typename EstimatedTotalCostT = Aws::String>
100 template <
typename CurrentOnDemandSpendT = Aws::String>
102 m_currentOnDemandSpendHasBeenSet =
true;
103 m_currentOnDemandSpend = std::forward<CurrentOnDemandSpendT>(value);
105 template <
typename CurrentOnDemandSpendT = Aws::String>
119 template <
typename EstimatedSavingsAmountT = Aws::String>
121 m_estimatedSavingsAmountHasBeenSet =
true;
122 m_estimatedSavingsAmount = std::forward<EstimatedSavingsAmountT>(value);
124 template <
typename EstimatedSavingsAmountT = Aws::String>
138 template <
typename TotalRecommendationCountT = Aws::String>
140 m_totalRecommendationCountHasBeenSet =
true;
141 m_totalRecommendationCount = std::forward<TotalRecommendationCountT>(value);
143 template <
typename TotalRecommendationCountT = Aws::String>
156 template <
typename DailyCommitmentToPurchaseT = Aws::String>
158 m_dailyCommitmentToPurchaseHasBeenSet =
true;
159 m_dailyCommitmentToPurchase = std::forward<DailyCommitmentToPurchaseT>(value);
161 template <
typename DailyCommitmentToPurchaseT = Aws::String>
175 template <
typename HourlyCommitmentToPurchaseT = Aws::String>
177 m_hourlyCommitmentToPurchaseHasBeenSet =
true;
178 m_hourlyCommitmentToPurchase = std::forward<HourlyCommitmentToPurchaseT>(value);
180 template <
typename HourlyCommitmentToPurchaseT = Aws::String>
195 template <
typename EstimatedSavingsPercentageT = Aws::String>
197 m_estimatedSavingsPercentageHasBeenSet =
true;
198 m_estimatedSavingsPercentage = std::forward<EstimatedSavingsPercentageT>(value);
200 template <
typename EstimatedSavingsPercentageT = Aws::String>
214 template <
typename EstimatedMonthlySavingsAmountT = Aws::String>
216 m_estimatedMonthlySavingsAmountHasBeenSet =
true;
217 m_estimatedMonthlySavingsAmount = std::forward<EstimatedMonthlySavingsAmountT>(value);
219 template <
typename EstimatedMonthlySavingsAmountT = Aws::String>
234 return m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet;
236 template <
typename EstimatedOnDemandCostWithCurrentCommitmentT = Aws::String>
238 m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet =
true;
239 m_estimatedOnDemandCostWithCurrentCommitment = std::forward<EstimatedOnDemandCostWithCurrentCommitmentT>(value);
241 template <
typename EstimatedOnDemandCostWithCurrentCommitmentT = Aws::String>
243 EstimatedOnDemandCostWithCurrentCommitmentT&& value) {
269 Aws::String m_estimatedOnDemandCostWithCurrentCommitment;
270 bool m_estimatedROIHasBeenSet =
false;
271 bool m_currencyCodeHasBeenSet =
false;
272 bool m_estimatedTotalCostHasBeenSet =
false;
273 bool m_currentOnDemandSpendHasBeenSet =
false;
274 bool m_estimatedSavingsAmountHasBeenSet =
false;
275 bool m_totalRecommendationCountHasBeenSet =
false;
276 bool m_dailyCommitmentToPurchaseHasBeenSet =
false;
277 bool m_hourlyCommitmentToPurchaseHasBeenSet =
false;
278 bool m_estimatedSavingsPercentageHasBeenSet =
false;
279 bool m_estimatedMonthlySavingsAmountHasBeenSet =
false;
280 bool m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet =
false;
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationSummary()=default
void SetDailyCommitmentToPurchase(DailyCommitmentToPurchaseT &&value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT &&value)
const Aws::String & GetCurrentOnDemandSpend() const
const Aws::String & GetHourlyCommitmentToPurchase() const
const Aws::String & GetCurrencyCode() const
bool CurrencyCodeHasBeenSet() const
SavingsPlansPurchaseRecommendationSummary & WithCurrentOnDemandSpend(CurrentOnDemandSpendT &&value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedSavingsPercentage(EstimatedSavingsPercentageT &&value)
void SetEstimatedTotalCost(EstimatedTotalCostT &&value)
void SetCurrentOnDemandSpend(CurrentOnDemandSpendT &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
SavingsPlansPurchaseRecommendationSummary & WithTotalRecommendationCount(TotalRecommendationCountT &&value)
void SetEstimatedROI(EstimatedROIT &&value)
SavingsPlansPurchaseRecommendationSummary & WithCurrencyCode(CurrencyCodeT &&value)
const Aws::String & GetTotalRecommendationCount() const
void SetEstimatedSavingsAmount(EstimatedSavingsAmountT &&value)
const Aws::String & GetEstimatedTotalCost() const
SavingsPlansPurchaseRecommendationSummary & WithEstimatedSavingsAmount(EstimatedSavingsAmountT &&value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
void SetEstimatedSavingsPercentage(EstimatedSavingsPercentageT &&value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEstimatedSavingsAmount() const
void SetEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT &&value)
bool HourlyCommitmentToPurchaseHasBeenSet() const
bool EstimatedROIHasBeenSet() const
void SetHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT &&value)
bool DailyCommitmentToPurchaseHasBeenSet() const
SavingsPlansPurchaseRecommendationSummary & WithEstimatedTotalCost(EstimatedTotalCostT &&value)
bool EstimatedSavingsPercentageHasBeenSet() const
void SetTotalRecommendationCount(TotalRecommendationCountT &&value)
bool TotalRecommendationCountHasBeenSet() const
SavingsPlansPurchaseRecommendationSummary & WithEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT &&value)
void SetCurrencyCode(CurrencyCodeT &&value)
SavingsPlansPurchaseRecommendationSummary & WithHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT &&value)
const Aws::String & GetEstimatedMonthlySavingsAmount() const
const Aws::String & GetEstimatedOnDemandCostWithCurrentCommitment() const
bool EstimatedSavingsAmountHasBeenSet() const
SavingsPlansPurchaseRecommendationSummary & WithDailyCommitmentToPurchase(DailyCommitmentToPurchaseT &&value)
const Aws::String & GetDailyCommitmentToPurchase() const
bool EstimatedMonthlySavingsAmountHasBeenSet() const
void SetEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT &&value)
const Aws::String & GetEstimatedSavingsPercentage() const
const Aws::String & GetEstimatedROI() const
SavingsPlansPurchaseRecommendationSummary & WithEstimatedROI(EstimatedROIT &&value)
bool CurrentOnDemandSpendHasBeenSet() const
bool EstimatedOnDemandCostWithCurrentCommitmentHasBeenSet() const
bool EstimatedTotalCostHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue