7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/pcs/model/EndpointType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
58 template<
typename PrivateIpAddressT = Aws::String>
59 void SetPrivateIpAddress(PrivateIpAddressT&& value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress = std::forward<PrivateIpAddressT>(value); }
60 template<
typename PrivateIpAddressT = Aws::String>
70 template<
typename PublicIpAddressT = Aws::String>
71 void SetPublicIpAddress(PublicIpAddressT&& value) { m_publicIpAddressHasBeenSet =
true; m_publicIpAddress = std::forward<PublicIpAddressT>(value); }
72 template<
typename PublicIpAddressT = Aws::String>
83 template<
typename PortT = Aws::String>
84 void SetPort(PortT&& value) { m_portHasBeenSet =
true; m_port = std::forward<PortT>(value); }
85 template<
typename PortT = Aws::String>
91 bool m_typeHasBeenSet =
false;
94 bool m_privateIpAddressHasBeenSet =
false;
97 bool m_publicIpAddressHasBeenSet =
false;
100 bool m_portHasBeenSet =
false;
Endpoint & WithPrivateIpAddress(PrivateIpAddressT &&value)
AWS_PCS_API Endpoint()=default
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
Endpoint & WithPublicIpAddress(PublicIpAddressT &&value)
bool PortHasBeenSet() const
bool PublicIpAddressHasBeenSet() const
AWS_PCS_API Endpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPublicIpAddress() const
AWS_PCS_API Endpoint(Aws::Utils::Json::JsonView jsonValue)
void SetPublicIpAddress(PublicIpAddressT &&value)
EndpointType GetType() const
bool TypeHasBeenSet() const
void SetType(EndpointType value)
const Aws::String & GetPrivateIpAddress() const
bool PrivateIpAddressHasBeenSet() const
Endpoint & WithType(EndpointType value)
void SetPort(PortT &&value)
Endpoint & WithPort(PortT &&value)
const Aws::String & GetPort() const
void SetPrivateIpAddress(PrivateIpAddressT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue