7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/outposts/Outposts_EXPORTS.h>
41 template <
typename ClientPublicKeyT = Aws::String>
43 m_clientPublicKeyHasBeenSet =
true;
44 m_clientPublicKey = std::forward<ClientPublicKeyT>(value);
46 template <
typename ClientPublicKeyT = Aws::String>
59 template <
typename ServerPublicKeyT = Aws::String>
61 m_serverPublicKeyHasBeenSet =
true;
62 m_serverPublicKey = std::forward<ServerPublicKeyT>(value);
64 template <
typename ServerPublicKeyT = Aws::String>
77 template <
typename ServerEndpo
intT = Aws::String>
79 m_serverEndpointHasBeenSet =
true;
80 m_serverEndpoint = std::forward<ServerEndpointT>(value);
82 template <
typename ServerEndpo
intT = Aws::String>
95 template <
typename ClientTunnelAddressT = Aws::String>
97 m_clientTunnelAddressHasBeenSet =
true;
98 m_clientTunnelAddress = std::forward<ClientTunnelAddressT>(value);
100 template <
typename ClientTunnelAddressT = Aws::String>
113 template <
typename ServerTunnelAddressT = Aws::String>
115 m_serverTunnelAddressHasBeenSet =
true;
116 m_serverTunnelAddress = std::forward<ServerTunnelAddressT>(value);
118 template <
typename ServerTunnelAddressT = Aws::String>
131 template <
typename AllowedIpsT = Aws::Vector<Aws::String>>
133 m_allowedIpsHasBeenSet =
true;
134 m_allowedIps = std::forward<AllowedIpsT>(value);
136 template <
typename AllowedIpsT = Aws::Vector<Aws::String>>
141 template <
typename AllowedIpsT = Aws::String>
143 m_allowedIpsHasBeenSet =
true;
144 m_allowedIps.emplace_back(std::forward<AllowedIpsT>(value));
160 bool m_clientPublicKeyHasBeenSet =
false;
161 bool m_serverPublicKeyHasBeenSet =
false;
162 bool m_serverEndpointHasBeenSet =
false;
163 bool m_clientTunnelAddressHasBeenSet =
false;
164 bool m_serverTunnelAddressHasBeenSet =
false;
165 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