7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/VpcEndpoint.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; }
84 bool m_addressHasBeenSet =
false;
87 bool m_portHasBeenSet =
false;
90 bool m_vpcEndpointsHasBeenSet =
false;
Endpoint & WithAddress(Aws::String &&value)
const Aws::String & GetAddress() const
void SetAddress(const Aws::String &value)
AWS_REDSHIFT_API Endpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetVpcEndpoints(Aws::Vector< VpcEndpoint > &&value)
Endpoint & WithVpcEndpoints(const Aws::Vector< VpcEndpoint > &value)
Endpoint & WithAddress(const char *value)
const Aws::Vector< VpcEndpoint > & GetVpcEndpoints() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetAddress(const char *value)
bool AddressHasBeenSet() const
Endpoint & WithAddress(const Aws::String &value)
Endpoint & AddVpcEndpoints(const VpcEndpoint &value)
void SetVpcEndpoints(const Aws::Vector< VpcEndpoint > &value)
AWS_REDSHIFT_API Endpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
Endpoint & WithVpcEndpoints(Aws::Vector< VpcEndpoint > &&value)
bool PortHasBeenSet() const
AWS_REDSHIFT_API Endpoint()
void SetAddress(Aws::String &&value)
Endpoint & WithPort(int value)
Endpoint & AddVpcEndpoints(VpcEndpoint &&value)
bool VpcEndpointsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream