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/DBProxyStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/rds/model/UserAuthConfigInfo.h>
56 template<
typename DBProxyNameT = Aws::String>
57 void SetDBProxyName(DBProxyNameT&& value) { m_dBProxyNameHasBeenSet =
true; m_dBProxyName = std::forward<DBProxyNameT>(value); }
58 template<
typename DBProxyNameT = Aws::String>
68 template<
typename DBProxyArnT = Aws::String>
69 void SetDBProxyArn(DBProxyArnT&& value) { m_dBProxyArnHasBeenSet =
true; m_dBProxyArn = std::forward<DBProxyArnT>(value); }
70 template<
typename DBProxyArnT = Aws::String>
97 template<
typename EngineFamilyT = Aws::String>
98 void SetEngineFamily(EngineFamilyT&& value) { m_engineFamilyHasBeenSet =
true; m_engineFamily = std::forward<EngineFamilyT>(value); }
99 template<
typename EngineFamilyT = 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>
121 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
122 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
123 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
125 template<
typename VpcSecurityGroupIdsT = Aws::String>
126 DBProxy&
AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
return *
this; }
135 template<
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
136 void SetVpcSubnetIds(VpcSubnetIdsT&& value) { m_vpcSubnetIdsHasBeenSet =
true; m_vpcSubnetIds = std::forward<VpcSubnetIdsT>(value); }
137 template<
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
139 template<
typename VpcSubnetIdsT = Aws::String>
140 DBProxy&
AddVpcSubnetIds(VpcSubnetIdsT&& value) { m_vpcSubnetIdsHasBeenSet =
true; m_vpcSubnetIds.emplace_back(std::forward<VpcSubnetIdsT>(value));
return *
this; }
150 template<
typename AuthT = Aws::Vector<UserAuthConfigInfo>>
151 void SetAuth(AuthT&& value) { m_authHasBeenSet =
true; m_auth = std::forward<AuthT>(value); }
152 template<
typename AuthT = Aws::Vector<UserAuthConfigInfo>>
154 template<
typename AuthT = UserAuthConfigInfo>
155 DBProxy&
AddAuth(AuthT&& value) { m_authHasBeenSet =
true; m_auth.emplace_back(std::forward<AuthT>(value));
return *
this; }
165 template<
typename RoleArnT = Aws::String>
166 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
167 template<
typename RoleArnT = Aws::String>
178 template<
typename Endpo
intT = Aws::String>
179 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
180 template<
typename Endpo
intT = Aws::String>
191 inline void SetRequireTLS(
bool value) { m_requireTLSHasBeenSet =
true; m_requireTLS = value; }
205 inline void SetIdleClientTimeout(
int value) { m_idleClientTimeoutHasBeenSet =
true; m_idleClientTimeout = value; }
221 inline void SetDebugLogging(
bool value) { m_debugLoggingHasBeenSet =
true; m_debugLogging = value; }
231 template<
typename CreatedDateT = Aws::Utils::DateTime>
232 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
233 template<
typename CreatedDateT = Aws::Utils::DateTime>
243 template<
typename UpdatedDateT = Aws::Utils::DateTime>
244 void SetUpdatedDate(UpdatedDateT&& value) { m_updatedDateHasBeenSet =
true; m_updatedDate = std::forward<UpdatedDateT>(value); }
245 template<
typename UpdatedDateT = Aws::Utils::DateTime>
251 bool m_dBProxyNameHasBeenSet =
false;
254 bool m_dBProxyArnHasBeenSet =
false;
257 bool m_statusHasBeenSet =
false;
260 bool m_engineFamilyHasBeenSet =
false;
263 bool m_vpcIdHasBeenSet =
false;
266 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
269 bool m_vpcSubnetIdsHasBeenSet =
false;
272 bool m_authHasBeenSet =
false;
275 bool m_roleArnHasBeenSet =
false;
278 bool m_endpointHasBeenSet =
false;
280 bool m_requireTLS{
false};
281 bool m_requireTLSHasBeenSet =
false;
283 int m_idleClientTimeout{0};
284 bool m_idleClientTimeoutHasBeenSet =
false;
286 bool m_debugLogging{
false};
287 bool m_debugLoggingHasBeenSet =
false;
290 bool m_createdDateHasBeenSet =
false;
293 bool m_updatedDateHasBeenSet =
false;
bool VpcSubnetIdsHasBeenSet() const
DBProxy & AddAuth(AuthT &&value)
void SetAuth(AuthT &&value)
void SetVpcSubnetIds(VpcSubnetIdsT &&value)
void SetRoleArn(RoleArnT &&value)
DBProxy & WithDebugLogging(bool value)
bool DBProxyNameHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedDate() const
DBProxy & WithAuth(AuthT &&value)
bool DebugLoggingHasBeenSet() const
bool GetRequireTLS() const
DBProxy & WithIdleClientTimeout(int value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStatus(DBProxyStatus value)
bool StatusHasBeenSet() const
DBProxy & WithVpcSubnetIds(VpcSubnetIdsT &&value)
bool EngineFamilyHasBeenSet() const
const Aws::String & GetDBProxyName() const
bool RoleArnHasBeenSet() const
bool DBProxyArnHasBeenSet() const
void SetDBProxyName(DBProxyNameT &&value)
const Aws::String & GetDBProxyArn() const
AWS_RDS_API DBProxy(const Aws::Utils::Xml::XmlNode &xmlNode)
DBProxy & WithVpcId(VpcIdT &&value)
DBProxy & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
const Aws::Vector< UserAuthConfigInfo > & GetAuth() const
DBProxy & WithUpdatedDate(UpdatedDateT &&value)
bool UpdatedDateHasBeenSet() const
void SetEngineFamily(EngineFamilyT &&value)
bool CreatedDateHasBeenSet() const
bool IdleClientTimeoutHasBeenSet() const
DBProxy & WithRoleArn(RoleArnT &&value)
void SetDBProxyArn(DBProxyArnT &&value)
void SetCreatedDate(CreatedDateT &&value)
DBProxy & WithRequireTLS(bool value)
void SetEndpoint(EndpointT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetUpdatedDate(UpdatedDateT &&value)
DBProxy & WithEndpoint(EndpointT &&value)
bool AuthHasBeenSet() const
DBProxy & WithDBProxyName(DBProxyNameT &&value)
AWS_RDS_API DBProxy()=default
bool GetDebugLogging() const
const Aws::String & GetEndpoint() const
const Aws::String & GetEngineFamily() const
DBProxy & WithEngineFamily(EngineFamilyT &&value)
DBProxy & WithStatus(DBProxyStatus value)
bool EndpointHasBeenSet() const
DBProxy & AddVpcSubnetIds(VpcSubnetIdsT &&value)
DBProxy & WithCreatedDate(CreatedDateT &&value)
void SetIdleClientTimeout(int value)
const Aws::String & GetVpcId() const
void SetRequireTLS(bool value)
void SetDebugLogging(bool value)
int GetIdleClientTimeout() const
DBProxy & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
bool RequireTLSHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedDate() const
DBProxyStatus GetStatus() const
bool VpcSecurityGroupIdsHasBeenSet() const
DBProxy & WithDBProxyArn(DBProxyArnT &&value)
const Aws::String & GetRoleArn() const
AWS_RDS_API DBProxy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool VpcIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
void SetVpcId(VpcIdT &&value)
const Aws::Vector< Aws::String > & GetVpcSubnetIds() const
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