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/savingsplans/model/SavingsPlanProductType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/savingsplans/model/SavingsPlanPaymentOption.h>
13#include <aws/savingsplans/model/SavingsPlanType.h>
14#include <aws/savingsplans/model/CurrencyCode.h>
15#include <aws/savingsplans/model/SavingsPlanOfferingFilterElement.h>
206 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
219 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
225 bool m_offeringIdsHasBeenSet =
false;
228 bool m_paymentOptionsHasBeenSet =
false;
231 bool m_productTypeHasBeenSet =
false;
234 bool m_planTypesHasBeenSet =
false;
237 bool m_durationsHasBeenSet =
false;
240 bool m_currenciesHasBeenSet =
false;
243 bool m_descriptionsHasBeenSet =
false;
246 bool m_serviceCodesHasBeenSet =
false;
249 bool m_usageTypesHasBeenSet =
false;
252 bool m_operationsHasBeenSet =
false;
255 bool m_filtersHasBeenSet =
false;
258 bool m_nextTokenHasBeenSet =
false;
261 bool m_maxResultsHasBeenSet =
false;
bool FiltersHasBeenSet() const
const Aws::Vector< Aws::String > & GetDescriptions() const
void SetPlanTypes(Aws::Vector< SavingsPlanType > &&value)
DescribeSavingsPlansOfferingsRequest & AddOfferingIds(const Aws::String &value)
void SetNextToken(Aws::String &&value)
void SetUsageTypes(const Aws::Vector< Aws::String > &value)
DescribeSavingsPlansOfferingsRequest & WithPaymentOptions(const Aws::Vector< SavingsPlanPaymentOption > &value)
DescribeSavingsPlansOfferingsRequest & WithUsageTypes(const Aws::Vector< Aws::String > &value)
DescribeSavingsPlansOfferingsRequest & WithOperations(const Aws::Vector< Aws::String > &value)
DescribeSavingsPlansOfferingsRequest & AddCurrencies(const CurrencyCode &value)
const Aws::Vector< Aws::String > & GetServiceCodes() const
bool MaxResultsHasBeenSet() const
const Aws::Vector< Aws::String > & GetUsageTypes() const
DescribeSavingsPlansOfferingsRequest & WithNextToken(const Aws::String &value)
void SetPaymentOptions(Aws::Vector< SavingsPlanPaymentOption > &&value)
DescribeSavingsPlansOfferingsRequest & AddDescriptions(const Aws::String &value)
DescribeSavingsPlansOfferingsRequest & AddOperations(const char *value)
DescribeSavingsPlansOfferingsRequest & WithDescriptions(Aws::Vector< Aws::String > &&value)
DescribeSavingsPlansOfferingsRequest & AddServiceCodes(Aws::String &&value)
void SetOperations(const Aws::Vector< Aws::String > &value)
DescribeSavingsPlansOfferingsRequest & WithServiceCodes(const Aws::Vector< Aws::String > &value)
void SetCurrencies(const Aws::Vector< CurrencyCode > &value)
DescribeSavingsPlansOfferingsRequest & WithServiceCodes(Aws::Vector< Aws::String > &&value)
DescribeSavingsPlansOfferingsRequest & WithOperations(Aws::Vector< Aws::String > &&value)
void SetCurrencies(Aws::Vector< CurrencyCode > &&value)
AWS_SAVINGSPLANS_API DescribeSavingsPlansOfferingsRequest()
const SavingsPlanProductType & GetProductType() const
DescribeSavingsPlansOfferingsRequest & WithDescriptions(const Aws::Vector< Aws::String > &value)
DescribeSavingsPlansOfferingsRequest & AddOfferingIds(Aws::String &&value)
DescribeSavingsPlansOfferingsRequest & AddCurrencies(CurrencyCode &&value)
DescribeSavingsPlansOfferingsRequest & AddPlanTypes(const SavingsPlanType &value)
bool ProductTypeHasBeenSet() const
DescribeSavingsPlansOfferingsRequest & WithMaxResults(int value)
DescribeSavingsPlansOfferingsRequest & AddDescriptions(Aws::String &&value)
bool UsageTypesHasBeenSet() const
void SetOfferingIds(Aws::Vector< Aws::String > &&value)
DescribeSavingsPlansOfferingsRequest & WithUsageTypes(Aws::Vector< Aws::String > &&value)
DescribeSavingsPlansOfferingsRequest & AddFilters(SavingsPlanOfferingFilterElement &&value)
DescribeSavingsPlansOfferingsRequest & AddDescriptions(const char *value)
DescribeSavingsPlansOfferingsRequest & AddUsageTypes(const char *value)
void SetDescriptions(Aws::Vector< Aws::String > &&value)
DescribeSavingsPlansOfferingsRequest & AddFilters(const SavingsPlanOfferingFilterElement &value)
void SetDurations(const Aws::Vector< long long > &value)
DescribeSavingsPlansOfferingsRequest & AddPlanTypes(SavingsPlanType &&value)
const Aws::Vector< Aws::String > & GetOperations() const
void SetPlanTypes(const Aws::Vector< SavingsPlanType > &value)
DescribeSavingsPlansOfferingsRequest & WithProductType(const SavingsPlanProductType &value)
void SetProductType(SavingsPlanProductType &&value)
DescribeSavingsPlansOfferingsRequest & WithProductType(SavingsPlanProductType &&value)
int GetMaxResults() const
void SetProductType(const SavingsPlanProductType &value)
DescribeSavingsPlansOfferingsRequest & AddUsageTypes(Aws::String &&value)
void SetFilters(Aws::Vector< SavingsPlanOfferingFilterElement > &&value)
void SetServiceCodes(Aws::Vector< Aws::String > &&value)
DescribeSavingsPlansOfferingsRequest & WithNextToken(Aws::String &&value)
bool DurationsHasBeenSet() const
bool NextTokenHasBeenSet() const
DescribeSavingsPlansOfferingsRequest & WithOfferingIds(const Aws::Vector< Aws::String > &value)
void SetServiceCodes(const Aws::Vector< Aws::String > &value)
DescribeSavingsPlansOfferingsRequest & WithDurations(const Aws::Vector< long long > &value)
DescribeSavingsPlansOfferingsRequest & WithFilters(const Aws::Vector< SavingsPlanOfferingFilterElement > &value)
DescribeSavingsPlansOfferingsRequest & WithDurations(Aws::Vector< long long > &&value)
const Aws::String & GetNextToken() const
DescribeSavingsPlansOfferingsRequest & AddDurations(long long value)
void SetNextToken(const char *value)
void SetOfferingIds(const Aws::Vector< Aws::String > &value)
bool OperationsHasBeenSet() const
const Aws::Vector< SavingsPlanOfferingFilterElement > & GetFilters() const
bool PlanTypesHasBeenSet() const
bool PaymentOptionsHasBeenSet() const
AWS_SAVINGSPLANS_API Aws::String SerializePayload() const override
DescribeSavingsPlansOfferingsRequest & AddOfferingIds(const char *value)
DescribeSavingsPlansOfferingsRequest & AddServiceCodes(const Aws::String &value)
void SetNextToken(const Aws::String &value)
DescribeSavingsPlansOfferingsRequest & WithPlanTypes(Aws::Vector< SavingsPlanType > &&value)
void SetOperations(Aws::Vector< Aws::String > &&value)
DescribeSavingsPlansOfferingsRequest & AddOperations(const Aws::String &value)
bool ServiceCodesHasBeenSet() const
void SetMaxResults(int value)
DescribeSavingsPlansOfferingsRequest & WithPaymentOptions(Aws::Vector< SavingsPlanPaymentOption > &&value)
DescribeSavingsPlansOfferingsRequest & AddUsageTypes(const Aws::String &value)
DescribeSavingsPlansOfferingsRequest & AddOperations(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< long long > & GetDurations() const
bool DescriptionsHasBeenSet() const
void SetDurations(Aws::Vector< long long > &&value)
DescribeSavingsPlansOfferingsRequest & AddPaymentOptions(SavingsPlanPaymentOption &&value)
DescribeSavingsPlansOfferingsRequest & AddServiceCodes(const char *value)
DescribeSavingsPlansOfferingsRequest & AddPaymentOptions(const SavingsPlanPaymentOption &value)
void SetPaymentOptions(const Aws::Vector< SavingsPlanPaymentOption > &value)
DescribeSavingsPlansOfferingsRequest & WithCurrencies(Aws::Vector< CurrencyCode > &&value)
void SetDescriptions(const Aws::Vector< Aws::String > &value)
DescribeSavingsPlansOfferingsRequest & WithPlanTypes(const Aws::Vector< SavingsPlanType > &value)
DescribeSavingsPlansOfferingsRequest & WithNextToken(const char *value)
const Aws::Vector< CurrencyCode > & GetCurrencies() const
bool OfferingIdsHasBeenSet() const
void SetUsageTypes(Aws::Vector< Aws::String > &&value)
DescribeSavingsPlansOfferingsRequest & WithFilters(Aws::Vector< SavingsPlanOfferingFilterElement > &&value)
bool CurrenciesHasBeenSet() const
const Aws::Vector< Aws::String > & GetOfferingIds() const
const Aws::Vector< SavingsPlanPaymentOption > & GetPaymentOptions() const
const Aws::Vector< SavingsPlanType > & GetPlanTypes() const
void SetFilters(const Aws::Vector< SavingsPlanOfferingFilterElement > &value)
DescribeSavingsPlansOfferingsRequest & WithOfferingIds(Aws::Vector< Aws::String > &&value)
DescribeSavingsPlansOfferingsRequest & WithCurrencies(const Aws::Vector< CurrencyCode > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector