7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/savingsplans/SavingsPlansRequest.h>
10#include <aws/savingsplans/SavingsPlans_EXPORTS.h>
11#include <aws/savingsplans/model/CurrencyCode.h>
12#include <aws/savingsplans/model/SavingsPlanOfferingFilterElement.h>
13#include <aws/savingsplans/model/SavingsPlanPaymentOption.h>
14#include <aws/savingsplans/model/SavingsPlanProductType.h>
15#include <aws/savingsplans/model/SavingsPlanType.h>
20namespace SavingsPlans {
43 template <
typename OfferingIdsT = Aws::Vector<Aws::String>>
45 m_offeringIdsHasBeenSet =
true;
46 m_offeringIds = std::forward<OfferingIdsT>(value);
48 template <
typename OfferingIdsT = Aws::Vector<Aws::String>>
53 template <
typename OfferingIdsT = Aws::String>
55 m_offeringIdsHasBeenSet =
true;
56 m_offeringIds.emplace_back(std::forward<OfferingIdsT>(value));
67 template <
typename PaymentOptionsT = Aws::Vector<SavingsPlanPaymentOption>>
69 m_paymentOptionsHasBeenSet =
true;
70 m_paymentOptions = std::forward<PaymentOptionsT>(value);
72 template <
typename PaymentOptionsT = Aws::Vector<SavingsPlanPaymentOption>>
78 m_paymentOptionsHasBeenSet =
true;
79 m_paymentOptions.push_back(value);
91 m_productTypeHasBeenSet =
true;
92 m_productType = value;
106 template <
typename PlanTypesT = Aws::Vector<SavingsPlanType>>
108 m_planTypesHasBeenSet =
true;
109 m_planTypes = std::forward<PlanTypesT>(value);
111 template <
typename PlanTypesT = Aws::Vector<SavingsPlanType>>
117 m_planTypesHasBeenSet =
true;
118 m_planTypes.push_back(value);
129 template <
typename DurationsT = Aws::Vector<
long long>>
131 m_durationsHasBeenSet =
true;
132 m_durations = std::forward<DurationsT>(value);
134 template <
typename DurationsT = Aws::Vector<
long long>>
140 m_durationsHasBeenSet =
true;
141 m_durations.push_back(value);
152 template <
typename CurrenciesT = Aws::Vector<CurrencyCode>>
154 m_currenciesHasBeenSet =
true;
155 m_currencies = std::forward<CurrenciesT>(value);
157 template <
typename CurrenciesT = Aws::Vector<CurrencyCode>>
163 m_currenciesHasBeenSet =
true;
164 m_currencies.push_back(value);
175 template <
typename DescriptionsT = Aws::Vector<Aws::String>>
177 m_descriptionsHasBeenSet =
true;
178 m_descriptions = std::forward<DescriptionsT>(value);
180 template <
typename DescriptionsT = Aws::Vector<Aws::String>>
185 template <
typename DescriptionsT = Aws::String>
187 m_descriptionsHasBeenSet =
true;
188 m_descriptions.emplace_back(std::forward<DescriptionsT>(value));
199 template <
typename ServiceCodesT = Aws::Vector<Aws::String>>
201 m_serviceCodesHasBeenSet =
true;
202 m_serviceCodes = std::forward<ServiceCodesT>(value);
204 template <
typename ServiceCodesT = Aws::Vector<Aws::String>>
209 template <
typename ServiceCodesT = Aws::String>
211 m_serviceCodesHasBeenSet =
true;
212 m_serviceCodes.emplace_back(std::forward<ServiceCodesT>(value));
223 template <
typename UsageTypesT = Aws::Vector<Aws::String>>
225 m_usageTypesHasBeenSet =
true;
226 m_usageTypes = std::forward<UsageTypesT>(value);
228 template <
typename UsageTypesT = Aws::Vector<Aws::String>>
233 template <
typename UsageTypesT = Aws::String>
235 m_usageTypesHasBeenSet =
true;
236 m_usageTypes.emplace_back(std::forward<UsageTypesT>(value));
248 template <
typename OperationsT = Aws::Vector<Aws::String>>
250 m_operationsHasBeenSet =
true;
251 m_operations = std::forward<OperationsT>(value);
253 template <
typename OperationsT = Aws::Vector<Aws::String>>
258 template <
typename OperationsT = Aws::String>
260 m_operationsHasBeenSet =
true;
261 m_operations.emplace_back(std::forward<OperationsT>(value));
272 template <
typename FiltersT = Aws::Vector<SavingsPlanOfferingFilterElement>>
274 m_filtersHasBeenSet =
true;
275 m_filters = std::forward<FiltersT>(value);
277 template <
typename FiltersT = Aws::Vector<SavingsPlanOfferingFilterElement>>
282 template <
typename FiltersT = SavingsPlanOfferingFilterElement>
284 m_filtersHasBeenSet =
true;
285 m_filters.emplace_back(std::forward<FiltersT>(value));
296 template <
typename NextTokenT = Aws::String>
298 m_nextTokenHasBeenSet =
true;
299 m_nextToken = std::forward<NextTokenT>(value);
301 template <
typename NextTokenT = Aws::String>
316 m_maxResultsHasBeenSet =
true;
317 m_maxResults = value;
326 bool m_offeringIdsHasBeenSet =
false;
329 bool m_paymentOptionsHasBeenSet =
false;
332 bool m_productTypeHasBeenSet =
false;
335 bool m_planTypesHasBeenSet =
false;
338 bool m_durationsHasBeenSet =
false;
341 bool m_currenciesHasBeenSet =
false;
344 bool m_descriptionsHasBeenSet =
false;
347 bool m_serviceCodesHasBeenSet =
false;
350 bool m_usageTypesHasBeenSet =
false;
353 bool m_operationsHasBeenSet =
false;
356 bool m_filtersHasBeenSet =
false;
359 bool m_nextTokenHasBeenSet =
false;
362 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