/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a connection endpoint.See Also:
AWS
* API Reference
The DNS address of the Cluster.
*/ inline const Aws::String& GetAddress() const{ return m_address; } /** *The DNS address of the Cluster.
*/ inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; } /** *The DNS address of the Cluster.
*/ inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; } /** *The DNS address of the Cluster.
*/ inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); } /** *The DNS address of the Cluster.
*/ inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); } /** *The DNS address of the Cluster.
*/ inline Endpoint& WithAddress(const Aws::String& value) { SetAddress(value); return *this;} /** *The DNS address of the Cluster.
*/ inline Endpoint& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;} /** *The DNS address of the Cluster.
*/ inline Endpoint& WithAddress(const char* value) { SetAddress(value); return *this;} /** *The port that the database engine is listening on.
*/ inline int GetPort() const{ return m_port; } /** *The port that the database engine is listening on.
*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *The port that the database engine is listening on.
*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *The port that the database engine is listening on.
*/ inline Endpoint& WithPort(int value) { SetPort(value); return *this;} /** *Describes a connection endpoint.
*/ inline const Aws::VectorDescribes a connection endpoint.
*/ inline bool VpcEndpointsHasBeenSet() const { return m_vpcEndpointsHasBeenSet; } /** *Describes a connection endpoint.
*/ inline void SetVpcEndpoints(const Aws::VectorDescribes a connection endpoint.
*/ inline void SetVpcEndpoints(Aws::VectorDescribes a connection endpoint.
*/ inline Endpoint& WithVpcEndpoints(const Aws::VectorDescribes a connection endpoint.
*/ inline Endpoint& WithVpcEndpoints(Aws::VectorDescribes a connection endpoint.
*/ inline Endpoint& AddVpcEndpoints(const VpcEndpoint& value) { m_vpcEndpointsHasBeenSet = true; m_vpcEndpoints.push_back(value); return *this; } /** *Describes a connection endpoint.
*/ inline Endpoint& AddVpcEndpoints(VpcEndpoint&& value) { m_vpcEndpointsHasBeenSet = true; m_vpcEndpoints.push_back(std::move(value)); return *this; } private: Aws::String m_address; bool m_addressHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; Aws::Vector