7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/VpcEndpoint.h>
44 template <
typename AddressT = Aws::String>
46 m_addressHasBeenSet =
true;
47 m_address = std::forward<AddressT>(value);
49 template <
typename AddressT = Aws::String>
60 inline int GetPort()
const {
return m_port; }
63 m_portHasBeenSet =
true;
78 template <
typename VpcEndpo
intsT = Aws::Vector<VpcEndpo
int>>
80 m_vpcEndpointsHasBeenSet =
true;
81 m_vpcEndpoints = std::forward<VpcEndpointsT>(value);
83 template <
typename VpcEndpo
intsT = Aws::Vector<VpcEndpo
int>>
88 template <
typename VpcEndpo
intsT = VpcEndpo
int>
90 m_vpcEndpointsHasBeenSet =
true;
91 m_vpcEndpoints.emplace_back(std::forward<VpcEndpointsT>(value));
101 bool m_addressHasBeenSet =
false;
102 bool m_portHasBeenSet =
false;
103 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