7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/AccountScope.h>
9#include <aws/ce/model/LookbackPeriodInDays.h>
10#include <aws/ce/model/PaymentOption.h>
11#include <aws/ce/model/SavingsPlansPurchaseRecommendationDetail.h>
12#include <aws/ce/model/SavingsPlansPurchaseRecommendationSummary.h>
13#include <aws/ce/model/SupportedSavingsPlansType.h>
14#include <aws/ce/model/TermInYears.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
26namespace CostExplorer {
53 m_accountScopeHasBeenSet =
true;
54 m_accountScope = value;
69 m_savingsPlansTypeHasBeenSet =
true;
70 m_savingsPlansType = value;
86 m_termInYearsHasBeenSet =
true;
87 m_termInYears = value;
102 m_paymentOptionHasBeenSet =
true;
103 m_paymentOption = value;
118 m_lookbackPeriodInDaysHasBeenSet =
true;
119 m_lookbackPeriodInDays = value;
133 return m_savingsPlansPurchaseRecommendationDetails;
136 template <
typename SavingsPlansPurchaseRecommendationDetailsT = Aws::Vector<SavingsPlansPurchaseRecommendationDetail>>
138 m_savingsPlansPurchaseRecommendationDetailsHasBeenSet =
true;
139 m_savingsPlansPurchaseRecommendationDetails = std::forward<SavingsPlansPurchaseRecommendationDetailsT>(value);
141 template <
typename SavingsPlansPurchaseRecommendationDetailsT = Aws::Vector<SavingsPlansPurchaseRecommendationDetail>>
146 template <
typename SavingsPlansPurchaseRecommendationDetailsT = SavingsPlansPurchaseRecommendationDetail>
148 m_savingsPlansPurchaseRecommendationDetailsHasBeenSet =
true;
149 m_savingsPlansPurchaseRecommendationDetails.emplace_back(std::forward<SavingsPlansPurchaseRecommendationDetailsT>(value));
159 return m_savingsPlansPurchaseRecommendationSummary;
162 template <
typename SavingsPlansPurchaseRecommendationSummaryT = SavingsPlansPurchaseRecommendationSummary>
164 m_savingsPlansPurchaseRecommendationSummaryHasBeenSet =
true;
165 m_savingsPlansPurchaseRecommendationSummary = std::forward<SavingsPlansPurchaseRecommendationSummaryT>(value);
167 template <
typename SavingsPlansPurchaseRecommendationSummaryT = SavingsPlansPurchaseRecommendationSummary>
186 SavingsPlansPurchaseRecommendationSummary m_savingsPlansPurchaseRecommendationSummary;
187 bool m_accountScopeHasBeenSet =
false;
188 bool m_savingsPlansTypeHasBeenSet =
false;
189 bool m_termInYearsHasBeenSet =
false;
190 bool m_paymentOptionHasBeenSet =
false;
191 bool m_lookbackPeriodInDaysHasBeenSet =
false;
192 bool m_savingsPlansPurchaseRecommendationDetailsHasBeenSet =
false;
193 bool m_savingsPlansPurchaseRecommendationSummaryHasBeenSet =
false;
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendation(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansPurchaseRecommendation & WithTermInYears(TermInYears value)
void SetSavingsPlansPurchaseRecommendationSummary(SavingsPlansPurchaseRecommendationSummaryT &&value)
PaymentOption GetPaymentOption() const
void SetLookbackPeriodInDays(LookbackPeriodInDays value)
TermInYears GetTermInYears() const
SavingsPlansPurchaseRecommendation & WithLookbackPeriodInDays(LookbackPeriodInDays value)
void SetSavingsPlansPurchaseRecommendationDetails(SavingsPlansPurchaseRecommendationDetailsT &&value)
void SetTermInYears(TermInYears value)
const Aws::Vector< SavingsPlansPurchaseRecommendationDetail > & GetSavingsPlansPurchaseRecommendationDetails() const
SavingsPlansPurchaseRecommendation & WithSavingsPlansPurchaseRecommendationSummary(SavingsPlansPurchaseRecommendationSummaryT &&value)
void SetSavingsPlansType(SupportedSavingsPlansType value)
bool LookbackPeriodInDaysHasBeenSet() const
SupportedSavingsPlansType GetSavingsPlansType() const
LookbackPeriodInDays GetLookbackPeriodInDays() const
SavingsPlansPurchaseRecommendation & WithSavingsPlansType(SupportedSavingsPlansType value)
bool TermInYearsHasBeenSet() const
SavingsPlansPurchaseRecommendation & AddSavingsPlansPurchaseRecommendationDetails(SavingsPlansPurchaseRecommendationDetailsT &&value)
bool AccountScopeHasBeenSet() const
SavingsPlansPurchaseRecommendation & WithSavingsPlansPurchaseRecommendationDetails(SavingsPlansPurchaseRecommendationDetailsT &&value)
void SetAccountScope(AccountScope value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SavingsPlansTypeHasBeenSet() const
const SavingsPlansPurchaseRecommendationSummary & GetSavingsPlansPurchaseRecommendationSummary() const
void SetPaymentOption(PaymentOption value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendation()=default
bool SavingsPlansPurchaseRecommendationSummaryHasBeenSet() const
bool PaymentOptionHasBeenSet() const
SavingsPlansPurchaseRecommendation & WithPaymentOption(PaymentOption value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
AccountScope GetAccountScope() const
bool SavingsPlansPurchaseRecommendationDetailsHasBeenSet() const
SavingsPlansPurchaseRecommendation & WithAccountScope(AccountScope value)
SupportedSavingsPlansType
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue