7#include <aws/savingsplans/SavingsPlans_EXPORTS.h>
8#include <aws/savingsplans/SavingsPlansRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/savingsplans/model/SavingsPlanPaymentOption.h>
12#include <aws/savingsplans/model/SavingsPlanType.h>
13#include <aws/savingsplans/model/SavingsPlanProductType.h>
14#include <aws/savingsplans/model/SavingsPlanRateServiceCode.h>
15#include <aws/savingsplans/model/SavingsPlanOfferingRateFilterElement.h>
36 inline virtual const char*
GetServiceRequestName()
const override {
return "DescribeSavingsPlansOfferingRates"; }
165 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
178 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
184 bool m_savingsPlanOfferingIdsHasBeenSet =
false;
187 bool m_savingsPlanPaymentOptionsHasBeenSet =
false;
190 bool m_savingsPlanTypesHasBeenSet =
false;
193 bool m_productsHasBeenSet =
false;
196 bool m_serviceCodesHasBeenSet =
false;
199 bool m_usageTypesHasBeenSet =
false;
202 bool m_operationsHasBeenSet =
false;
205 bool m_filtersHasBeenSet =
false;
208 bool m_nextTokenHasBeenSet =
false;
211 bool m_maxResultsHasBeenSet =
false;
DescribeSavingsPlansOfferingRatesRequest & AddSavingsPlanOfferingIds(const char *value)
bool UsageTypesHasBeenSet() const
DescribeSavingsPlansOfferingRatesRequest & AddSavingsPlanTypes(SavingsPlanType &&value)
void SetSavingsPlanTypes(const Aws::Vector< SavingsPlanType > &value)
bool SavingsPlanPaymentOptionsHasBeenSet() const
DescribeSavingsPlansOfferingRatesRequest & WithSavingsPlanOfferingIds(Aws::Vector< Aws::String > &&value)
DescribeSavingsPlansOfferingRatesRequest & AddUsageTypes(const Aws::String &value)
DescribeSavingsPlansOfferingRatesRequest & WithNextToken(const Aws::String &value)
DescribeSavingsPlansOfferingRatesRequest & AddOperations(Aws::String &&value)
DescribeSavingsPlansOfferingRatesRequest & AddProducts(const SavingsPlanProductType &value)
DescribeSavingsPlansOfferingRatesRequest & AddFilters(const SavingsPlanOfferingRateFilterElement &value)
const Aws::Vector< Aws::String > & GetOperations() const
int GetMaxResults() const
DescribeSavingsPlansOfferingRatesRequest & AddSavingsPlanPaymentOptions(const SavingsPlanPaymentOption &value)
bool SavingsPlanOfferingIdsHasBeenSet() const
DescribeSavingsPlansOfferingRatesRequest & WithFilters(Aws::Vector< SavingsPlanOfferingRateFilterElement > &&value)
void SetSavingsPlanOfferingIds(const Aws::Vector< Aws::String > &value)
void SetNextToken(Aws::String &&value)
bool OperationsHasBeenSet() const
void SetFilters(const Aws::Vector< SavingsPlanOfferingRateFilterElement > &value)
void SetMaxResults(int value)
void SetOperations(Aws::Vector< Aws::String > &&value)
DescribeSavingsPlansOfferingRatesRequest & WithServiceCodes(Aws::Vector< SavingsPlanRateServiceCode > &&value)
void SetServiceCodes(const Aws::Vector< SavingsPlanRateServiceCode > &value)
void SetSavingsPlanPaymentOptions(Aws::Vector< SavingsPlanPaymentOption > &&value)
void SetOperations(const Aws::Vector< Aws::String > &value)
DescribeSavingsPlansOfferingRatesRequest & WithFilters(const Aws::Vector< SavingsPlanOfferingRateFilterElement > &value)
DescribeSavingsPlansOfferingRatesRequest & AddSavingsPlanOfferingIds(Aws::String &&value)
const Aws::Vector< SavingsPlanPaymentOption > & GetSavingsPlanPaymentOptions() const
bool ServiceCodesHasBeenSet() const
DescribeSavingsPlansOfferingRatesRequest & WithSavingsPlanTypes(Aws::Vector< SavingsPlanType > &&value)
void SetSavingsPlanOfferingIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetUsageTypes() const
void SetFilters(Aws::Vector< SavingsPlanOfferingRateFilterElement > &&value)
DescribeSavingsPlansOfferingRatesRequest & WithNextToken(const char *value)
const Aws::Vector< Aws::String > & GetSavingsPlanOfferingIds() const
DescribeSavingsPlansOfferingRatesRequest & WithOperations(const Aws::Vector< Aws::String > &value)
bool MaxResultsHasBeenSet() const
DescribeSavingsPlansOfferingRatesRequest & WithNextToken(Aws::String &&value)
DescribeSavingsPlansOfferingRatesRequest & WithSavingsPlanPaymentOptions(Aws::Vector< SavingsPlanPaymentOption > &&value)
void SetNextToken(const Aws::String &value)
void SetSavingsPlanTypes(Aws::Vector< SavingsPlanType > &&value)
DescribeSavingsPlansOfferingRatesRequest & AddSavingsPlanOfferingIds(const Aws::String &value)
DescribeSavingsPlansOfferingRatesRequest & AddOperations(const Aws::String &value)
DescribeSavingsPlansOfferingRatesRequest & AddServiceCodes(const SavingsPlanRateServiceCode &value)
void SetProducts(const Aws::Vector< SavingsPlanProductType > &value)
const Aws::Vector< SavingsPlanType > & GetSavingsPlanTypes() const
bool SavingsPlanTypesHasBeenSet() const
const Aws::Vector< SavingsPlanRateServiceCode > & GetServiceCodes() const
const Aws::Vector< SavingsPlanOfferingRateFilterElement > & GetFilters() const
AWS_SAVINGSPLANS_API DescribeSavingsPlansOfferingRatesRequest()
DescribeSavingsPlansOfferingRatesRequest & WithUsageTypes(const Aws::Vector< Aws::String > &value)
const Aws::Vector< SavingsPlanProductType > & GetProducts() const
bool ProductsHasBeenSet() const
void SetProducts(Aws::Vector< SavingsPlanProductType > &&value)
DescribeSavingsPlansOfferingRatesRequest & AddSavingsPlanPaymentOptions(SavingsPlanPaymentOption &&value)
DescribeSavingsPlansOfferingRatesRequest & WithSavingsPlanTypes(const Aws::Vector< SavingsPlanType > &value)
DescribeSavingsPlansOfferingRatesRequest & WithProducts(Aws::Vector< SavingsPlanProductType > &&value)
DescribeSavingsPlansOfferingRatesRequest & WithSavingsPlanPaymentOptions(const Aws::Vector< SavingsPlanPaymentOption > &value)
DescribeSavingsPlansOfferingRatesRequest & AddUsageTypes(Aws::String &&value)
const Aws::String & GetNextToken() const
void SetUsageTypes(const Aws::Vector< Aws::String > &value)
void SetUsageTypes(Aws::Vector< Aws::String > &&value)
DescribeSavingsPlansOfferingRatesRequest & AddProducts(SavingsPlanProductType &&value)
DescribeSavingsPlansOfferingRatesRequest & WithSavingsPlanOfferingIds(const Aws::Vector< Aws::String > &value)
DescribeSavingsPlansOfferingRatesRequest & AddSavingsPlanTypes(const SavingsPlanType &value)
void SetSavingsPlanPaymentOptions(const Aws::Vector< SavingsPlanPaymentOption > &value)
DescribeSavingsPlansOfferingRatesRequest & WithOperations(Aws::Vector< Aws::String > &&value)
DescribeSavingsPlansOfferingRatesRequest & AddOperations(const char *value)
virtual const char * GetServiceRequestName() const override
DescribeSavingsPlansOfferingRatesRequest & AddFilters(SavingsPlanOfferingRateFilterElement &&value)
DescribeSavingsPlansOfferingRatesRequest & WithProducts(const Aws::Vector< SavingsPlanProductType > &value)
bool FiltersHasBeenSet() const
DescribeSavingsPlansOfferingRatesRequest & AddServiceCodes(SavingsPlanRateServiceCode &&value)
DescribeSavingsPlansOfferingRatesRequest & AddUsageTypes(const char *value)
void SetServiceCodes(Aws::Vector< SavingsPlanRateServiceCode > &&value)
DescribeSavingsPlansOfferingRatesRequest & WithServiceCodes(const Aws::Vector< SavingsPlanRateServiceCode > &value)
DescribeSavingsPlansOfferingRatesRequest & WithUsageTypes(Aws::Vector< Aws::String > &&value)
void SetNextToken(const char *value)
DescribeSavingsPlansOfferingRatesRequest & WithMaxResults(int value)
bool NextTokenHasBeenSet() const
AWS_SAVINGSPLANS_API Aws::String SerializePayload() const override
SavingsPlanRateServiceCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector