7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/RDS_EXPORTS.h>
12#include <aws/rds/model/DBProxyEndpointStatus.h>
13#include <aws/rds/model/DBProxyEndpointTargetRole.h>
14#include <aws/rds/model/EndpointNetworkType.h>
54 template <
typename DBProxyEndpo
intNameT = Aws::String>
56 m_dBProxyEndpointNameHasBeenSet =
true;
57 m_dBProxyEndpointName = std::forward<DBProxyEndpointNameT>(value);
59 template <
typename DBProxyEndpo
intNameT = Aws::String>
72 template <
typename DBProxyEndpo
intArnT = Aws::String>
74 m_dBProxyEndpointArnHasBeenSet =
true;
75 m_dBProxyEndpointArn = std::forward<DBProxyEndpointArnT>(value);
77 template <
typename DBProxyEndpo
intArnT = Aws::String>
91 template <
typename DBProxyNameT = Aws::String>
93 m_dBProxyNameHasBeenSet =
true;
94 m_dBProxyName = std::forward<DBProxyNameT>(value);
96 template <
typename DBProxyNameT = Aws::String>
113 m_statusHasBeenSet =
true;
128 template <
typename VpcIdT = Aws::String>
130 m_vpcIdHasBeenSet =
true;
131 m_vpcId = std::forward<VpcIdT>(value);
133 template <
typename VpcIdT = Aws::String>
135 SetVpcId(std::forward<VpcIdT>(value));
147 template <
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
149 m_vpcSecurityGroupIdsHasBeenSet =
true;
150 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
152 template <
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
157 template <
typename VpcSecurityGroupIdsT = Aws::String>
159 m_vpcSecurityGroupIdsHasBeenSet =
true;
160 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
171 template <
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
173 m_vpcSubnetIdsHasBeenSet =
true;
174 m_vpcSubnetIds = std::forward<VpcSubnetIdsT>(value);
176 template <
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
181 template <
typename VpcSubnetIdsT = Aws::String>
183 m_vpcSubnetIdsHasBeenSet =
true;
184 m_vpcSubnetIds.emplace_back(std::forward<VpcSubnetIdsT>(value));
196 template <
typename Endpo
intT = Aws::String>
198 m_endpointHasBeenSet =
true;
199 m_endpoint = std::forward<EndpointT>(value);
201 template <
typename Endpo
intT = Aws::String>
214 template <
typename CreatedDateT = Aws::Utils::DateTime>
216 m_createdDateHasBeenSet =
true;
217 m_createdDate = std::forward<CreatedDateT>(value);
219 template <
typename CreatedDateT = Aws::Utils::DateTime>
234 m_targetRoleHasBeenSet =
true;
235 m_targetRole = value;
253 m_isDefaultHasBeenSet =
true;
274 m_endpointNetworkTypeHasBeenSet =
true;
275 m_endpointNetworkType = value;
303 bool m_isDefault{
false};
306 bool m_dBProxyEndpointNameHasBeenSet =
false;
307 bool m_dBProxyEndpointArnHasBeenSet =
false;
308 bool m_dBProxyNameHasBeenSet =
false;
309 bool m_statusHasBeenSet =
false;
310 bool m_vpcIdHasBeenSet =
false;
311 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
312 bool m_vpcSubnetIdsHasBeenSet =
false;
313 bool m_endpointHasBeenSet =
false;
314 bool m_createdDateHasBeenSet =
false;
315 bool m_targetRoleHasBeenSet =
false;
316 bool m_isDefaultHasBeenSet =
false;
317 bool m_endpointNetworkTypeHasBeenSet =
false;
const Aws::String & GetDBProxyName() const
const Aws::Vector< Aws::String > & GetVpcSubnetIds() const
DBProxyEndpoint & WithDBProxyName(DBProxyNameT &&value)
DBProxyEndpoint & WithCreatedDate(CreatedDateT &&value)
DBProxyEndpoint & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
bool DBProxyNameHasBeenSet() const
void SetCreatedDate(CreatedDateT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
const Aws::String & GetDBProxyEndpointName() const
void SetTargetRole(DBProxyEndpointTargetRole value)
bool VpcSubnetIdsHasBeenSet() const
DBProxyEndpointStatus GetStatus() const
bool DBProxyEndpointNameHasBeenSet() const
DBProxyEndpoint & AddVpcSubnetIds(VpcSubnetIdsT &&value)
bool TargetRoleHasBeenSet() const
bool CreatedDateHasBeenSet() const
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
bool GetIsDefault() const
DBProxyEndpoint & WithDBProxyEndpointArn(DBProxyEndpointArnT &&value)
AWS_RDS_API DBProxyEndpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
DBProxyEndpoint & WithStatus(DBProxyEndpointStatus value)
void SetVpcId(VpcIdT &&value)
DBProxyEndpointTargetRole GetTargetRole() const
const Aws::String & GetEndpoint() const
DBProxyEndpoint & WithVpcId(VpcIdT &&value)
void SetDBProxyEndpointArn(DBProxyEndpointArnT &&value)
bool EndpointNetworkTypeHasBeenSet() const
bool DBProxyEndpointArnHasBeenSet() const
void SetDBProxyName(DBProxyNameT &&value)
DBProxyEndpoint & WithEndpointNetworkType(EndpointNetworkType value)
DBProxyEndpoint & WithIsDefault(bool value)
bool VpcSecurityGroupIdsHasBeenSet() const
DBProxyEndpoint & WithVpcSubnetIds(VpcSubnetIdsT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetVpcId() const
DBProxyEndpoint & WithEndpoint(EndpointT &&value)
void SetVpcSubnetIds(VpcSubnetIdsT &&value)
bool EndpointHasBeenSet() const
bool VpcIdHasBeenSet() const
EndpointNetworkType GetEndpointNetworkType() const
void SetEndpoint(EndpointT &&value)
DBProxyEndpoint & WithTargetRole(DBProxyEndpointTargetRole value)
void SetEndpointNetworkType(EndpointNetworkType value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStatus(DBProxyEndpointStatus value)
void SetDBProxyEndpointName(DBProxyEndpointNameT &&value)
DBProxyEndpoint & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
AWS_RDS_API DBProxyEndpoint()=default
DBProxyEndpoint & WithDBProxyEndpointName(DBProxyEndpointNameT &&value)
bool StatusHasBeenSet() const
AWS_RDS_API DBProxyEndpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool IsDefaultHasBeenSet() const
void SetIsDefault(bool value)
const Aws::String & GetDBProxyEndpointArn() const
DBProxyEndpointTargetRole
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream