7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename SpendCoveredBySavingsPlansT = Aws::String>
50 void SetSpendCoveredBySavingsPlans(SpendCoveredBySavingsPlansT&& value) { m_spendCoveredBySavingsPlansHasBeenSet =
true; m_spendCoveredBySavingsPlans = std::forward<SpendCoveredBySavingsPlansT>(value); }
51 template<
typename SpendCoveredBySavingsPlansT = Aws::String>
61 template<
typename OnDemandCostT = Aws::String>
62 void SetOnDemandCost(OnDemandCostT&& value) { m_onDemandCostHasBeenSet =
true; m_onDemandCost = std::forward<OnDemandCostT>(value); }
63 template<
typename OnDemandCostT = Aws::String>
74 template<
typename TotalCostT = Aws::String>
75 void SetTotalCost(TotalCostT&& value) { m_totalCostHasBeenSet =
true; m_totalCost = std::forward<TotalCostT>(value); }
76 template<
typename TotalCostT = Aws::String>
87 template<
typename CoveragePercentageT = Aws::String>
88 void SetCoveragePercentage(CoveragePercentageT&& value) { m_coveragePercentageHasBeenSet =
true; m_coveragePercentage = std::forward<CoveragePercentageT>(value); }
89 template<
typename CoveragePercentageT = Aws::String>
95 bool m_spendCoveredBySavingsPlansHasBeenSet =
false;
98 bool m_onDemandCostHasBeenSet =
false;
101 bool m_totalCostHasBeenSet =
false;
104 bool m_coveragePercentageHasBeenSet =
false;
void SetCoveragePercentage(CoveragePercentageT &&value)
const Aws::String & GetOnDemandCost() const
void SetSpendCoveredBySavingsPlans(SpendCoveredBySavingsPlansT &&value)
void SetTotalCost(TotalCostT &&value)
bool TotalCostHasBeenSet() const
AWS_COSTEXPLORER_API SavingsPlansCoverageData()=default
const Aws::String & GetSpendCoveredBySavingsPlans() const
SavingsPlansCoverageData & WithSpendCoveredBySavingsPlans(SpendCoveredBySavingsPlansT &&value)
SavingsPlansCoverageData & WithTotalCost(TotalCostT &&value)
bool OnDemandCostHasBeenSet() const
AWS_COSTEXPLORER_API SavingsPlansCoverageData(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansCoverageData & WithOnDemandCost(OnDemandCostT &&value)
AWS_COSTEXPLORER_API SavingsPlansCoverageData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOnDemandCost(OnDemandCostT &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
bool CoveragePercentageHasBeenSet() const
const Aws::String & GetCoveragePercentage() const
bool SpendCoveredBySavingsPlansHasBeenSet() const
SavingsPlansCoverageData & WithCoveragePercentage(CoveragePercentageT &&value)
const Aws::String & GetTotalCost() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue