7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
47 template<
typename ClientPublicKeyT = Aws::String>
48 void SetClientPublicKey(ClientPublicKeyT&& value) { m_clientPublicKeyHasBeenSet =
true; m_clientPublicKey = std::forward<ClientPublicKeyT>(value); }
49 template<
typename ClientPublicKeyT = Aws::String>
59 template<
typename ServerPublicKeyT = Aws::String>
60 void SetServerPublicKey(ServerPublicKeyT&& value) { m_serverPublicKeyHasBeenSet =
true; m_serverPublicKey = std::forward<ServerPublicKeyT>(value); }
61 template<
typename ServerPublicKeyT = Aws::String>
71 template<
typename ServerEndpo
intT = Aws::String>
72 void SetServerEndpoint(ServerEndpointT&& value) { m_serverEndpointHasBeenSet =
true; m_serverEndpoint = std::forward<ServerEndpointT>(value); }
73 template<
typename ServerEndpo
intT = Aws::String>
83 template<
typename ClientTunnelAddressT = Aws::String>
84 void SetClientTunnelAddress(ClientTunnelAddressT&& value) { m_clientTunnelAddressHasBeenSet =
true; m_clientTunnelAddress = std::forward<ClientTunnelAddressT>(value); }
85 template<
typename ClientTunnelAddressT = Aws::String>
95 template<
typename ServerTunnelAddressT = Aws::String>
96 void SetServerTunnelAddress(ServerTunnelAddressT&& value) { m_serverTunnelAddressHasBeenSet =
true; m_serverTunnelAddress = std::forward<ServerTunnelAddressT>(value); }
97 template<
typename ServerTunnelAddressT = Aws::String>
107 template<
typename AllowedIpsT = Aws::Vector<Aws::String>>
108 void SetAllowedIps(AllowedIpsT&& value) { m_allowedIpsHasBeenSet =
true; m_allowedIps = std::forward<AllowedIpsT>(value); }
109 template<
typename AllowedIpsT = Aws::Vector<Aws::String>>
111 template<
typename AllowedIpsT = Aws::String>
112 ConnectionDetails&
AddAllowedIps(AllowedIpsT&& value) { m_allowedIpsHasBeenSet =
true; m_allowedIps.emplace_back(std::forward<AllowedIpsT>(value));
return *
this; }
117 bool m_clientPublicKeyHasBeenSet =
false;
120 bool m_serverPublicKeyHasBeenSet =
false;
123 bool m_serverEndpointHasBeenSet =
false;
126 bool m_clientTunnelAddressHasBeenSet =
false;
129 bool m_serverTunnelAddressHasBeenSet =
false;
132 bool m_allowedIpsHasBeenSet =
false;
ConnectionDetails & WithAllowedIps(AllowedIpsT &&value)
void SetServerPublicKey(ServerPublicKeyT &&value)
const Aws::String & GetServerPublicKey() const
AWS_OUTPOSTS_API ConnectionDetails(Aws::Utils::Json::JsonView jsonValue)
bool AllowedIpsHasBeenSet() const
ConnectionDetails & WithClientTunnelAddress(ClientTunnelAddressT &&value)
bool ClientTunnelAddressHasBeenSet() const
const Aws::Vector< Aws::String > & GetAllowedIps() const
bool ClientPublicKeyHasBeenSet() const
const Aws::String & GetClientPublicKey() const
ConnectionDetails & WithServerTunnelAddress(ServerTunnelAddressT &&value)
const Aws::String & GetClientTunnelAddress() const
bool ServerEndpointHasBeenSet() const
void SetServerTunnelAddress(ServerTunnelAddressT &&value)
ConnectionDetails & WithServerEndpoint(ServerEndpointT &&value)
ConnectionDetails & WithServerPublicKey(ServerPublicKeyT &&value)
void SetServerEndpoint(ServerEndpointT &&value)
bool ServerTunnelAddressHasBeenSet() const
AWS_OUTPOSTS_API ConnectionDetails()=default
const Aws::String & GetServerEndpoint() const
void SetClientPublicKey(ClientPublicKeyT &&value)
void SetAllowedIps(AllowedIpsT &&value)
ConnectionDetails & WithClientPublicKey(ClientPublicKeyT &&value)
AWS_OUTPOSTS_API ConnectionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectionDetails & AddAllowedIps(AllowedIpsT &&value)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServerPublicKeyHasBeenSet() const
const Aws::String & GetServerTunnelAddress() const
void SetClientTunnelAddress(ClientTunnelAddressT &&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