7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift-serverless/model/VpcEndpoint.h>
12#include <aws/redshift-serverless/model/VpcSecurityGroupMembership.h>
25namespace RedshiftServerless
53 inline void SetAddress(
const char* value) { m_addressHasBeenSet =
true; m_address.assign(value); }
67 inline void SetEndpointArn(
const char* value) { m_endpointArnHasBeenSet =
true; m_endpointArn.assign(value); }
93 inline void SetEndpointName(
const char* value) { m_endpointNameHasBeenSet =
true; m_endpointName.assign(value); }
107 inline void SetEndpointStatus(
const char* value) { m_endpointStatusHasBeenSet =
true; m_endpointStatus.assign(value); }
120 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
174 inline void SetWorkgroupName(
const char* value) { m_workgroupNameHasBeenSet =
true; m_workgroupName.assign(value); }
182 bool m_addressHasBeenSet =
false;
185 bool m_endpointArnHasBeenSet =
false;
188 bool m_endpointCreateTimeHasBeenSet =
false;
191 bool m_endpointNameHasBeenSet =
false;
194 bool m_endpointStatusHasBeenSet =
false;
197 bool m_portHasBeenSet =
false;
200 bool m_subnetIdsHasBeenSet =
false;
203 bool m_vpcEndpointHasBeenSet =
false;
206 bool m_vpcSecurityGroupsHasBeenSet =
false;
209 bool m_workgroupNameHasBeenSet =
false;
EndpointAccess & AddSubnetIds(const Aws::String &value)
void SetEndpointArn(const char *value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetWorkgroupName() const
EndpointAccess & WithEndpointName(Aws::String &&value)
const Aws::String & GetEndpointName() const
void SetEndpointCreateTime(Aws::Utils::DateTime &&value)
EndpointAccess & WithVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
bool SubnetIdsHasBeenSet() const
bool PortHasBeenSet() const
EndpointAccess & WithVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
void SetEndpointStatus(const char *value)
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
void SetEndpointStatus(const Aws::String &value)
bool AddressHasBeenSet() const
void SetEndpointName(const char *value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
void SetWorkgroupName(const char *value)
EndpointAccess & WithPort(int value)
EndpointAccess & WithSubnetIds(Aws::Vector< Aws::String > &&value)
bool EndpointStatusHasBeenSet() const
EndpointAccess & AddVpcSecurityGroups(VpcSecurityGroupMembership &&value)
void SetAddress(const Aws::String &value)
void SetEndpointArn(const Aws::String &value)
EndpointAccess & WithVpcEndpoint(const VpcEndpoint &value)
EndpointAccess & AddSubnetIds(Aws::String &&value)
void SetEndpointArn(Aws::String &&value)
EndpointAccess & WithEndpointName(const char *value)
EndpointAccess & AddVpcSecurityGroups(const VpcSecurityGroupMembership &value)
const Aws::String & GetAddress() const
EndpointAccess & WithAddress(const Aws::String &value)
void SetVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
EndpointAccess & WithEndpointStatus(const Aws::String &value)
EndpointAccess & WithWorkgroupName(const char *value)
EndpointAccess & WithWorkgroupName(const Aws::String &value)
void SetEndpointStatus(Aws::String &&value)
void SetAddress(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API EndpointAccess(Aws::Utils::Json::JsonView jsonValue)
EndpointAccess & WithEndpointArn(const Aws::String &value)
void SetEndpointCreateTime(const Aws::Utils::DateTime &value)
EndpointAccess & WithWorkgroupName(Aws::String &&value)
EndpointAccess & WithEndpointCreateTime(const Aws::Utils::DateTime &value)
EndpointAccess & WithEndpointName(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API EndpointAccess & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAddress(const char *value)
AWS_REDSHIFTSERVERLESS_API EndpointAccess()
bool EndpointCreateTimeHasBeenSet() const
EndpointAccess & WithVpcEndpoint(VpcEndpoint &&value)
EndpointAccess & WithAddress(const char *value)
EndpointAccess & WithAddress(Aws::String &&value)
bool VpcEndpointHasBeenSet() const
EndpointAccess & WithEndpointArn(const char *value)
void SetEndpointName(Aws::String &&value)
EndpointAccess & WithEndpointStatus(const char *value)
void SetVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
void SetWorkgroupName(Aws::String &&value)
bool EndpointNameHasBeenSet() const
EndpointAccess & AddSubnetIds(const char *value)
const Aws::String & GetEndpointStatus() const
bool EndpointArnHasBeenSet() const
EndpointAccess & WithEndpointStatus(Aws::String &&value)
void SetEndpointName(const Aws::String &value)
const VpcEndpoint & GetVpcEndpoint() const
EndpointAccess & WithEndpointCreateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndpointCreateTime() const
EndpointAccess & WithEndpointArn(Aws::String &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
void SetWorkgroupName(const Aws::String &value)
bool VpcSecurityGroupsHasBeenSet() const
EndpointAccess & WithSubnetIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetVpcEndpoint(const VpcEndpoint &value)
void SetVpcEndpoint(VpcEndpoint &&value)
const Aws::String & GetEndpointArn() const
bool WorkgroupNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue