7#include <aws/ce/CostExplorerRequest.h>
8#include <aws/ce/CostExplorer_EXPORTS.h>
9#include <aws/ce/model/AccountScope.h>
10#include <aws/ce/model/Expression.h>
11#include <aws/ce/model/LookbackPeriodInDays.h>
12#include <aws/ce/model/PaymentOption.h>
13#include <aws/ce/model/ServiceSpecification.h>
14#include <aws/ce/model/TermInYears.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CostExplorer {
33 inline virtual const char*
GetServiceRequestName()
const override {
return "GetReservationPurchaseRecommendation"; }
45 template <
typename AccountIdT = Aws::String>
47 m_accountIdHasBeenSet =
true;
48 m_accountId = std::forward<AccountIdT>(value);
50 template <
typename AccountIdT = Aws::String>
63 template <
typename ServiceT = Aws::String>
65 m_serviceHasBeenSet =
true;
66 m_service = std::forward<ServiceT>(value);
68 template <
typename ServiceT = Aws::String>
79 template <
typename FilterT = Expression>
81 m_filterHasBeenSet =
true;
82 m_filter = std::forward<FilterT>(value);
84 template <
typename FilterT = Expression>
101 m_accountScopeHasBeenSet =
true;
102 m_accountScope = value;
118 m_lookbackPeriodInDaysHasBeenSet =
true;
119 m_lookbackPeriodInDays = value;
134 m_termInYearsHasBeenSet =
true;
135 m_termInYears = value;
150 m_paymentOptionHasBeenSet =
true;
151 m_paymentOption = value;
166 template <
typename ServiceSpecificationT = ServiceSpecification>
168 m_serviceSpecificationHasBeenSet =
true;
169 m_serviceSpecification = std::forward<ServiceSpecificationT>(value);
171 template <
typename ServiceSpecificationT = ServiceSpecification>
186 m_pageSizeHasBeenSet =
true;
202 template <
typename NextPageTokenT = Aws::String>
204 m_nextPageTokenHasBeenSet =
true;
205 m_nextPageToken = std::forward<NextPageTokenT>(value);
207 template <
typename NextPageTokenT = Aws::String>
228 ServiceSpecification m_serviceSpecification;
233 bool m_accountIdHasBeenSet =
false;
234 bool m_serviceHasBeenSet =
false;
235 bool m_filterHasBeenSet =
false;
236 bool m_accountScopeHasBeenSet =
false;
237 bool m_lookbackPeriodInDaysHasBeenSet =
false;
238 bool m_termInYearsHasBeenSet =
false;
239 bool m_paymentOptionHasBeenSet =
false;
240 bool m_serviceSpecificationHasBeenSet =
false;
241 bool m_pageSizeHasBeenSet =
false;
242 bool m_nextPageTokenHasBeenSet =
false;
void SetAccountScope(AccountScope value)
void SetPaymentOption(PaymentOption value)
bool LookbackPeriodInDaysHasBeenSet() const
GetReservationPurchaseRecommendationRequest & WithTermInYears(TermInYears value)
void SetFilter(FilterT &&value)
bool PaymentOptionHasBeenSet() const
GetReservationPurchaseRecommendationRequest & WithNextPageToken(NextPageTokenT &&value)
void SetServiceSpecification(ServiceSpecificationT &&value)
GetReservationPurchaseRecommendationRequest & WithAccountId(AccountIdT &&value)
const Aws::String & GetAccountId() const
bool TermInYearsHasBeenSet() const
GetReservationPurchaseRecommendationRequest & WithFilter(FilterT &&value)
void SetAccountId(AccountIdT &&value)
const ServiceSpecification & GetServiceSpecification() const
void SetPageSize(int value)
bool PageSizeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
LookbackPeriodInDays GetLookbackPeriodInDays() const
void SetLookbackPeriodInDays(LookbackPeriodInDays value)
const Aws::String & GetService() const
GetReservationPurchaseRecommendationRequest & WithServiceSpecification(ServiceSpecificationT &&value)
AWS_COSTEXPLORER_API GetReservationPurchaseRecommendationRequest()=default
bool AccountIdHasBeenSet() const
PaymentOption GetPaymentOption() const
TermInYears GetTermInYears() const
GetReservationPurchaseRecommendationRequest & WithPageSize(int value)
bool NextPageTokenHasBeenSet() const
const Expression & GetFilter() const
AccountScope GetAccountScope() const
GetReservationPurchaseRecommendationRequest & WithLookbackPeriodInDays(LookbackPeriodInDays value)
GetReservationPurchaseRecommendationRequest & WithService(ServiceT &&value)
bool ServiceHasBeenSet() const
void SetNextPageToken(NextPageTokenT &&value)
bool ServiceSpecificationHasBeenSet() const
GetReservationPurchaseRecommendationRequest & WithAccountScope(AccountScope value)
void SetTermInYears(TermInYears value)
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
bool FilterHasBeenSet() const
void SetService(ServiceT &&value)
GetReservationPurchaseRecommendationRequest & WithPaymentOption(PaymentOption value)
const Aws::String & GetNextPageToken() const
bool AccountScopeHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String