7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/SavingsPlansDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CostExplorer {
41 template <
typename SavingsPlansDetailsT = SavingsPlansDetails>
43 m_savingsPlansDetailsHasBeenSet =
true;
44 m_savingsPlansDetails = std::forward<SavingsPlansDetailsT>(value);
46 template <
typename SavingsPlansDetailsT = SavingsPlansDetails>
59 template <
typename AccountIdT = Aws::String>
61 m_accountIdHasBeenSet =
true;
62 m_accountId = std::forward<AccountIdT>(value);
64 template <
typename AccountIdT = Aws::String>
78 template <
typename UpfrontCostT = Aws::String>
80 m_upfrontCostHasBeenSet =
true;
81 m_upfrontCost = std::forward<UpfrontCostT>(value);
83 template <
typename UpfrontCostT = Aws::String>
98 template <
typename EstimatedROIT = Aws::String>
100 m_estimatedROIHasBeenSet =
true;
101 m_estimatedROI = std::forward<EstimatedROIT>(value);
103 template <
typename EstimatedROIT = Aws::String>
117 template <
typename CurrencyCodeT = Aws::String>
119 m_currencyCodeHasBeenSet =
true;
120 m_currencyCode = std::forward<CurrencyCodeT>(value);
122 template <
typename CurrencyCodeT = Aws::String>
136 template <
typename EstimatedSPCostT = Aws::String>
138 m_estimatedSPCostHasBeenSet =
true;
139 m_estimatedSPCost = std::forward<EstimatedSPCostT>(value);
141 template <
typename EstimatedSPCostT = Aws::String>
155 template <
typename EstimatedOnDemandCostT = Aws::String>
157 m_estimatedOnDemandCostHasBeenSet =
true;
158 m_estimatedOnDemandCost = std::forward<EstimatedOnDemandCostT>(value);
160 template <
typename EstimatedOnDemandCostT = Aws::String>
175 return m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet;
177 template <
typename EstimatedOnDemandCostWithCurrentCommitmentT = Aws::String>
179 m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet =
true;
180 m_estimatedOnDemandCostWithCurrentCommitment = std::forward<EstimatedOnDemandCostWithCurrentCommitmentT>(value);
182 template <
typename EstimatedOnDemandCostWithCurrentCommitmentT = Aws::String>
184 EstimatedOnDemandCostWithCurrentCommitmentT&& value) {
197 template <
typename EstimatedSavingsAmountT = Aws::String>
199 m_estimatedSavingsAmountHasBeenSet =
true;
200 m_estimatedSavingsAmount = std::forward<EstimatedSavingsAmountT>(value);
202 template <
typename EstimatedSavingsAmountT = Aws::String>
216 template <
typename EstimatedSavingsPercentageT = Aws::String>
218 m_estimatedSavingsPercentageHasBeenSet =
true;
219 m_estimatedSavingsPercentage = std::forward<EstimatedSavingsPercentageT>(value);
221 template <
typename EstimatedSavingsPercentageT = Aws::String>
235 template <
typename HourlyCommitmentToPurchaseT = Aws::String>
237 m_hourlyCommitmentToPurchaseHasBeenSet =
true;
238 m_hourlyCommitmentToPurchase = std::forward<HourlyCommitmentToPurchaseT>(value);
240 template <
typename HourlyCommitmentToPurchaseT = Aws::String>
253 template <
typename EstimatedAverageUtilizationT = Aws::String>
255 m_estimatedAverageUtilizationHasBeenSet =
true;
256 m_estimatedAverageUtilization = std::forward<EstimatedAverageUtilizationT>(value);
258 template <
typename EstimatedAverageUtilizationT = Aws::String>
272 template <
typename EstimatedMonthlySavingsAmountT = Aws::String>
274 m_estimatedMonthlySavingsAmountHasBeenSet =
true;
275 m_estimatedMonthlySavingsAmount = std::forward<EstimatedMonthlySavingsAmountT>(value);
277 template <
typename EstimatedMonthlySavingsAmountT = Aws::String>
291 template <
typename CurrentMinimumHourlyOnDemandSpendT = Aws::String>
293 m_currentMinimumHourlyOnDemandSpendHasBeenSet =
true;
294 m_currentMinimumHourlyOnDemandSpend = std::forward<CurrentMinimumHourlyOnDemandSpendT>(value);
296 template <
typename CurrentMinimumHourlyOnDemandSpendT = Aws::String>
310 template <
typename CurrentMaximumHourlyOnDemandSpendT = Aws::String>
312 m_currentMaximumHourlyOnDemandSpendHasBeenSet =
true;
313 m_currentMaximumHourlyOnDemandSpend = std::forward<CurrentMaximumHourlyOnDemandSpendT>(value);
315 template <
typename CurrentMaximumHourlyOnDemandSpendT = Aws::String>
329 template <
typename CurrentAverageHourlyOnDemandSpendT = Aws::String>
331 m_currentAverageHourlyOnDemandSpendHasBeenSet =
true;
332 m_currentAverageHourlyOnDemandSpend = std::forward<CurrentAverageHourlyOnDemandSpendT>(value);
334 template <
typename CurrentAverageHourlyOnDemandSpendT = Aws::String>
348 template <
typename RecommendationDetailIdT = Aws::String>
350 m_recommendationDetailIdHasBeenSet =
true;
351 m_recommendationDetailId = std::forward<RecommendationDetailIdT>(value);
353 template <
typename RecommendationDetailIdT = Aws::String>
374 Aws::String m_estimatedOnDemandCostWithCurrentCommitment;
393 bool m_savingsPlansDetailsHasBeenSet =
false;
394 bool m_accountIdHasBeenSet =
false;
395 bool m_upfrontCostHasBeenSet =
false;
396 bool m_estimatedROIHasBeenSet =
false;
397 bool m_currencyCodeHasBeenSet =
false;
398 bool m_estimatedSPCostHasBeenSet =
false;
399 bool m_estimatedOnDemandCostHasBeenSet =
false;
400 bool m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet =
false;
401 bool m_estimatedSavingsAmountHasBeenSet =
false;
402 bool m_estimatedSavingsPercentageHasBeenSet =
false;
403 bool m_hourlyCommitmentToPurchaseHasBeenSet =
false;
404 bool m_estimatedAverageUtilizationHasBeenSet =
false;
405 bool m_estimatedMonthlySavingsAmountHasBeenSet =
false;
406 bool m_currentMinimumHourlyOnDemandSpendHasBeenSet =
false;
407 bool m_currentMaximumHourlyOnDemandSpendHasBeenSet =
false;
408 bool m_currentAverageHourlyOnDemandSpendHasBeenSet =
false;
409 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