7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetAddress(
const char* value) { m_addressHasBeenSet =
true; m_address.assign(value); }
61 inline int GetPort()
const{
return m_port; }
63 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
69 bool m_addressHasBeenSet =
false;
72 bool m_portHasBeenSet =
false;
void SetAddress(const Aws::String &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Endpoint & WithAddress(const char *value)
AWS_ELASTICACHE_API Endpoint()
void SetAddress(Aws::String &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool PortHasBeenSet() const
AWS_ELASTICACHE_API Endpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAddress(const char *value)
AWS_ELASTICACHE_API Endpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Endpoint & WithAddress(const Aws::String &value)
const Aws::String & GetAddress() const
Endpoint & WithAddress(Aws::String &&value)
bool AddressHasBeenSet() const
Endpoint & WithPort(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream