7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace RedshiftServerless
44 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
58 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
73 inline void SetOwnerAccount(
const char* value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount.assign(value); }
81 bool m_maxResultsHasBeenSet =
false;
84 bool m_nextTokenHasBeenSet =
false;
87 bool m_ownerAccountHasBeenSet =
false;
ListWorkgroupsRequest & WithOwnerAccount(const char *value)
int GetMaxResults() const
ListWorkgroupsRequest & WithNextToken(const char *value)
bool OwnerAccountHasBeenSet() const
void SetNextToken(const char *value)
void SetOwnerAccount(const char *value)
void SetNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetOwnerAccount(const Aws::String &value)
bool MaxResultsHasBeenSet() const
const Aws::String & GetOwnerAccount() const
ListWorkgroupsRequest & WithNextToken(Aws::String &&value)
void SetOwnerAccount(Aws::String &&value)
ListWorkgroupsRequest & WithNextToken(const Aws::String &value)
bool NextTokenHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
AWS_REDSHIFTSERVERLESS_API ListWorkgroupsRequest()
ListWorkgroupsRequest & WithMaxResults(int value)
const Aws::String & GetNextToken() const
void SetNextToken(const Aws::String &value)
void SetMaxResults(int value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListWorkgroupsRequest & WithOwnerAccount(Aws::String &&value)
ListWorkgroupsRequest & WithOwnerAccount(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String