7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rds/model/DBProxyEndpointStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/rds/model/DBProxyEndpointTargetRole.h>
59 template<
typename DBProxyEndpo
intNameT = Aws::String>
60 void SetDBProxyEndpointName(DBProxyEndpointNameT&& value) { m_dBProxyEndpointNameHasBeenSet =
true; m_dBProxyEndpointName = std::forward<DBProxyEndpointNameT>(value); }
61 template<
typename DBProxyEndpo
intNameT = Aws::String>
71 template<
typename DBProxyEndpo
intArnT = Aws::String>
72 void SetDBProxyEndpointArn(DBProxyEndpointArnT&& value) { m_dBProxyEndpointArnHasBeenSet =
true; m_dBProxyEndpointArn = std::forward<DBProxyEndpointArnT>(value); }
73 template<
typename DBProxyEndpo
intArnT = Aws::String>
84 template<
typename DBProxyNameT = Aws::String>
85 void SetDBProxyName(DBProxyNameT&& value) { m_dBProxyNameHasBeenSet =
true; m_dBProxyName = std::forward<DBProxyNameT>(value); }
86 template<
typename DBProxyNameT = Aws::String>
109 template<
typename VpcIdT = Aws::String>
110 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
111 template<
typename VpcIdT = Aws::String>
122 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
123 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
124 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
126 template<
typename VpcSecurityGroupIdsT = Aws::String>
127 DBProxyEndpoint&
AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
return *
this; }
136 template<
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
137 void SetVpcSubnetIds(VpcSubnetIdsT&& value) { m_vpcSubnetIdsHasBeenSet =
true; m_vpcSubnetIds = std::forward<VpcSubnetIdsT>(value); }
138 template<
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
140 template<
typename VpcSubnetIdsT = Aws::String>
141 DBProxyEndpoint&
AddVpcSubnetIds(VpcSubnetIdsT&& value) { m_vpcSubnetIdsHasBeenSet =
true; m_vpcSubnetIds.emplace_back(std::forward<VpcSubnetIdsT>(value));
return *
this; }
151 template<
typename Endpo
intT = Aws::String>
152 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
153 template<
typename Endpo
intT = Aws::String>
163 template<
typename CreatedDateT = Aws::Utils::DateTime>
164 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
165 template<
typename CreatedDateT = Aws::Utils::DateTime>
189 inline void SetIsDefault(
bool value) { m_isDefaultHasBeenSet =
true; m_isDefault = value; }
195 bool m_dBProxyEndpointNameHasBeenSet =
false;
198 bool m_dBProxyEndpointArnHasBeenSet =
false;
201 bool m_dBProxyNameHasBeenSet =
false;
204 bool m_statusHasBeenSet =
false;
207 bool m_vpcIdHasBeenSet =
false;
210 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
213 bool m_vpcSubnetIdsHasBeenSet =
false;
216 bool m_endpointHasBeenSet =
false;
219 bool m_createdDateHasBeenSet =
false;
222 bool m_targetRoleHasBeenSet =
false;
224 bool m_isDefault{
false};
225 bool m_isDefaultHasBeenSet =
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 DBProxyEndpointArnHasBeenSet() const
void SetDBProxyName(DBProxyNameT &&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
void SetEndpoint(EndpointT &&value)
DBProxyEndpoint & WithTargetRole(DBProxyEndpointTargetRole 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