7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/AccountScope.h>
9#include <aws/ce/model/SupportedSavingsPlansType.h>
10#include <aws/ce/model/TermInYears.h>
11#include <aws/ce/model/PaymentOption.h>
12#include <aws/ce/model/LookbackPeriodInDays.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ce/model/SavingsPlansPurchaseRecommendationSummary.h>
15#include <aws/ce/model/SavingsPlansPurchaseRecommendationDetail.h>
110 template<
typename SavingsPlansPurchaseRecommendationDetailsT = Aws::Vector<SavingsPlansPurchaseRecommendationDetail>>
111 void SetSavingsPlansPurchaseRecommendationDetails(SavingsPlansPurchaseRecommendationDetailsT&& value) { m_savingsPlansPurchaseRecommendationDetailsHasBeenSet =
true; m_savingsPlansPurchaseRecommendationDetails = std::forward<SavingsPlansPurchaseRecommendationDetailsT>(value); }
112 template<
typename SavingsPlansPurchaseRecommendationDetailsT = Aws::Vector<SavingsPlansPurchaseRecommendationDetail>>
114 template<
typename SavingsPlansPurchaseRecommendationDetailsT = SavingsPlansPurchaseRecommendationDetail>
124 template<
typename SavingsPlansPurchaseRecommendationSummaryT = SavingsPlansPurchaseRecommendationSummary>
125 void SetSavingsPlansPurchaseRecommendationSummary(SavingsPlansPurchaseRecommendationSummaryT&& value) { m_savingsPlansPurchaseRecommendationSummaryHasBeenSet =
true; m_savingsPlansPurchaseRecommendationSummary = std::forward<SavingsPlansPurchaseRecommendationSummaryT>(value); }
126 template<
typename SavingsPlansPurchaseRecommendationSummaryT = SavingsPlansPurchaseRecommendationSummary>
132 bool m_accountScopeHasBeenSet =
false;
135 bool m_savingsPlansTypeHasBeenSet =
false;
138 bool m_termInYearsHasBeenSet =
false;
141 bool m_paymentOptionHasBeenSet =
false;
144 bool m_lookbackPeriodInDaysHasBeenSet =
false;
147 bool m_savingsPlansPurchaseRecommendationDetailsHasBeenSet =
false;
149 SavingsPlansPurchaseRecommendationSummary m_savingsPlansPurchaseRecommendationSummary;
150 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