7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
11#include <aws/redshift-serverless/model/VpcEndpoint.h>
12#include <aws/redshift-serverless/model/VpcSecurityGroupMembership.h>
23namespace RedshiftServerless {
45 template <
typename AddressT = Aws::String>
47 m_addressHasBeenSet =
true;
48 m_address = std::forward<AddressT>(value);
50 template <
typename AddressT = Aws::String>
63 template <
typename Endpo
intArnT = Aws::String>
65 m_endpointArnHasBeenSet =
true;
66 m_endpointArn = std::forward<EndpointArnT>(value);
68 template <
typename Endpo
intArnT = Aws::String>
81 template <
typename Endpo
intCreateTimeT = Aws::Utils::DateTime>
83 m_endpointCreateTimeHasBeenSet =
true;
84 m_endpointCreateTime = std::forward<EndpointCreateTimeT>(value);
86 template <
typename Endpo
intCreateTimeT = Aws::Utils::DateTime>
99 template <
typename Endpo
intNameT = Aws::String>
101 m_endpointNameHasBeenSet =
true;
102 m_endpointName = std::forward<EndpointNameT>(value);
104 template <
typename Endpo
intNameT = Aws::String>
117 template <
typename Endpo
intStatusT = Aws::String>
119 m_endpointStatusHasBeenSet =
true;
120 m_endpointStatus = std::forward<EndpointStatusT>(value);
122 template <
typename Endpo
intStatusT = Aws::String>
137 m_portHasBeenSet =
true;
153 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
155 m_subnetIdsHasBeenSet =
true;
156 m_subnetIds = std::forward<SubnetIdsT>(value);
158 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
163 template <
typename SubnetIdsT = Aws::String>
165 m_subnetIdsHasBeenSet =
true;
166 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
177 template <
typename VpcEndpo
intT = VpcEndpo
int>
179 m_vpcEndpointHasBeenSet =
true;
180 m_vpcEndpoint = std::forward<VpcEndpointT>(value);
182 template <
typename VpcEndpo
intT = VpcEndpo
int>
195 template <
typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
197 m_vpcSecurityGroupsHasBeenSet =
true;
198 m_vpcSecurityGroups = std::forward<VpcSecurityGroupsT>(value);
200 template <
typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
205 template <
typename VpcSecurityGroupsT = VpcSecurityGroupMembership>
207 m_vpcSecurityGroupsHasBeenSet =
true;
208 m_vpcSecurityGroups.emplace_back(std::forward<VpcSecurityGroupsT>(value));
219 template <
typename WorkgroupNameT = Aws::String>
221 m_workgroupNameHasBeenSet =
true;
222 m_workgroupName = std::forward<WorkgroupNameT>(value);
224 template <
typename WorkgroupNameT = Aws::String>
245 VpcEndpoint m_vpcEndpoint;
250 bool m_addressHasBeenSet =
false;
251 bool m_endpointArnHasBeenSet =
false;
252 bool m_endpointCreateTimeHasBeenSet =
false;
253 bool m_endpointNameHasBeenSet =
false;
254 bool m_endpointStatusHasBeenSet =
false;
255 bool m_portHasBeenSet =
false;
256 bool m_subnetIdsHasBeenSet =
false;
257 bool m_vpcEndpointHasBeenSet =
false;
258 bool m_vpcSecurityGroupsHasBeenSet =
false;
259 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