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>
54 template<
typename AddressT = Aws::String>
55 void SetAddress(AddressT&& value) { m_addressHasBeenSet =
true; m_address = std::forward<AddressT>(value); }
56 template<
typename AddressT = Aws::String>
64 inline int GetPort()
const {
return m_port; }
66 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
77 template<
typename HostedZoneIdT = Aws::String>
78 void SetHostedZoneId(HostedZoneIdT&& value) { m_hostedZoneIdHasBeenSet =
true; m_hostedZoneId = std::forward<HostedZoneIdT>(value); }
79 template<
typename HostedZoneIdT = Aws::String>
85 bool m_addressHasBeenSet =
false;
88 bool m_portHasBeenSet =
false;
91 bool m_hostedZoneIdHasBeenSet =
false;
AWS_RDS_API Endpoint()=default
AWS_RDS_API Endpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetAddress() const
void SetHostedZoneId(HostedZoneIdT &&value)
bool PortHasBeenSet() const
bool AddressHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Endpoint & WithHostedZoneId(HostedZoneIdT &&value)
Endpoint & WithPort(int value)
const Aws::String & GetHostedZoneId() const
Endpoint & WithAddress(AddressT &&value)
bool HostedZoneIdHasBeenSet() const
void SetAddress(AddressT &&value)
AWS_RDS_API Endpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream