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/ReservationPurchaseRecommendationDetail.h>
12#include <aws/ce/model/ReservationPurchaseRecommendationSummary.h>
13#include <aws/ce/model/ServiceSpecification.h>
14#include <aws/ce/model/TermInYears.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
26namespace CostExplorer {
51 m_accountScopeHasBeenSet =
true;
52 m_accountScope = value;
68 m_lookbackPeriodInDaysHasBeenSet =
true;
69 m_lookbackPeriodInDays = value;
84 m_termInYearsHasBeenSet =
true;
85 m_termInYears = value;
101 m_paymentOptionHasBeenSet =
true;
102 m_paymentOption = value;
117 template <
typename ServiceSpecificationT = ServiceSpecification>
119 m_serviceSpecificationHasBeenSet =
true;
120 m_serviceSpecification = std::forward<ServiceSpecificationT>(value);
122 template <
typename ServiceSpecificationT = ServiceSpecification>
135 template <
typename RecommendationDetailsT = Aws::Vector<ReservationPurchaseRecommendationDetail>>
137 m_recommendationDetailsHasBeenSet =
true;
138 m_recommendationDetails = std::forward<RecommendationDetailsT>(value);
140 template <
typename RecommendationDetailsT = Aws::Vector<ReservationPurchaseRecommendationDetail>>
145 template <
typename RecommendationDetailsT = ReservationPurchaseRecommendationDetail>
147 m_recommendationDetailsHasBeenSet =
true;
148 m_recommendationDetails.emplace_back(std::forward<RecommendationDetailsT>(value));
159 template <
typename RecommendationSummaryT = ReservationPurchaseRecommendationSummary>
161 m_recommendationSummaryHasBeenSet =
true;
162 m_recommendationSummary = std::forward<RecommendationSummaryT>(value);
164 template <
typename RecommendationSummaryT = ReservationPurchaseRecommendationSummary>
179 ServiceSpecification m_serviceSpecification;
183 ReservationPurchaseRecommendationSummary m_recommendationSummary;
184 bool m_accountScopeHasBeenSet =
false;
185 bool m_lookbackPeriodInDaysHasBeenSet =
false;
186 bool m_termInYearsHasBeenSet =
false;
187 bool m_paymentOptionHasBeenSet =
false;
188 bool m_serviceSpecificationHasBeenSet =
false;
189 bool m_recommendationDetailsHasBeenSet =
false;
190 bool m_recommendationSummaryHasBeenSet =
false;
const ServiceSpecification & GetServiceSpecification() const
bool RecommendationDetailsHasBeenSet() const
void SetServiceSpecification(ServiceSpecificationT &&value)
AWS_COSTEXPLORER_API ReservationPurchaseRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AccountScopeHasBeenSet() const
bool ServiceSpecificationHasBeenSet() const
ReservationPurchaseRecommendation & AddRecommendationDetails(RecommendationDetailsT &&value)
AWS_COSTEXPLORER_API ReservationPurchaseRecommendation(Aws::Utils::Json::JsonView jsonValue)
ReservationPurchaseRecommendation & WithPaymentOption(PaymentOption value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLookbackPeriodInDays(LookbackPeriodInDays value)
bool LookbackPeriodInDaysHasBeenSet() const
void SetAccountScope(AccountScope value)
ReservationPurchaseRecommendation & WithAccountScope(AccountScope value)
const ReservationPurchaseRecommendationSummary & GetRecommendationSummary() const
void SetRecommendationDetails(RecommendationDetailsT &&value)
const Aws::Vector< ReservationPurchaseRecommendationDetail > & GetRecommendationDetails() const
PaymentOption GetPaymentOption() const
TermInYears GetTermInYears() const
ReservationPurchaseRecommendation & WithRecommendationSummary(RecommendationSummaryT &&value)
bool PaymentOptionHasBeenSet() const
void SetTermInYears(TermInYears value)
ReservationPurchaseRecommendation & WithServiceSpecification(ServiceSpecificationT &&value)
ReservationPurchaseRecommendation & WithTermInYears(TermInYears value)
ReservationPurchaseRecommendation & WithRecommendationDetails(RecommendationDetailsT &&value)
bool TermInYearsHasBeenSet() const
LookbackPeriodInDays GetLookbackPeriodInDays() const
void SetRecommendationSummary(RecommendationSummaryT &&value)
void SetPaymentOption(PaymentOption value)
AccountScope GetAccountScope() const
AWS_COSTEXPLORER_API ReservationPurchaseRecommendation()=default
ReservationPurchaseRecommendation & WithLookbackPeriodInDays(LookbackPeriodInDays value)
bool RecommendationSummaryHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue