7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15namespace RedshiftServerless
48 inline void SetEndpointName(
const char* value) { m_endpointNameHasBeenSet =
true; m_endpointName.assign(value); }
63 inline void SetOwnerAccount(
const char* value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount.assign(value); }
110 inline void SetWorkgroupName(
const char* value) { m_workgroupNameHasBeenSet =
true; m_workgroupName.assign(value); }
118 bool m_endpointNameHasBeenSet =
false;
121 bool m_ownerAccountHasBeenSet =
false;
124 bool m_subnetIdsHasBeenSet =
false;
127 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
130 bool m_workgroupNameHasBeenSet =
false;
CreateEndpointAccessRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
CreateEndpointAccessRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateEndpointAccessRequest & WithWorkgroupName(const char *value)
const Aws::String & GetEndpointName() const
CreateEndpointAccessRequest & AddVpcSecurityGroupIds(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
void SetOwnerAccount(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API CreateEndpointAccessRequest()
CreateEndpointAccessRequest & WithOwnerAccount(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateEndpointAccessRequest & WithEndpointName(const Aws::String &value)
bool VpcSecurityGroupIdsHasBeenSet() const
CreateEndpointAccessRequest & AddVpcSecurityGroupIds(const char *value)
CreateEndpointAccessRequest & WithEndpointName(Aws::String &&value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
void SetEndpointName(const Aws::String &value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
CreateEndpointAccessRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateEndpointAccessRequest & WithWorkgroupName(Aws::String &&value)
bool SubnetIdsHasBeenSet() const
CreateEndpointAccessRequest & WithOwnerAccount(Aws::String &&value)
CreateEndpointAccessRequest & WithEndpointName(const char *value)
bool EndpointNameHasBeenSet() const
CreateEndpointAccessRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetWorkgroupName(const char *value)
CreateEndpointAccessRequest & AddSubnetIds(const char *value)
const Aws::String & GetOwnerAccount() const
bool OwnerAccountHasBeenSet() const
const Aws::String & GetWorkgroupName() const
CreateEndpointAccessRequest & AddVpcSecurityGroupIds(const Aws::String &value)
CreateEndpointAccessRequest & WithWorkgroupName(const Aws::String &value)
void SetOwnerAccount(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
void SetWorkgroupName(const Aws::String &value)
bool WorkgroupNameHasBeenSet() const
void SetOwnerAccount(const char *value)
CreateEndpointAccessRequest & WithOwnerAccount(const char *value)
CreateEndpointAccessRequest & AddSubnetIds(const Aws::String &value)
void SetEndpointName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
void SetWorkgroupName(Aws::String &&value)
CreateEndpointAccessRequest & AddSubnetIds(Aws::String &&value)
void SetEndpointName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector