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; }
59 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
74 inline void SetOwnerAccount(
const char* value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount.assign(value); }
89 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
103 inline void SetWorkgroupName(
const char* value) { m_workgroupNameHasBeenSet =
true; m_workgroupName.assign(value); }
111 bool m_maxResultsHasBeenSet =
false;
114 bool m_nextTokenHasBeenSet =
false;
117 bool m_ownerAccountHasBeenSet =
false;
120 bool m_vpcIdHasBeenSet =
false;
123 bool m_workgroupNameHasBeenSet =
false;
ListEndpointAccessRequest & WithVpcId(Aws::String &&value)
ListEndpointAccessRequest & WithNextToken(const char *value)
const Aws::String & GetWorkgroupName() const
ListEndpointAccessRequest & WithOwnerAccount(const char *value)
ListEndpointAccessRequest & WithVpcId(const Aws::String &value)
ListEndpointAccessRequest & WithMaxResults(int value)
void SetOwnerAccount(const char *value)
ListEndpointAccessRequest & WithOwnerAccount(Aws::String &&value)
bool OwnerAccountHasBeenSet() const
void SetOwnerAccount(Aws::String &&value)
ListEndpointAccessRequest & WithWorkgroupName(const Aws::String &value)
bool NextTokenHasBeenSet() const
const Aws::String & GetNextToken() const
const Aws::String & GetOwnerAccount() const
bool VpcIdHasBeenSet() const
void SetNextToken(Aws::String &&value)
void SetNextToken(const char *value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
bool MaxResultsHasBeenSet() const
const Aws::String & GetVpcId() const
ListEndpointAccessRequest & WithNextToken(Aws::String &&value)
ListEndpointAccessRequest & WithNextToken(const Aws::String &value)
void SetVpcId(const char *value)
void SetNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetOwnerAccount(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API ListEndpointAccessRequest()
ListEndpointAccessRequest & WithOwnerAccount(const Aws::String &value)
void SetVpcId(const Aws::String &value)
ListEndpointAccessRequest & WithWorkgroupName(Aws::String &&value)
void SetWorkgroupName(const Aws::String &value)
void SetWorkgroupName(const char *value)
void SetVpcId(Aws::String &&value)
bool WorkgroupNameHasBeenSet() const
void SetWorkgroupName(Aws::String &&value)
ListEndpointAccessRequest & WithWorkgroupName(const char *value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListEndpointAccessRequest & WithVpcId(const char *value)
void SetMaxResults(int value)
int GetMaxResults() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String