7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/CostExplorerRequest.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/AccountScope.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/ce/model/LookbackPeriodInDays.h>
15#include <aws/ce/model/Expression.h>
36 inline virtual const char*
GetServiceRequestName()
const override {
return "GetSavingsPlansPurchaseRecommendation"; }
105 inline void SetNextPageToken(
const char* value) { m_nextPageTokenHasBeenSet =
true; m_nextPageToken.assign(value); }
118 inline void SetPageSize(
int value) { m_pageSizeHasBeenSet =
true; m_pageSize = value; }
159 bool m_savingsPlansTypeHasBeenSet =
false;
162 bool m_termInYearsHasBeenSet =
false;
165 bool m_paymentOptionHasBeenSet =
false;
168 bool m_accountScopeHasBeenSet =
false;
171 bool m_nextPageTokenHasBeenSet =
false;
174 bool m_pageSizeHasBeenSet =
false;
177 bool m_lookbackPeriodInDaysHasBeenSet =
false;
180 bool m_filterHasBeenSet =
false;
void SetSavingsPlansType(const SupportedSavingsPlansType &value)
bool TermInYearsHasBeenSet() const
GetSavingsPlansPurchaseRecommendationRequest & WithTermInYears(TermInYears &&value)
GetSavingsPlansPurchaseRecommendationRequest & WithAccountScope(AccountScope &&value)
void SetSavingsPlansType(SupportedSavingsPlansType &&value)
const PaymentOption & GetPaymentOption() const
void SetNextPageToken(const char *value)
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetSavingsPlansPurchaseRecommendationRequest & WithNextPageToken(const Aws::String &value)
GetSavingsPlansPurchaseRecommendationRequest & WithPaymentOption(PaymentOption &&value)
void SetAccountScope(AccountScope &&value)
const Aws::String & GetNextPageToken() const
bool PaymentOptionHasBeenSet() const
GetSavingsPlansPurchaseRecommendationRequest & WithSavingsPlansType(SupportedSavingsPlansType &&value)
void SetLookbackPeriodInDays(const LookbackPeriodInDays &value)
virtual const char * GetServiceRequestName() const override
void SetNextPageToken(const Aws::String &value)
void SetAccountScope(const AccountScope &value)
AWS_COSTEXPLORER_API GetSavingsPlansPurchaseRecommendationRequest()
const TermInYears & GetTermInYears() const
GetSavingsPlansPurchaseRecommendationRequest & WithLookbackPeriodInDays(const LookbackPeriodInDays &value)
const SupportedSavingsPlansType & GetSavingsPlansType() const
GetSavingsPlansPurchaseRecommendationRequest & WithPageSize(int value)
GetSavingsPlansPurchaseRecommendationRequest & WithPaymentOption(const PaymentOption &value)
bool AccountScopeHasBeenSet() const
GetSavingsPlansPurchaseRecommendationRequest & WithLookbackPeriodInDays(LookbackPeriodInDays &&value)
void SetLookbackPeriodInDays(LookbackPeriodInDays &&value)
GetSavingsPlansPurchaseRecommendationRequest & WithNextPageToken(const char *value)
void SetPageSize(int value)
void SetTermInYears(const TermInYears &value)
void SetPaymentOption(PaymentOption &&value)
void SetTermInYears(TermInYears &&value)
const LookbackPeriodInDays & GetLookbackPeriodInDays() const
bool PageSizeHasBeenSet() const
bool SavingsPlansTypeHasBeenSet() const
GetSavingsPlansPurchaseRecommendationRequest & WithAccountScope(const AccountScope &value)
GetSavingsPlansPurchaseRecommendationRequest & WithTermInYears(const TermInYears &value)
GetSavingsPlansPurchaseRecommendationRequest & WithNextPageToken(Aws::String &&value)
const Expression & GetFilter() const
bool NextPageTokenHasBeenSet() const
const AccountScope & GetAccountScope() const
void SetFilter(const Expression &value)
void SetNextPageToken(Aws::String &&value)
void SetFilter(Expression &&value)
void SetPaymentOption(const PaymentOption &value)
GetSavingsPlansPurchaseRecommendationRequest & WithFilter(const Expression &value)
GetSavingsPlansPurchaseRecommendationRequest & WithFilter(Expression &&value)
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
bool FilterHasBeenSet() const
bool LookbackPeriodInDaysHasBeenSet() const
GetSavingsPlansPurchaseRecommendationRequest & WithSavingsPlansType(const SupportedSavingsPlansType &value)
SupportedSavingsPlansType
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String