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; }
56 template<
typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
58 template<
typename NextTokenT = Aws::String>
69 template<
typename OwnerAccountT = Aws::String>
70 void SetOwnerAccount(OwnerAccountT&& value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount = std::forward<OwnerAccountT>(value); }
71 template<
typename OwnerAccountT = Aws::String>
77 bool m_maxResultsHasBeenSet =
false;
80 bool m_nextTokenHasBeenSet =
false;
83 bool m_ownerAccountHasBeenSet =
false;
ListWorkgroupsRequest & WithOwnerAccount(OwnerAccountT &&value)
int GetMaxResults() const
bool OwnerAccountHasBeenSet() const
void SetNextToken(NextTokenT &&value)
ListWorkgroupsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
bool MaxResultsHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API ListWorkgroupsRequest()=default
const Aws::String & GetOwnerAccount() const
bool NextTokenHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
void SetOwnerAccount(OwnerAccountT &&value)
ListWorkgroupsRequest & WithMaxResults(int value)
const Aws::String & GetNextToken() const
void SetMaxResults(int value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String