7#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
8#include <aws/resource-explorer-2/ResourceExplorer2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/resource-explorer-2/model/IndexType.h>
16namespace ResourceExplorer2
52 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
67 template<
typename NextTokenT = Aws::String>
68 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
69 template<
typename NextTokenT = Aws::String>
80 template<
typename RegionsT = Aws::Vector<Aws::String>>
81 void SetRegions(RegionsT&& value) { m_regionsHasBeenSet =
true; m_regions = std::forward<RegionsT>(value); }
82 template<
typename RegionsT = Aws::Vector<Aws::String>>
84 template<
typename RegionsT = Aws::String>
85 ListIndexesRequest&
AddRegions(RegionsT&& value) { m_regionsHasBeenSet =
true; m_regions.emplace_back(std::forward<RegionsT>(value));
return *
this; }
102 bool m_maxResultsHasBeenSet =
false;
105 bool m_nextTokenHasBeenSet =
false;
108 bool m_regionsHasBeenSet =
false;
111 bool m_typeHasBeenSet =
false;
IndexType GetType() const
void SetMaxResults(int value)
void SetType(IndexType value)
ListIndexesRequest & WithMaxResults(int value)
bool TypeHasBeenSet() const
const Aws::Vector< Aws::String > & GetRegions() const
virtual const char * GetServiceRequestName() const override
ListIndexesRequest & WithNextToken(NextTokenT &&value)
ListIndexesRequest & WithRegions(RegionsT &&value)
bool MaxResultsHasBeenSet() const
AWS_RESOURCEEXPLORER2_API ListIndexesRequest()=default
ListIndexesRequest & AddRegions(RegionsT &&value)
void SetNextToken(NextTokenT &&value)
bool RegionsHasBeenSet() const
bool NextTokenHasBeenSet() const
void SetRegions(RegionsT &&value)
ListIndexesRequest & WithType(IndexType value)
const Aws::String & GetNextToken() const
int GetMaxResults() const
AWS_RESOURCEEXPLORER2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector