7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetSpendCoveredBySavingsPlans(
const char* value) { m_spendCoveredBySavingsPlansHasBeenSet =
true; m_spendCoveredBySavingsPlans.assign(value); }
65 inline void SetOnDemandCost(
const char* value) { m_onDemandCostHasBeenSet =
true; m_onDemandCost.assign(value); }
80 inline void SetTotalCost(
const char* value) { m_totalCostHasBeenSet =
true; m_totalCost.assign(value); }
95 inline void SetCoveragePercentage(
const char* value) { m_coveragePercentageHasBeenSet =
true; m_coveragePercentage.assign(value); }
103 bool m_spendCoveredBySavingsPlansHasBeenSet =
false;
106 bool m_onDemandCostHasBeenSet =
false;
109 bool m_totalCostHasBeenSet =
false;
112 bool m_coveragePercentageHasBeenSet =
false;
const Aws::String & GetOnDemandCost() const
void SetCoveragePercentage(Aws::String &&value)
void SetTotalCost(const char *value)
SavingsPlansCoverageData & WithSpendCoveredBySavingsPlans(Aws::String &&value)
void SetOnDemandCost(const Aws::String &value)
bool TotalCostHasBeenSet() const
SavingsPlansCoverageData & WithCoveragePercentage(Aws::String &&value)
const Aws::String & GetSpendCoveredBySavingsPlans() const
SavingsPlansCoverageData & WithOnDemandCost(const char *value)
AWS_COSTEXPLORER_API SavingsPlansCoverageData()
bool OnDemandCostHasBeenSet() const
SavingsPlansCoverageData & WithTotalCost(const Aws::String &value)
void SetSpendCoveredBySavingsPlans(Aws::String &&value)
AWS_COSTEXPLORER_API SavingsPlansCoverageData(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansCoverageData & WithCoveragePercentage(const char *value)
void SetOnDemandCost(const char *value)
void SetSpendCoveredBySavingsPlans(const char *value)
void SetTotalCost(const Aws::String &value)
AWS_COSTEXPLORER_API SavingsPlansCoverageData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCoveragePercentage(const Aws::String &value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
SavingsPlansCoverageData & WithTotalCost(Aws::String &&value)
SavingsPlansCoverageData & WithSpendCoveredBySavingsPlans(const char *value)
bool CoveragePercentageHasBeenSet() const
void SetOnDemandCost(Aws::String &&value)
void SetSpendCoveredBySavingsPlans(const Aws::String &value)
const Aws::String & GetCoveragePercentage() const
bool SpendCoveredBySavingsPlansHasBeenSet() const
SavingsPlansCoverageData & WithSpendCoveredBySavingsPlans(const Aws::String &value)
SavingsPlansCoverageData & WithOnDemandCost(Aws::String &&value)
const Aws::String & GetTotalCost() const
SavingsPlansCoverageData & WithTotalCost(const char *value)
void SetTotalCost(Aws::String &&value)
SavingsPlansCoverageData & WithOnDemandCost(const Aws::String &value)
SavingsPlansCoverageData & WithCoveragePercentage(const Aws::String &value)
void SetCoveragePercentage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue