7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/SavingsPlansUtilization.h>
9#include <aws/ce/model/SavingsPlansSavings.h>
10#include <aws/ce/model/SavingsPlansAmortizedCommitment.h>
50 template<
typename UtilizationT = SavingsPlansUtilization>
51 void SetUtilization(UtilizationT&& value) { m_utilizationHasBeenSet =
true; m_utilization = std::forward<UtilizationT>(value); }
52 template<
typename UtilizationT = SavingsPlansUtilization>
64 template<
typename SavingsT = SavingsPlansSavings>
65 void SetSavings(SavingsT&& value) { m_savingsHasBeenSet =
true; m_savings = std::forward<SavingsT>(value); }
66 template<
typename SavingsT = SavingsPlansSavings>
77 template<
typename AmortizedCommitmentT = SavingsPlansAmortizedCommitment>
78 void SetAmortizedCommitment(AmortizedCommitmentT&& value) { m_amortizedCommitmentHasBeenSet =
true; m_amortizedCommitment = std::forward<AmortizedCommitmentT>(value); }
79 template<
typename AmortizedCommitmentT = SavingsPlansAmortizedCommitment>
85 bool m_utilizationHasBeenSet =
false;
88 bool m_savingsHasBeenSet =
false;
91 bool m_amortizedCommitmentHasBeenSet =
false;
const SavingsPlansSavings & GetSavings() const
AWS_COSTEXPLORER_API SavingsPlansUtilizationAggregates()=default
const SavingsPlansAmortizedCommitment & GetAmortizedCommitment() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUtilization(UtilizationT &&value)
SavingsPlansUtilizationAggregates & WithSavings(SavingsT &&value)
bool AmortizedCommitmentHasBeenSet() const
bool UtilizationHasBeenSet() const
AWS_COSTEXPLORER_API SavingsPlansUtilizationAggregates(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansUtilizationAggregates & WithAmortizedCommitment(AmortizedCommitmentT &&value)
SavingsPlansUtilizationAggregates & WithUtilization(UtilizationT &&value)
AWS_COSTEXPLORER_API SavingsPlansUtilizationAggregates & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSavings(SavingsT &&value)
void SetAmortizedCommitment(AmortizedCommitmentT &&value)
const SavingsPlansUtilization & GetUtilization() const
bool SavingsHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue