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"; }
95 template<
typename NextPageTokenT = Aws::String>
96 void SetNextPageToken(NextPageTokenT&& value) { m_nextPageTokenHasBeenSet =
true; m_nextPageToken = std::forward<NextPageTokenT>(value); }
97 template<
typename NextPageTokenT = Aws::String>
108 inline void SetPageSize(
int value) { m_pageSizeHasBeenSet =
true; m_pageSize = value; }
139 template<
typename FilterT = Expression>
140 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
141 template<
typename FilterT = Expression>
147 bool m_savingsPlansTypeHasBeenSet =
false;
150 bool m_termInYearsHasBeenSet =
false;
153 bool m_paymentOptionHasBeenSet =
false;
156 bool m_accountScopeHasBeenSet =
false;
159 bool m_nextPageTokenHasBeenSet =
false;
162 bool m_pageSizeHasBeenSet =
false;
165 bool m_lookbackPeriodInDaysHasBeenSet =
false;
168 bool m_filterHasBeenSet =
false;
bool TermInYearsHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
TermInYears GetTermInYears() const
const Aws::String & GetNextPageToken() const
bool PaymentOptionHasBeenSet() const
AccountScope GetAccountScope() const
PaymentOption GetPaymentOption() const
virtual const char * GetServiceRequestName() const override
void SetNextPageToken(NextPageTokenT &&value)
void SetFilter(FilterT &&value)
GetSavingsPlansPurchaseRecommendationRequest & WithPageSize(int value)
bool AccountScopeHasBeenSet() const
GetSavingsPlansPurchaseRecommendationRequest & WithSavingsPlansType(SupportedSavingsPlansType value)
GetSavingsPlansPurchaseRecommendationRequest & WithTermInYears(TermInYears value)
void SetLookbackPeriodInDays(LookbackPeriodInDays value)
void SetTermInYears(TermInYears value)
void SetPageSize(int value)
void SetAccountScope(AccountScope value)
GetSavingsPlansPurchaseRecommendationRequest & WithFilter(FilterT &&value)
bool PageSizeHasBeenSet() const
bool SavingsPlansTypeHasBeenSet() const
GetSavingsPlansPurchaseRecommendationRequest & WithAccountScope(AccountScope value)
AWS_COSTEXPLORER_API GetSavingsPlansPurchaseRecommendationRequest()=default
const Expression & GetFilter() const
bool NextPageTokenHasBeenSet() const
void SetSavingsPlansType(SupportedSavingsPlansType value)
LookbackPeriodInDays GetLookbackPeriodInDays() const
GetSavingsPlansPurchaseRecommendationRequest & WithNextPageToken(NextPageTokenT &&value)
GetSavingsPlansPurchaseRecommendationRequest & WithLookbackPeriodInDays(LookbackPeriodInDays value)
void SetPaymentOption(PaymentOption value)
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
bool FilterHasBeenSet() const
SupportedSavingsPlansType GetSavingsPlansType() const
bool LookbackPeriodInDaysHasBeenSet() const
GetSavingsPlansPurchaseRecommendationRequest & WithPaymentOption(PaymentOption value)
SupportedSavingsPlansType
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String