7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/SavingsPlansDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename SavingsPlansDetailsT = SavingsPlansDetails>
48 void SetSavingsPlansDetails(SavingsPlansDetailsT&& value) { m_savingsPlansDetailsHasBeenSet =
true; m_savingsPlansDetails = std::forward<SavingsPlansDetailsT>(value); }
49 template<
typename SavingsPlansDetailsT = SavingsPlansDetails>
59 template<
typename AccountIdT = Aws::String>
60 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
61 template<
typename AccountIdT = Aws::String>
72 template<
typename UpfrontCostT = Aws::String>
73 void SetUpfrontCost(UpfrontCostT&& value) { m_upfrontCostHasBeenSet =
true; m_upfrontCost = std::forward<UpfrontCostT>(value); }
74 template<
typename UpfrontCostT = Aws::String>
86 template<
typename EstimatedROIT = Aws::String>
87 void SetEstimatedROI(EstimatedROIT&& value) { m_estimatedROIHasBeenSet =
true; m_estimatedROI = std::forward<EstimatedROIT>(value); }
88 template<
typename EstimatedROIT = Aws::String>
99 template<
typename CurrencyCodeT = Aws::String>
100 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet =
true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
101 template<
typename CurrencyCodeT = Aws::String>
112 template<
typename EstimatedSPCostT = Aws::String>
113 void SetEstimatedSPCost(EstimatedSPCostT&& value) { m_estimatedSPCostHasBeenSet =
true; m_estimatedSPCost = std::forward<EstimatedSPCostT>(value); }
114 template<
typename EstimatedSPCostT = Aws::String>
125 template<
typename EstimatedOnDemandCostT = Aws::String>
126 void SetEstimatedOnDemandCost(EstimatedOnDemandCostT&& value) { m_estimatedOnDemandCostHasBeenSet =
true; m_estimatedOnDemandCost = std::forward<EstimatedOnDemandCostT>(value); }
127 template<
typename EstimatedOnDemandCostT = Aws::String>
139 template<
typename EstimatedOnDemandCostWithCurrentCommitmentT = Aws::String>
140 void SetEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT&& value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet =
true; m_estimatedOnDemandCostWithCurrentCommitment = std::forward<EstimatedOnDemandCostWithCurrentCommitmentT>(value); }
141 template<
typename EstimatedOnDemandCostWithCurrentCommitmentT = Aws::String>
152 template<
typename EstimatedSavingsAmountT = Aws::String>
153 void SetEstimatedSavingsAmount(EstimatedSavingsAmountT&& value) { m_estimatedSavingsAmountHasBeenSet =
true; m_estimatedSavingsAmount = std::forward<EstimatedSavingsAmountT>(value); }
154 template<
typename EstimatedSavingsAmountT = Aws::String>
165 template<
typename EstimatedSavingsPercentageT = Aws::String>
166 void SetEstimatedSavingsPercentage(EstimatedSavingsPercentageT&& value) { m_estimatedSavingsPercentageHasBeenSet =
true; m_estimatedSavingsPercentage = std::forward<EstimatedSavingsPercentageT>(value); }
167 template<
typename EstimatedSavingsPercentageT = Aws::String>
178 template<
typename HourlyCommitmentToPurchaseT = Aws::String>
179 void SetHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT&& value) { m_hourlyCommitmentToPurchaseHasBeenSet =
true; m_hourlyCommitmentToPurchase = std::forward<HourlyCommitmentToPurchaseT>(value); }
180 template<
typename HourlyCommitmentToPurchaseT = Aws::String>
190 template<
typename EstimatedAverageUtilizationT = Aws::String>
191 void SetEstimatedAverageUtilization(EstimatedAverageUtilizationT&& value) { m_estimatedAverageUtilizationHasBeenSet =
true; m_estimatedAverageUtilization = std::forward<EstimatedAverageUtilizationT>(value); }
192 template<
typename EstimatedAverageUtilizationT = Aws::String>
203 template<
typename EstimatedMonthlySavingsAmountT = Aws::String>
204 void SetEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT&& value) { m_estimatedMonthlySavingsAmountHasBeenSet =
true; m_estimatedMonthlySavingsAmount = std::forward<EstimatedMonthlySavingsAmountT>(value); }
205 template<
typename EstimatedMonthlySavingsAmountT = Aws::String>
216 template<
typename CurrentMinimumHourlyOnDemandSpendT = Aws::String>
217 void SetCurrentMinimumHourlyOnDemandSpend(CurrentMinimumHourlyOnDemandSpendT&& value) { m_currentMinimumHourlyOnDemandSpendHasBeenSet =
true; m_currentMinimumHourlyOnDemandSpend = std::forward<CurrentMinimumHourlyOnDemandSpendT>(value); }
218 template<
typename CurrentMinimumHourlyOnDemandSpendT = Aws::String>
229 template<
typename CurrentMaximumHourlyOnDemandSpendT = Aws::String>
230 void SetCurrentMaximumHourlyOnDemandSpend(CurrentMaximumHourlyOnDemandSpendT&& value) { m_currentMaximumHourlyOnDemandSpendHasBeenSet =
true; m_currentMaximumHourlyOnDemandSpend = std::forward<CurrentMaximumHourlyOnDemandSpendT>(value); }
231 template<
typename CurrentMaximumHourlyOnDemandSpendT = Aws::String>
242 template<
typename CurrentAverageHourlyOnDemandSpendT = Aws::String>
243 void SetCurrentAverageHourlyOnDemandSpend(CurrentAverageHourlyOnDemandSpendT&& value) { m_currentAverageHourlyOnDemandSpendHasBeenSet =
true; m_currentAverageHourlyOnDemandSpend = std::forward<CurrentAverageHourlyOnDemandSpendT>(value); }
244 template<
typename CurrentAverageHourlyOnDemandSpendT = Aws::String>
255 template<
typename RecommendationDetailIdT = Aws::String>
256 void SetRecommendationDetailId(RecommendationDetailIdT&& value) { m_recommendationDetailIdHasBeenSet =
true; m_recommendationDetailId = std::forward<RecommendationDetailIdT>(value); }
257 template<
typename RecommendationDetailIdT = Aws::String>
263 bool m_savingsPlansDetailsHasBeenSet =
false;
266 bool m_accountIdHasBeenSet =
false;
269 bool m_upfrontCostHasBeenSet =
false;
272 bool m_estimatedROIHasBeenSet =
false;
275 bool m_currencyCodeHasBeenSet =
false;
278 bool m_estimatedSPCostHasBeenSet =
false;
281 bool m_estimatedOnDemandCostHasBeenSet =
false;
283 Aws::String m_estimatedOnDemandCostWithCurrentCommitment;
284 bool m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet =
false;
287 bool m_estimatedSavingsAmountHasBeenSet =
false;
290 bool m_estimatedSavingsPercentageHasBeenSet =
false;
293 bool m_hourlyCommitmentToPurchaseHasBeenSet =
false;
296 bool m_estimatedAverageUtilizationHasBeenSet =
false;
299 bool m_estimatedMonthlySavingsAmountHasBeenSet =
false;
302 bool m_currentMinimumHourlyOnDemandSpendHasBeenSet =
false;
305 bool m_currentMaximumHourlyOnDemandSpendHasBeenSet =
false;
308 bool m_currentAverageHourlyOnDemandSpendHasBeenSet =
false;
311 bool m_recommendationDetailIdHasBeenSet =
false;
SavingsPlansPurchaseRecommendationDetail & WithCurrentAverageHourlyOnDemandSpend(CurrentAverageHourlyOnDemandSpendT &&value)
void SetEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT &&value)
void SetAccountId(AccountIdT &&value)
const Aws::String & GetHourlyCommitmentToPurchase() const
bool EstimatedOnDemandCostWithCurrentCommitmentHasBeenSet() const
SavingsPlansPurchaseRecommendationDetail & WithEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT &&value)
const Aws::String & GetEstimatedAverageUtilization() const
bool CurrentMinimumHourlyOnDemandSpendHasBeenSet() const
const SavingsPlansDetails & GetSavingsPlansDetails() const
bool AccountIdHasBeenSet() const
void SetCurrencyCode(CurrencyCodeT &&value)
void SetCurrentAverageHourlyOnDemandSpend(CurrentAverageHourlyOnDemandSpendT &&value)
const Aws::String & GetEstimatedSavingsPercentage() const
SavingsPlansPurchaseRecommendationDetail & WithSavingsPlansDetails(SavingsPlansDetailsT &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedAverageUtilization(EstimatedAverageUtilizationT &&value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationDetail(Aws::Utils::Json::JsonView jsonValue)
void SetEstimatedOnDemandCost(EstimatedOnDemandCostT &&value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansPurchaseRecommendationDetail & WithUpfrontCost(UpfrontCostT &&value)
bool UpfrontCostHasBeenSet() const
const Aws::String & GetEstimatedMonthlySavingsAmount() const
const Aws::String & GetCurrentMinimumHourlyOnDemandSpend() const
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSavingsAmount(EstimatedSavingsAmountT &&value)
void SetEstimatedAverageUtilization(EstimatedAverageUtilizationT &&value)
const Aws::String & GetRecommendationDetailId() const
void SetSavingsPlansDetails(SavingsPlansDetailsT &&value)
bool SavingsPlansDetailsHasBeenSet() const
SavingsPlansPurchaseRecommendationDetail & WithEstimatedOnDemandCost(EstimatedOnDemandCostT &&value)
bool EstimatedOnDemandCostHasBeenSet() const
SavingsPlansPurchaseRecommendationDetail & WithCurrentMinimumHourlyOnDemandSpend(CurrentMinimumHourlyOnDemandSpendT &&value)
const Aws::String & GetUpfrontCost() const
SavingsPlansPurchaseRecommendationDetail & WithEstimatedROI(EstimatedROIT &&value)
SavingsPlansPurchaseRecommendationDetail & WithRecommendationDetailId(RecommendationDetailIdT &&value)
void SetEstimatedSavingsAmount(EstimatedSavingsAmountT &&value)
const Aws::String & GetEstimatedSPCost() const
bool CurrentAverageHourlyOnDemandSpendHasBeenSet() const
const Aws::String & GetCurrentMaximumHourlyOnDemandSpend() const
const Aws::String & GetEstimatedSavingsAmount() const
const Aws::String & GetEstimatedOnDemandCost() const
bool RecommendationDetailIdHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
bool CurrencyCodeHasBeenSet() const
void SetCurrentMaximumHourlyOnDemandSpend(CurrentMaximumHourlyOnDemandSpendT &&value)
void SetEstimatedSPCost(EstimatedSPCostT &&value)
bool EstimatedSPCostHasBeenSet() const
bool EstimatedSavingsAmountHasBeenSet() const
const Aws::String & GetEstimatedROI() const
const Aws::String & GetAccountId() const
const Aws::String & GetCurrencyCode() const
bool HourlyCommitmentToPurchaseHasBeenSet() const
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSavingsPercentage(EstimatedSavingsPercentageT &&value)
bool EstimatedAverageUtilizationHasBeenSet() const
bool CurrentMaximumHourlyOnDemandSpendHasBeenSet() const
SavingsPlansPurchaseRecommendationDetail & WithCurrentMaximumHourlyOnDemandSpend(CurrentMaximumHourlyOnDemandSpendT &&value)
bool EstimatedROIHasBeenSet() const
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSPCost(EstimatedSPCostT &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT &&value)
void SetEstimatedROI(EstimatedROIT &&value)
SavingsPlansPurchaseRecommendationDetail & WithHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT &&value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationDetail()=default
void SetEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT &&value)
void SetUpfrontCost(UpfrontCostT &&value)
void SetCurrentMinimumHourlyOnDemandSpend(CurrentMinimumHourlyOnDemandSpendT &&value)
SavingsPlansPurchaseRecommendationDetail & WithCurrencyCode(CurrencyCodeT &&value)
bool EstimatedMonthlySavingsAmountHasBeenSet() const
void SetEstimatedSavingsPercentage(EstimatedSavingsPercentageT &&value)
const Aws::String & GetCurrentAverageHourlyOnDemandSpend() const
SavingsPlansPurchaseRecommendationDetail & WithAccountId(AccountIdT &&value)
void SetRecommendationDetailId(RecommendationDetailIdT &&value)
bool EstimatedSavingsPercentageHasBeenSet() const
const Aws::String & GetEstimatedOnDemandCostWithCurrentCommitment() const
void SetHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue