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>
47 template<
typename OfferingIdsT = Aws::Vector<Aws::String>>
48 void SetOfferingIds(OfferingIdsT&& value) { m_offeringIdsHasBeenSet =
true; m_offeringIds = std::forward<OfferingIdsT>(value); }
49 template<
typename OfferingIdsT = Aws::Vector<Aws::String>>
51 template<
typename OfferingIdsT = Aws::String>
61 template<
typename PaymentOptionsT = Aws::Vector<SavingsPlanPaymentOption>>
62 void SetPaymentOptions(PaymentOptionsT&& value) { m_paymentOptionsHasBeenSet =
true; m_paymentOptions = std::forward<PaymentOptionsT>(value); }
63 template<
typename PaymentOptionsT = Aws::Vector<SavingsPlanPaymentOption>>
84 template<
typename PlanTypesT = Aws::Vector<SavingsPlanType>>
85 void SetPlanTypes(PlanTypesT&& value) { m_planTypesHasBeenSet =
true; m_planTypes = std::forward<PlanTypesT>(value); }
86 template<
typename PlanTypesT = Aws::Vector<SavingsPlanType>>
97 template<
typename DurationsT = Aws::Vector<
long long>>
98 void SetDurations(DurationsT&& value) { m_durationsHasBeenSet =
true; m_durations = std::forward<DurationsT>(value); }
99 template<
typename DurationsT = Aws::Vector<
long long>>
110 template<
typename CurrenciesT = Aws::Vector<CurrencyCode>>
111 void SetCurrencies(CurrenciesT&& value) { m_currenciesHasBeenSet =
true; m_currencies = std::forward<CurrenciesT>(value); }
112 template<
typename CurrenciesT = Aws::Vector<CurrencyCode>>
123 template<
typename DescriptionsT = Aws::Vector<Aws::String>>
124 void SetDescriptions(DescriptionsT&& value) { m_descriptionsHasBeenSet =
true; m_descriptions = std::forward<DescriptionsT>(value); }
125 template<
typename DescriptionsT = Aws::Vector<Aws::String>>
127 template<
typename DescriptionsT = Aws::String>
137 template<
typename ServiceCodesT = Aws::Vector<Aws::String>>
138 void SetServiceCodes(ServiceCodesT&& value) { m_serviceCodesHasBeenSet =
true; m_serviceCodes = std::forward<ServiceCodesT>(value); }
139 template<
typename ServiceCodesT = Aws::Vector<Aws::String>>
141 template<
typename ServiceCodesT = Aws::String>
151 template<
typename UsageTypesT = Aws::Vector<Aws::String>>
152 void SetUsageTypes(UsageTypesT&& value) { m_usageTypesHasBeenSet =
true; m_usageTypes = std::forward<UsageTypesT>(value); }
153 template<
typename UsageTypesT = Aws::Vector<Aws::String>>
155 template<
typename UsageTypesT = Aws::String>
166 template<
typename OperationsT = Aws::Vector<Aws::String>>
167 void SetOperations(OperationsT&& value) { m_operationsHasBeenSet =
true; m_operations = std::forward<OperationsT>(value); }
168 template<
typename OperationsT = Aws::Vector<Aws::String>>
170 template<
typename OperationsT = Aws::String>
180 template<
typename FiltersT = Aws::Vector<SavingsPlanOfferingFilterElement>>
181 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
182 template<
typename FiltersT = Aws::Vector<SavingsPlanOfferingFilterElement>>
184 template<
typename FiltersT = SavingsPlanOfferingFilterElement>
194 template<
typename NextTokenT = Aws::String>
195 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
196 template<
typename NextTokenT = Aws::String>
207 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
213 bool m_offeringIdsHasBeenSet =
false;
216 bool m_paymentOptionsHasBeenSet =
false;
219 bool m_productTypeHasBeenSet =
false;
222 bool m_planTypesHasBeenSet =
false;
225 bool m_durationsHasBeenSet =
false;
228 bool m_currenciesHasBeenSet =
false;
231 bool m_descriptionsHasBeenSet =
false;
234 bool m_serviceCodesHasBeenSet =
false;
237 bool m_usageTypesHasBeenSet =
false;
240 bool m_operationsHasBeenSet =
false;
243 bool m_filtersHasBeenSet =
false;
246 bool m_nextTokenHasBeenSet =
false;
249 bool m_maxResultsHasBeenSet =
false;
bool FiltersHasBeenSet() const
const Aws::Vector< Aws::String > & GetDescriptions() const
DescribeSavingsPlansOfferingsRequest & WithOfferingIds(OfferingIdsT &&value)
void SetOfferingIds(OfferingIdsT &&value)
const Aws::Vector< Aws::String > & GetServiceCodes() const
DescribeSavingsPlansOfferingsRequest & WithServiceCodes(ServiceCodesT &&value)
bool MaxResultsHasBeenSet() const
DescribeSavingsPlansOfferingsRequest & WithNextToken(NextTokenT &&value)
DescribeSavingsPlansOfferingsRequest & WithDurations(DurationsT &&value)
const Aws::Vector< Aws::String > & GetUsageTypes() const
DescribeSavingsPlansOfferingsRequest & WithProductType(SavingsPlanProductType value)
AWS_SAVINGSPLANS_API DescribeSavingsPlansOfferingsRequest()=default
DescribeSavingsPlansOfferingsRequest & AddDescriptions(DescriptionsT &&value)
SavingsPlanProductType GetProductType() const
DescribeSavingsPlansOfferingsRequest & AddPlanTypes(SavingsPlanType value)
DescribeSavingsPlansOfferingsRequest & AddUsageTypes(UsageTypesT &&value)
void SetPaymentOptions(PaymentOptionsT &&value)
bool ProductTypeHasBeenSet() const
DescribeSavingsPlansOfferingsRequest & WithMaxResults(int value)
DescribeSavingsPlansOfferingsRequest & WithOperations(OperationsT &&value)
bool UsageTypesHasBeenSet() const
void SetCurrencies(CurrenciesT &&value)
DescribeSavingsPlansOfferingsRequest & AddOfferingIds(OfferingIdsT &&value)
void SetOperations(OperationsT &&value)
DescribeSavingsPlansOfferingsRequest & WithFilters(FiltersT &&value)
void SetDescriptions(DescriptionsT &&value)
DescribeSavingsPlansOfferingsRequest & WithCurrencies(CurrenciesT &&value)
DescribeSavingsPlansOfferingsRequest & AddPaymentOptions(SavingsPlanPaymentOption value)
const Aws::Vector< Aws::String > & GetOperations() const
DescribeSavingsPlansOfferingsRequest & AddCurrencies(CurrencyCode value)
int GetMaxResults() const
DescribeSavingsPlansOfferingsRequest & AddServiceCodes(ServiceCodesT &&value)
DescribeSavingsPlansOfferingsRequest & AddOperations(OperationsT &&value)
DescribeSavingsPlansOfferingsRequest & WithPaymentOptions(PaymentOptionsT &&value)
bool DurationsHasBeenSet() const
void SetProductType(SavingsPlanProductType value)
bool NextTokenHasBeenSet() const
void SetServiceCodes(ServiceCodesT &&value)
DescribeSavingsPlansOfferingsRequest & WithDescriptions(DescriptionsT &&value)
void SetFilters(FiltersT &&value)
DescribeSavingsPlansOfferingsRequest & WithUsageTypes(UsageTypesT &&value)
const Aws::String & GetNextToken() const
DescribeSavingsPlansOfferingsRequest & AddDurations(long long value)
bool OperationsHasBeenSet() const
const Aws::Vector< SavingsPlanOfferingFilterElement > & GetFilters() const
bool PlanTypesHasBeenSet() const
DescribeSavingsPlansOfferingsRequest & AddFilters(FiltersT &&value)
bool PaymentOptionsHasBeenSet() const
AWS_SAVINGSPLANS_API Aws::String SerializePayload() const override
void SetPlanTypes(PlanTypesT &&value)
bool ServiceCodesHasBeenSet() const
void SetMaxResults(int value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< long long > & GetDurations() const
bool DescriptionsHasBeenSet() const
void SetDurations(DurationsT &&value)
const Aws::Vector< CurrencyCode > & GetCurrencies() const
bool OfferingIdsHasBeenSet() const
void SetUsageTypes(UsageTypesT &&value)
bool CurrenciesHasBeenSet() const
const Aws::Vector< Aws::String > & GetOfferingIds() const
const Aws::Vector< SavingsPlanPaymentOption > & GetPaymentOptions() const
const Aws::Vector< SavingsPlanType > & GetPlanTypes() const
DescribeSavingsPlansOfferingsRequest & WithPlanTypes(PlanTypesT &&value)
void SetNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector