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/SavingsPlanState.h>
12#include <aws/savingsplans/model/SavingsPlanFilter.h>
76 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
89 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
123 bool m_savingsPlanArnsHasBeenSet =
false;
126 bool m_savingsPlanIdsHasBeenSet =
false;
129 bool m_nextTokenHasBeenSet =
false;
132 bool m_maxResultsHasBeenSet =
false;
135 bool m_statesHasBeenSet =
false;
138 bool m_filtersHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetSavingsPlanArns() const
DescribeSavingsPlansRequest & WithNextToken(Aws::String &&value)
DescribeSavingsPlansRequest & AddSavingsPlanIds(const Aws::String &value)
void SetSavingsPlanIds(Aws::Vector< Aws::String > &&value)
bool StatesHasBeenSet() const
DescribeSavingsPlansRequest & WithFilters(const Aws::Vector< SavingsPlanFilter > &value)
DescribeSavingsPlansRequest & WithSavingsPlanIds(const Aws::Vector< Aws::String > &value)
DescribeSavingsPlansRequest & WithSavingsPlanArns(const Aws::Vector< Aws::String > &value)
DescribeSavingsPlansRequest & AddFilters(SavingsPlanFilter &&value)
void SetStates(Aws::Vector< SavingsPlanState > &&value)
DescribeSavingsPlansRequest & AddSavingsPlanIds(const char *value)
DescribeSavingsPlansRequest & WithNextToken(const Aws::String &value)
int GetMaxResults() const
const Aws::Vector< SavingsPlanFilter > & GetFilters() const
AWS_SAVINGSPLANS_API DescribeSavingsPlansRequest()
virtual const char * GetServiceRequestName() const override
void SetNextToken(const Aws::String &value)
AWS_SAVINGSPLANS_API Aws::String SerializePayload() const override
const Aws::Vector< SavingsPlanState > & GetStates() const
DescribeSavingsPlansRequest & WithSavingsPlanArns(Aws::Vector< Aws::String > &&value)
void SetNextToken(const char *value)
void SetSavingsPlanIds(const Aws::Vector< Aws::String > &value)
bool SavingsPlanIdsHasBeenSet() const
DescribeSavingsPlansRequest & AddSavingsPlanIds(Aws::String &&value)
void SetStates(const Aws::Vector< SavingsPlanState > &value)
void SetMaxResults(int value)
const Aws::String & GetNextToken() const
DescribeSavingsPlansRequest & WithSavingsPlanIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSavingsPlanIds() const
DescribeSavingsPlansRequest & AddFilters(const SavingsPlanFilter &value)
bool SavingsPlanArnsHasBeenSet() const
void SetFilters(const Aws::Vector< SavingsPlanFilter > &value)
void SetNextToken(Aws::String &&value)
void SetFilters(Aws::Vector< SavingsPlanFilter > &&value)
void SetSavingsPlanArns(Aws::Vector< Aws::String > &&value)
DescribeSavingsPlansRequest & AddSavingsPlanArns(Aws::String &&value)
DescribeSavingsPlansRequest & WithFilters(Aws::Vector< SavingsPlanFilter > &&value)
bool NextTokenHasBeenSet() const
bool MaxResultsHasBeenSet() const
bool FiltersHasBeenSet() const
DescribeSavingsPlansRequest & WithNextToken(const char *value)
DescribeSavingsPlansRequest & AddSavingsPlanArns(const char *value)
DescribeSavingsPlansRequest & AddStates(const SavingsPlanState &value)
DescribeSavingsPlansRequest & AddSavingsPlanArns(const Aws::String &value)
DescribeSavingsPlansRequest & WithMaxResults(int value)
DescribeSavingsPlansRequest & WithStates(const Aws::Vector< SavingsPlanState > &value)
DescribeSavingsPlansRequest & WithStates(Aws::Vector< SavingsPlanState > &&value)
DescribeSavingsPlansRequest & AddStates(SavingsPlanState &&value)
void SetSavingsPlanArns(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector