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>
50 template<
typename AddressT = Aws::String>
51 void SetAddress(AddressT&& value) { m_addressHasBeenSet =
true; m_address = std::forward<AddressT>(value); }
52 template<
typename AddressT = Aws::String>
60 inline int GetPort()
const {
return m_port; }
62 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
72 template<
typename VpcEndpo
intsT = Aws::Vector<VpcEndpo
int>>
73 void SetVpcEndpoints(VpcEndpointsT&& value) { m_vpcEndpointsHasBeenSet =
true; m_vpcEndpoints = std::forward<VpcEndpointsT>(value); }
74 template<
typename VpcEndpo
intsT = Aws::Vector<VpcEndpo
int>>
76 template<
typename VpcEndpo
intsT = VpcEndpo
int>
77 Endpoint&
AddVpcEndpoints(VpcEndpointsT&& value) { m_vpcEndpointsHasBeenSet =
true; m_vpcEndpoints.emplace_back(std::forward<VpcEndpointsT>(value));
return *
this; }
82 bool m_addressHasBeenSet =
false;
85 bool m_portHasBeenSet =
false;
88 bool m_vpcEndpointsHasBeenSet =
false;
const Aws::String & GetAddress() const
AWS_REDSHIFT_API Endpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetVpcEndpoints(VpcEndpointsT &&value)
Endpoint & WithAddress(AddressT &&value)
const Aws::Vector< VpcEndpoint > & GetVpcEndpoints() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Endpoint & WithVpcEndpoints(VpcEndpointsT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool AddressHasBeenSet() const
Endpoint & AddVpcEndpoints(VpcEndpointsT &&value)
AWS_REDSHIFT_API Endpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PortHasBeenSet() const
Endpoint & WithPort(int value)
bool VpcEndpointsHasBeenSet() const
AWS_REDSHIFT_API Endpoint()=default
void SetAddress(AddressT &&value)
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