7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/SavingsPlansAmortizedCommitment.h>
9#include <aws/ce/model/SavingsPlansSavings.h>
10#include <aws/ce/model/SavingsPlansUtilization.h>
21namespace CostExplorer {
44 template <
typename UtilizationT = SavingsPlansUtilization>
46 m_utilizationHasBeenSet =
true;
47 m_utilization = std::forward<UtilizationT>(value);
49 template <
typename UtilizationT = SavingsPlansUtilization>
64 template <
typename SavingsT = SavingsPlansSavings>
66 m_savingsHasBeenSet =
true;
67 m_savings = std::forward<SavingsT>(value);
69 template <
typename SavingsT = SavingsPlansSavings>
83 template <
typename AmortizedCommitmentT = SavingsPlansAmortizedCommitment>
85 m_amortizedCommitmentHasBeenSet =
true;
86 m_amortizedCommitment = std::forward<AmortizedCommitmentT>(value);
88 template <
typename AmortizedCommitmentT = SavingsPlansAmortizedCommitment>
100 bool m_utilizationHasBeenSet =
false;
101 bool m_savingsHasBeenSet =
false;
102 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