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/TargetType.h>
11#include <aws/rds/model/TargetRole.h>
12#include <aws/rds/model/TargetHealth.h>
58 inline void SetTargetArn(
const char* value) { m_targetArnHasBeenSet =
true; m_targetArn.assign(value); }
72 inline void SetEndpoint(
const char* value) { m_endpointHasBeenSet =
true; m_endpoint.assign(value); }
87 inline void SetTrackedClusterId(
const char* value) { m_trackedClusterIdHasBeenSet =
true; m_trackedClusterId.assign(value); }
102 inline void SetRdsResourceId(
const char* value) { m_rdsResourceIdHasBeenSet =
true; m_rdsResourceId.assign(value); }
115 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
159 bool m_targetArnHasBeenSet =
false;
162 bool m_endpointHasBeenSet =
false;
165 bool m_trackedClusterIdHasBeenSet =
false;
168 bool m_rdsResourceIdHasBeenSet =
false;
171 bool m_portHasBeenSet =
false;
174 bool m_typeHasBeenSet =
false;
177 bool m_roleHasBeenSet =
false;
180 bool m_targetHealthHasBeenSet =
false;
DBProxyTarget & WithTargetArn(const char *value)
void SetRole(const TargetRole &value)
DBProxyTarget & WithTrackedClusterId(const char *value)
DBProxyTarget & WithEndpoint(Aws::String &&value)
bool TrackedClusterIdHasBeenSet() const
void SetTargetArn(Aws::String &&value)
DBProxyTarget & WithTargetArn(const Aws::String &value)
void SetTrackedClusterId(const Aws::String &value)
DBProxyTarget & WithType(TargetType &&value)
void SetTrackedClusterId(const char *value)
void SetRdsResourceId(const Aws::String &value)
DBProxyTarget & WithTargetArn(Aws::String &&value)
DBProxyTarget & WithTargetHealth(const TargetHealth &value)
DBProxyTarget & WithRole(TargetRole &&value)
void SetRdsResourceId(Aws::String &&value)
DBProxyTarget & WithEndpoint(const Aws::String &value)
const TargetType & GetType() const
bool RoleHasBeenSet() const
void SetEndpoint(const char *value)
bool TargetHealthHasBeenSet() const
void SetRdsResourceId(const char *value)
const Aws::String & GetTrackedClusterId() const
void SetTargetArn(const Aws::String &value)
void SetTargetHealth(TargetHealth &&value)
void SetType(TargetType &&value)
void SetTargetHealth(const TargetHealth &value)
DBProxyTarget & WithRole(const TargetRole &value)
const Aws::String & GetRdsResourceId() const
void SetRole(TargetRole &&value)
DBProxyTarget & WithEndpoint(const char *value)
const TargetHealth & GetTargetHealth() const
void SetType(const TargetType &value)
DBProxyTarget & WithTrackedClusterId(const Aws::String &value)
void SetEndpoint(const Aws::String &value)
const Aws::String & GetTargetArn() const
const TargetRole & GetRole() const
void SetEndpoint(Aws::String &&value)
DBProxyTarget & WithPort(int value)
bool PortHasBeenSet() const
AWS_RDS_API DBProxyTarget()
const Aws::String & GetEndpoint() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API DBProxyTarget(const Aws::Utils::Xml::XmlNode &xmlNode)
DBProxyTarget & WithRdsResourceId(Aws::String &&value)
DBProxyTarget & WithTrackedClusterId(Aws::String &&value)
AWS_RDS_API DBProxyTarget & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBProxyTarget & WithRdsResourceId(const Aws::String &value)
bool EndpointHasBeenSet() const
DBProxyTarget & WithRdsResourceId(const char *value)
bool RdsResourceIdHasBeenSet() const
void SetTrackedClusterId(Aws::String &&value)
void SetTargetArn(const char *value)
bool TargetArnHasBeenSet() const
DBProxyTarget & WithTargetHealth(TargetHealth &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool TypeHasBeenSet() const
DBProxyTarget & WithType(const TargetType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream