7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
18namespace OpenSearchService
52 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
67 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
75 bool m_maxResultsHasBeenSet =
false;
78 bool m_nextTokenHasBeenSet =
false;
void SetNextToken(const Aws::String &value)
bool NextTokenHasBeenSet() const
ListVersionsRequest & WithNextToken(const Aws::String &value)
ListVersionsRequest & WithNextToken(const char *value)
void SetNextToken(const char *value)
const Aws::String & GetNextToken() const
void SetMaxResults(int value)
int GetMaxResults() const
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
ListVersionsRequest & WithNextToken(Aws::String &&value)
bool MaxResultsHasBeenSet() const
ListVersionsRequest & WithMaxResults(int value)
AWS_OPENSEARCHSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_OPENSEARCHSERVICE_API ListVersionsRequest()
virtual const char * GetServiceRequestName() const override
void SetNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String