7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift-serverless/model/VpcEndpoint.h>
23namespace RedshiftServerless
50 inline void SetAddress(
const char* value) { m_addressHasBeenSet =
true; m_address.assign(value); }
60 inline int GetPort()
const{
return m_port; }
62 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
82 bool m_addressHasBeenSet =
false;
85 bool m_portHasBeenSet =
false;
88 bool m_vpcEndpointsHasBeenSet =
false;
Endpoint & AddVpcEndpoints(const VpcEndpoint &value)
const Aws::Vector< VpcEndpoint > & GetVpcEndpoints() const
const Aws::String & GetAddress() const
void SetAddress(const char *value)
Endpoint & WithVpcEndpoints(Aws::Vector< VpcEndpoint > &&value)
void SetVpcEndpoints(const Aws::Vector< VpcEndpoint > &value)
void SetAddress(Aws::String &&value)
bool PortHasBeenSet() const
Endpoint & WithPort(int value)
bool AddressHasBeenSet() const
bool VpcEndpointsHasBeenSet() const
Endpoint & AddVpcEndpoints(VpcEndpoint &&value)
AWS_REDSHIFTSERVERLESS_API Endpoint(Aws::Utils::Json::JsonView jsonValue)
void SetVpcEndpoints(Aws::Vector< VpcEndpoint > &&value)
Endpoint & WithAddress(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
Endpoint & WithAddress(const char *value)
Endpoint & WithVpcEndpoints(const Aws::Vector< VpcEndpoint > &value)
Endpoint & WithAddress(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API Endpoint()
AWS_REDSHIFTSERVERLESS_API Endpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAddress(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue