7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/PrometheusServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
18namespace PrometheusService
56 inline void SetAlias(
const char* value) { m_aliasHasBeenSet =
true; m_alias.assign(value); }
69 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
87 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
95 bool m_aliasHasBeenSet =
false;
98 bool m_maxResultsHasBeenSet =
false;
101 bool m_nextTokenHasBeenSet =
false;
void SetNextToken(const char *value)
ListWorkspacesRequest & WithMaxResults(int value)
const Aws::String & GetNextToken() const
void SetNextToken(Aws::String &&value)
ListWorkspacesRequest & WithAlias(const char *value)
AWS_PROMETHEUSSERVICE_API ListWorkspacesRequest()
virtual const char * GetServiceRequestName() const override
void SetNextToken(const Aws::String &value)
ListWorkspacesRequest & WithAlias(const Aws::String &value)
void SetAlias(const Aws::String &value)
bool MaxResultsHasBeenSet() const
ListWorkspacesRequest & WithAlias(Aws::String &&value)
ListWorkspacesRequest & WithNextToken(const Aws::String &value)
ListWorkspacesRequest & WithNextToken(Aws::String &&value)
const Aws::String & GetAlias() const
AWS_PROMETHEUSSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool NextTokenHasBeenSet() const
void SetAlias(Aws::String &&value)
bool AliasHasBeenSet() const
void SetMaxResults(int value)
void SetAlias(const char *value)
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
int GetMaxResults() const
ListWorkspacesRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String