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
51 template<
typename AddressT = Aws::String>
52 void SetAddress(AddressT&& value) { m_addressHasBeenSet =
true; m_address = std::forward<AddressT>(value); }
53 template<
typename AddressT = Aws::String>
63 template<
typename Endpo
intArnT = Aws::String>
64 void SetEndpointArn(EndpointArnT&& value) { m_endpointArnHasBeenSet =
true; m_endpointArn = std::forward<EndpointArnT>(value); }
65 template<
typename Endpo
intArnT = Aws::String>
75 template<
typename Endpo
intCreateTimeT = Aws::Utils::DateTime>
76 void SetEndpointCreateTime(EndpointCreateTimeT&& value) { m_endpointCreateTimeHasBeenSet =
true; m_endpointCreateTime = std::forward<EndpointCreateTimeT>(value); }
77 template<
typename Endpo
intCreateTimeT = Aws::Utils::DateTime>
87 template<
typename Endpo
intNameT = Aws::String>
88 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet =
true; m_endpointName = std::forward<EndpointNameT>(value); }
89 template<
typename Endpo
intNameT = Aws::String>
99 template<
typename Endpo
intStatusT = Aws::String>
100 void SetEndpointStatus(EndpointStatusT&& value) { m_endpointStatusHasBeenSet =
true; m_endpointStatus = std::forward<EndpointStatusT>(value); }
101 template<
typename Endpo
intStatusT = Aws::String>
112 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
123 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
124 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
125 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
127 template<
typename SubnetIdsT = Aws::String>
128 EndpointAccess&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
137 template<
typename VpcEndpo
intT = VpcEndpo
int>
138 void SetVpcEndpoint(VpcEndpointT&& value) { m_vpcEndpointHasBeenSet =
true; m_vpcEndpoint = std::forward<VpcEndpointT>(value); }
139 template<
typename VpcEndpo
intT = VpcEndpo
int>
149 template<
typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
150 void SetVpcSecurityGroups(VpcSecurityGroupsT&& value) { m_vpcSecurityGroupsHasBeenSet =
true; m_vpcSecurityGroups = std::forward<VpcSecurityGroupsT>(value); }
151 template<
typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
153 template<
typename VpcSecurityGroupsT = VpcSecurityGroupMembership>
154 EndpointAccess&
AddVpcSecurityGroups(VpcSecurityGroupsT&& value) { m_vpcSecurityGroupsHasBeenSet =
true; m_vpcSecurityGroups.emplace_back(std::forward<VpcSecurityGroupsT>(value));
return *
this; }
163 template<
typename WorkgroupNameT = Aws::String>
164 void SetWorkgroupName(WorkgroupNameT&& value) { m_workgroupNameHasBeenSet =
true; m_workgroupName = std::forward<WorkgroupNameT>(value); }
165 template<
typename WorkgroupNameT = Aws::String>
171 bool m_addressHasBeenSet =
false;
174 bool m_endpointArnHasBeenSet =
false;
177 bool m_endpointCreateTimeHasBeenSet =
false;
180 bool m_endpointNameHasBeenSet =
false;
183 bool m_endpointStatusHasBeenSet =
false;
186 bool m_portHasBeenSet =
false;
189 bool m_subnetIdsHasBeenSet =
false;
191 VpcEndpoint m_vpcEndpoint;
192 bool m_vpcEndpointHasBeenSet =
false;
195 bool m_vpcSecurityGroupsHasBeenSet =
false;
198 bool m_workgroupNameHasBeenSet =
false;
AWS_REDSHIFTSERVERLESS_API EndpointAccess()=default
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetWorkgroupName() const
EndpointAccess & WithVpcSecurityGroups(VpcSecurityGroupsT &&value)
const Aws::String & GetEndpointName() const
EndpointAccess & AddVpcSecurityGroups(VpcSecurityGroupsT &&value)
bool SubnetIdsHasBeenSet() const
void SetEndpointStatus(EndpointStatusT &&value)
bool PortHasBeenSet() const
void SetEndpointName(EndpointNameT &&value)
EndpointAccess & WithVpcEndpoint(VpcEndpointT &&value)
void SetWorkgroupName(WorkgroupNameT &&value)
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
void SetEndpointArn(EndpointArnT &&value)
bool AddressHasBeenSet() const
EndpointAccess & WithEndpointCreateTime(EndpointCreateTimeT &&value)
void SetVpcSecurityGroups(VpcSecurityGroupsT &&value)
EndpointAccess & WithSubnetIds(SubnetIdsT &&value)
EndpointAccess & WithPort(int value)
bool EndpointStatusHasBeenSet() const
EndpointAccess & WithEndpointName(EndpointNameT &&value)
const Aws::String & GetAddress() const
void SetEndpointCreateTime(EndpointCreateTimeT &&value)
EndpointAccess & AddSubnetIds(SubnetIdsT &&value)
void SetAddress(AddressT &&value)
AWS_REDSHIFTSERVERLESS_API EndpointAccess(Aws::Utils::Json::JsonView jsonValue)
AWS_REDSHIFTSERVERLESS_API EndpointAccess & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EndpointCreateTimeHasBeenSet() const
bool VpcEndpointHasBeenSet() const
EndpointAccess & WithWorkgroupName(WorkgroupNameT &&value)
bool EndpointNameHasBeenSet() const
const Aws::String & GetEndpointStatus() const
bool EndpointArnHasBeenSet() const
const VpcEndpoint & GetVpcEndpoint() const
const Aws::Utils::DateTime & GetEndpointCreateTime() const
bool VpcSecurityGroupsHasBeenSet() const
void SetVpcEndpoint(VpcEndpointT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
EndpointAccess & WithEndpointArn(EndpointArnT &&value)
void SetSubnetIds(SubnetIdsT &&value)
EndpointAccess & WithAddress(AddressT &&value)
const Aws::String & GetEndpointArn() const
bool WorkgroupNameHasBeenSet() const
EndpointAccess & WithEndpointStatus(EndpointStatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue