7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/SavingsPlansDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
61 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
76 inline void SetUpfrontCost(
const char* value) { m_upfrontCostHasBeenSet =
true; m_upfrontCost.assign(value); }
92 inline void SetEstimatedROI(
const char* value) { m_estimatedROIHasBeenSet =
true; m_estimatedROI.assign(value); }
107 inline void SetCurrencyCode(
const char* value) { m_currencyCodeHasBeenSet =
true; m_currencyCode.assign(value); }
122 inline void SetEstimatedSPCost(
const char* value) { m_estimatedSPCostHasBeenSet =
true; m_estimatedSPCost.assign(value); }
137 inline void SetEstimatedOnDemandCost(
const char* value) { m_estimatedOnDemandCostHasBeenSet =
true; m_estimatedOnDemandCost.assign(value); }
168 inline void SetEstimatedSavingsAmount(
const char* value) { m_estimatedSavingsAmountHasBeenSet =
true; m_estimatedSavingsAmount.assign(value); }
287 inline void SetRecommendationDetailId(
const char* value) { m_recommendationDetailIdHasBeenSet =
true; m_recommendationDetailId.assign(value); }
295 bool m_savingsPlansDetailsHasBeenSet =
false;
298 bool m_accountIdHasBeenSet =
false;
301 bool m_upfrontCostHasBeenSet =
false;
304 bool m_estimatedROIHasBeenSet =
false;
307 bool m_currencyCodeHasBeenSet =
false;
310 bool m_estimatedSPCostHasBeenSet =
false;
313 bool m_estimatedOnDemandCostHasBeenSet =
false;
315 Aws::String m_estimatedOnDemandCostWithCurrentCommitment;
316 bool m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet =
false;
319 bool m_estimatedSavingsAmountHasBeenSet =
false;
322 bool m_estimatedSavingsPercentageHasBeenSet =
false;
325 bool m_hourlyCommitmentToPurchaseHasBeenSet =
false;
328 bool m_estimatedAverageUtilizationHasBeenSet =
false;
331 bool m_estimatedMonthlySavingsAmountHasBeenSet =
false;
334 bool m_currentMinimumHourlyOnDemandSpendHasBeenSet =
false;
337 bool m_currentMaximumHourlyOnDemandSpendHasBeenSet =
false;
340 bool m_currentAverageHourlyOnDemandSpendHasBeenSet =
false;
343 bool m_recommendationDetailIdHasBeenSet =
false;
void SetUpfrontCost(Aws::String &&value)
void SetEstimatedSavingsPercentage(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithCurrentAverageHourlyOnDemandSpend(const Aws::String &value)
void SetSavingsPlansDetails(SavingsPlansDetails &&value)
SavingsPlansPurchaseRecommendationDetail & WithCurrentAverageHourlyOnDemandSpend(const char *value)
void SetEstimatedOnDemandCostWithCurrentCommitment(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedOnDemandCost(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedOnDemandCostWithCurrentCommitment(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithUpfrontCost(Aws::String &&value)
void SetHourlyCommitmentToPurchase(const Aws::String &value)
void SetEstimatedOnDemandCost(const char *value)
void SetRecommendationDetailId(const char *value)
void SetRecommendationDetailId(const Aws::String &value)
const Aws::String & GetHourlyCommitmentToPurchase() const
void SetCurrentMinimumHourlyOnDemandSpend(Aws::String &&value)
bool EstimatedOnDemandCostWithCurrentCommitmentHasBeenSet() const
void SetEstimatedSPCost(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSavingsAmount(const char *value)
const Aws::String & GetEstimatedAverageUtilization() const
SavingsPlansPurchaseRecommendationDetail & WithCurrencyCode(const char *value)
bool CurrentMinimumHourlyOnDemandSpendHasBeenSet() const
void SetEstimatedAverageUtilization(const Aws::String &value)
const SavingsPlansDetails & GetSavingsPlansDetails() const
void SetCurrentAverageHourlyOnDemandSpend(const Aws::String &value)
void SetEstimatedSavingsAmount(const char *value)
bool AccountIdHasBeenSet() const
void SetEstimatedROI(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithRecommendationDetailId(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedOnDemandCost(const Aws::String &value)
void SetHourlyCommitmentToPurchase(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSavingsPercentage(const Aws::String &value)
const Aws::String & GetEstimatedSavingsPercentage() const
void SetEstimatedSavingsPercentage(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedAverageUtilization(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithHourlyCommitmentToPurchase(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSPCost(const Aws::String &value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationDetail(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedROI(Aws::String &&value)
void SetUpfrontCost(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithCurrentMaximumHourlyOnDemandSpend(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithCurrencyCode(const Aws::String &value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedOnDemandCostWithCurrentCommitment(Aws::String &&value)
void SetCurrentAverageHourlyOnDemandSpend(const char *value)
void SetEstimatedMonthlySavingsAmount(const char *value)
void SetEstimatedAverageUtilization(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedOnDemandCostWithCurrentCommitment(const Aws::String &value)
bool UpfrontCostHasBeenSet() const
void SetCurrentMinimumHourlyOnDemandSpend(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithCurrentAverageHourlyOnDemandSpend(Aws::String &&value)
void SetCurrencyCode(const char *value)
const Aws::String & GetEstimatedMonthlySavingsAmount() const
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSavingsAmount(const Aws::String &value)
void SetEstimatedMonthlySavingsAmount(const Aws::String &value)
const Aws::String & GetCurrentMinimumHourlyOnDemandSpend() const
void SetUpfrontCost(const char *value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationDetail()
void SetCurrentAverageHourlyOnDemandSpend(Aws::String &&value)
const Aws::String & GetRecommendationDetailId() const
SavingsPlansPurchaseRecommendationDetail & WithCurrentMaximumHourlyOnDemandSpend(const Aws::String &value)
void SetEstimatedROI(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithUpfrontCost(const Aws::String &value)
void SetRecommendationDetailId(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSPCost(const char *value)
bool SavingsPlansDetailsHasBeenSet() const
SavingsPlansPurchaseRecommendationDetail & WithRecommendationDetailId(const char *value)
void SetEstimatedSavingsAmount(const Aws::String &value)
bool EstimatedOnDemandCostHasBeenSet() const
SavingsPlansPurchaseRecommendationDetail & WithUpfrontCost(const char *value)
const Aws::String & GetUpfrontCost() const
SavingsPlansPurchaseRecommendationDetail & WithEstimatedROI(const Aws::String &value)
void SetEstimatedAverageUtilization(const char *value)
void SetEstimatedOnDemandCost(Aws::String &&value)
void SetEstimatedMonthlySavingsAmount(Aws::String &&value)
const Aws::String & GetEstimatedSPCost() const
SavingsPlansPurchaseRecommendationDetail & WithEstimatedOnDemandCost(Aws::String &&value)
bool CurrentAverageHourlyOnDemandSpendHasBeenSet() const
SavingsPlansPurchaseRecommendationDetail & WithEstimatedMonthlySavingsAmount(Aws::String &&value)
const Aws::String & GetCurrentMaximumHourlyOnDemandSpend() const
SavingsPlansPurchaseRecommendationDetail & WithCurrentMinimumHourlyOnDemandSpend(const char *value)
void SetHourlyCommitmentToPurchase(Aws::String &&value)
void SetEstimatedOnDemandCostWithCurrentCommitment(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSavingsAmount(Aws::String &&value)
const Aws::String & GetEstimatedSavingsAmount() const
void SetEstimatedSPCost(const char *value)
const Aws::String & GetEstimatedOnDemandCost() const
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSavingsPercentage(const char *value)
bool RecommendationDetailIdHasBeenSet() const
void SetEstimatedSavingsPercentage(Aws::String &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
SavingsPlansPurchaseRecommendationDetail & WithCurrentMinimumHourlyOnDemandSpend(Aws::String &&value)
bool CurrencyCodeHasBeenSet() const
void SetCurrentMaximumHourlyOnDemandSpend(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithRecommendationDetailId(const Aws::String &value)
void SetCurrentMinimumHourlyOnDemandSpend(const Aws::String &value)
void SetCurrencyCode(const Aws::String &value)
void SetEstimatedSPCost(Aws::String &&value)
bool EstimatedSPCostHasBeenSet() const
void SetAccountId(Aws::String &&value)
bool EstimatedSavingsAmountHasBeenSet() const
const Aws::String & GetEstimatedROI() const
const Aws::String & GetAccountId() const
void SetCurrentMaximumHourlyOnDemandSpend(const char *value)
const Aws::String & GetCurrencyCode() const
bool HourlyCommitmentToPurchaseHasBeenSet() const
void SetCurrentMaximumHourlyOnDemandSpend(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedAverageUtilization(const Aws::String &value)
bool EstimatedAverageUtilizationHasBeenSet() const
bool CurrentMaximumHourlyOnDemandSpendHasBeenSet() const
void SetEstimatedOnDemandCostWithCurrentCommitment(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithAccountId(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedMonthlySavingsAmount(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithHourlyCommitmentToPurchase(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithSavingsPlansDetails(SavingsPlansDetails &&value)
bool EstimatedROIHasBeenSet() const
SavingsPlansPurchaseRecommendationDetail & WithCurrentMinimumHourlyOnDemandSpend(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithAccountId(const Aws::String &value)
void SetAccountId(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedROI(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSPCost(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithHourlyCommitmentToPurchase(Aws::String &&value)
void SetEstimatedOnDemandCost(const Aws::String &value)
void SetEstimatedSavingsAmount(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedMonthlySavingsAmount(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithCurrencyCode(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSavingsPercentage(Aws::String &&value)
bool EstimatedMonthlySavingsAmountHasBeenSet() const
void SetEstimatedROI(const Aws::String &value)
void SetCurrencyCode(Aws::String &&value)
void SetAccountId(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithSavingsPlansDetails(const SavingsPlansDetails &value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedAverageUtilization(Aws::String &&value)
void SetSavingsPlansDetails(const SavingsPlansDetails &value)
const Aws::String & GetCurrentAverageHourlyOnDemandSpend() const
SavingsPlansPurchaseRecommendationDetail & WithAccountId(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithCurrentMaximumHourlyOnDemandSpend(const char *value)
bool EstimatedSavingsPercentageHasBeenSet() const
const Aws::String & GetEstimatedOnDemandCostWithCurrentCommitment() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue