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/SavingsPlanRateFilter.h>
16namespace SavingsPlans {
39 template <
typename SavingsPlanIdT = Aws::String>
41 m_savingsPlanIdHasBeenSet =
true;
42 m_savingsPlanId = std::forward<SavingsPlanIdT>(value);
44 template <
typename SavingsPlanIdT = Aws::String>
57 template <
typename FiltersT = Aws::Vector<SavingsPlanRateFilter>>
59 m_filtersHasBeenSet =
true;
60 m_filters = std::forward<FiltersT>(value);
62 template <
typename FiltersT = Aws::Vector<SavingsPlanRateFilter>>
67 template <
typename FiltersT = SavingsPlanRateFilter>
69 m_filtersHasBeenSet =
true;
70 m_filters.emplace_back(std::forward<FiltersT>(value));
81 template <
typename NextTokenT = Aws::String>
83 m_nextTokenHasBeenSet =
true;
84 m_nextToken = std::forward<NextTokenT>(value);
86 template <
typename NextTokenT = Aws::String>
101 m_maxResultsHasBeenSet =
true;
102 m_maxResults = value;
117 bool m_savingsPlanIdHasBeenSet =
false;
118 bool m_filtersHasBeenSet =
false;
119 bool m_nextTokenHasBeenSet =
false;
120 bool m_maxResultsHasBeenSet =
false;
bool MaxResultsHasBeenSet() const
AWS_SAVINGSPLANS_API DescribeSavingsPlanRatesRequest()=default
DescribeSavingsPlanRatesRequest & WithSavingsPlanId(SavingsPlanIdT &&value)
bool NextTokenHasBeenSet() const
bool SavingsPlanIdHasBeenSet() const
bool FiltersHasBeenSet() const
void SetMaxResults(int value)
virtual const char * GetServiceRequestName() const override
DescribeSavingsPlanRatesRequest & WithNextToken(NextTokenT &&value)
DescribeSavingsPlanRatesRequest & WithFilters(FiltersT &&value)
AWS_SAVINGSPLANS_API Aws::String SerializePayload() const override
const Aws::Vector< SavingsPlanRateFilter > & GetFilters() const
void SetNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
DescribeSavingsPlanRatesRequest & AddFilters(FiltersT &&value)
void SetSavingsPlanId(SavingsPlanIdT &&value)
DescribeSavingsPlanRatesRequest & WithMaxResults(int value)
int GetMaxResults() const
void SetFilters(FiltersT &&value)
const Aws::String & GetSavingsPlanId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector