7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
9#include <aws/opensearchserverless/model/CollectionFilters.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace OpenSearchServerless
57 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
72 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
80 bool m_collectionFiltersHasBeenSet =
false;
83 bool m_maxResultsHasBeenSet =
false;
86 bool m_nextTokenHasBeenSet =
false;
bool NextTokenHasBeenSet() const
bool MaxResultsHasBeenSet() const
const Aws::String & GetNextToken() const
ListCollectionsRequest & WithNextToken(Aws::String &&value)
ListCollectionsRequest & WithCollectionFilters(const CollectionFilters &value)
void SetNextToken(const Aws::String &value)
void SetMaxResults(int value)
void SetNextToken(Aws::String &&value)
void SetCollectionFilters(const CollectionFilters &value)
virtual const char * GetServiceRequestName() const override
ListCollectionsRequest & WithMaxResults(int value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const CollectionFilters & GetCollectionFilters() const
bool CollectionFiltersHasBeenSet() const
ListCollectionsRequest & WithNextToken(const Aws::String &value)
void SetNextToken(const char *value)
AWS_OPENSEARCHSERVERLESS_API ListCollectionsRequest()
ListCollectionsRequest & WithNextToken(const char *value)
ListCollectionsRequest & WithCollectionFilters(CollectionFilters &&value)
void SetCollectionFilters(CollectionFilters &&value)
int GetMaxResults() const
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String