7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
52 inline void SetAddress(
const char* value) { m_addressHasBeenSet =
true; m_address.assign(value); }
62 inline int GetPort()
const{
return m_port; }
64 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
77 inline void SetHostedZoneId(
const char* value) { m_hostedZoneIdHasBeenSet =
true; m_hostedZoneId.assign(value); }
85 bool m_addressHasBeenSet =
false;
88 bool m_portHasBeenSet =
false;
91 bool m_hostedZoneIdHasBeenSet =
false;
AWS_DOCDB_API Endpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool HostedZoneIdHasBeenSet() const
Endpoint & WithHostedZoneId(const Aws::String &value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Endpoint & WithPort(int value)
void SetHostedZoneId(const Aws::String &value)
void SetHostedZoneId(const char *value)
Endpoint & WithAddress(const Aws::String &value)
Endpoint & WithAddress(Aws::String &&value)
void SetAddress(Aws::String &&value)
Endpoint & WithHostedZoneId(Aws::String &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetAddress(const Aws::String &value)
bool PortHasBeenSet() const
bool AddressHasBeenSet() const
Endpoint & WithAddress(const char *value)
Endpoint & WithHostedZoneId(const char *value)
const Aws::String & GetAddress() const
AWS_DOCDB_API Endpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAddress(const char *value)
const Aws::String & GetHostedZoneId() const
void SetHostedZoneId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream