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/ConnectionPoolConfigurationInfo.h>
11#include <aws/core/utils/DateTime.h>
54 template<
typename DBProxyNameT = Aws::String>
55 void SetDBProxyName(DBProxyNameT&& value) { m_dBProxyNameHasBeenSet =
true; m_dBProxyName = std::forward<DBProxyNameT>(value); }
56 template<
typename DBProxyNameT = Aws::String>
68 template<
typename TargetGroupNameT = Aws::String>
69 void SetTargetGroupName(TargetGroupNameT&& value) { m_targetGroupNameHasBeenSet =
true; m_targetGroupName = std::forward<TargetGroupNameT>(value); }
70 template<
typename TargetGroupNameT = Aws::String>
80 template<
typename TargetGroupArnT = Aws::String>
81 void SetTargetGroupArn(TargetGroupArnT&& value) { m_targetGroupArnHasBeenSet =
true; m_targetGroupArn = std::forward<TargetGroupArnT>(value); }
82 template<
typename TargetGroupArnT = Aws::String>
95 inline void SetIsDefault(
bool value) { m_isDefaultHasBeenSet =
true; m_isDefault = value; }
108 template<
typename StatusT = Aws::String>
109 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
110 template<
typename StatusT = Aws::String>
121 template<
typename ConnectionPoolConfigT = ConnectionPoolConfigurationInfo>
122 void SetConnectionPoolConfig(ConnectionPoolConfigT&& value) { m_connectionPoolConfigHasBeenSet =
true; m_connectionPoolConfig = std::forward<ConnectionPoolConfigT>(value); }
123 template<
typename ConnectionPoolConfigT = ConnectionPoolConfigurationInfo>
133 template<
typename CreatedDateT = Aws::Utils::DateTime>
134 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
135 template<
typename CreatedDateT = Aws::Utils::DateTime>
145 template<
typename UpdatedDateT = Aws::Utils::DateTime>
146 void SetUpdatedDate(UpdatedDateT&& value) { m_updatedDateHasBeenSet =
true; m_updatedDate = std::forward<UpdatedDateT>(value); }
147 template<
typename UpdatedDateT = Aws::Utils::DateTime>
153 bool m_dBProxyNameHasBeenSet =
false;
156 bool m_targetGroupNameHasBeenSet =
false;
159 bool m_targetGroupArnHasBeenSet =
false;
161 bool m_isDefault{
false};
162 bool m_isDefaultHasBeenSet =
false;
165 bool m_statusHasBeenSet =
false;
167 ConnectionPoolConfigurationInfo m_connectionPoolConfig;
168 bool m_connectionPoolConfigHasBeenSet =
false;
171 bool m_createdDateHasBeenSet =
false;
174 bool m_updatedDateHasBeenSet =
false;
void SetIsDefault(bool value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool StatusHasBeenSet() const
DBProxyTargetGroup & WithIsDefault(bool value)
const Aws::Utils::DateTime & GetCreatedDate() const
void SetStatus(StatusT &&value)
AWS_RDS_API DBProxyTargetGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetTargetGroupArn() const
bool TargetGroupArnHasBeenSet() const
const Aws::String & GetStatus() const
DBProxyTargetGroup & WithStatus(StatusT &&value)
DBProxyTargetGroup & WithConnectionPoolConfig(ConnectionPoolConfigT &&value)
void SetConnectionPoolConfig(ConnectionPoolConfigT &&value)
void SetDBProxyName(DBProxyNameT &&value)
bool DBProxyNameHasBeenSet() const
const ConnectionPoolConfigurationInfo & GetConnectionPoolConfig() const
bool UpdatedDateHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API DBProxyTargetGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GetIsDefault() const
void SetTargetGroupArn(TargetGroupArnT &&value)
void SetTargetGroupName(TargetGroupNameT &&value)
bool CreatedDateHasBeenSet() const
bool TargetGroupNameHasBeenSet() const
DBProxyTargetGroup & WithUpdatedDate(UpdatedDateT &&value)
const Aws::Utils::DateTime & GetUpdatedDate() const
void SetUpdatedDate(UpdatedDateT &&value)
bool IsDefaultHasBeenSet() const
AWS_RDS_API DBProxyTargetGroup()=default
DBProxyTargetGroup & WithDBProxyName(DBProxyNameT &&value)
DBProxyTargetGroup & WithTargetGroupName(TargetGroupNameT &&value)
DBProxyTargetGroup & WithTargetGroupArn(TargetGroupArnT &&value)
void SetCreatedDate(CreatedDateT &&value)
bool ConnectionPoolConfigHasBeenSet() const
DBProxyTargetGroup & WithCreatedDate(CreatedDateT &&value)
const Aws::String & GetTargetGroupName() const
const Aws::String & GetDBProxyName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream