7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/networkmanager/model/TunnelProtocol.h>
11#include <aws/networkmanager/model/ConnectPeerBgpConfiguration.h>
24namespace NetworkManager
50 template<
typename CoreNetworkAddressT = Aws::String>
51 void SetCoreNetworkAddress(CoreNetworkAddressT&& value) { m_coreNetworkAddressHasBeenSet =
true; m_coreNetworkAddress = std::forward<CoreNetworkAddressT>(value); }
52 template<
typename CoreNetworkAddressT = Aws::String>
62 template<
typename PeerAddressT = Aws::String>
63 void SetPeerAddress(PeerAddressT&& value) { m_peerAddressHasBeenSet =
true; m_peerAddress = std::forward<PeerAddressT>(value); }
64 template<
typename PeerAddressT = Aws::String>
74 template<
typename Ins
ideC
idrBlocksT = Aws::Vector<Aws::String>>
75 void SetInsideCidrBlocks(InsideCidrBlocksT&& value) { m_insideCidrBlocksHasBeenSet =
true; m_insideCidrBlocks = std::forward<InsideCidrBlocksT>(value); }
76 template<
typename Ins
ideC
idrBlocksT = Aws::Vector<Aws::String>>
78 template<
typename Ins
ideC
idrBlocksT = Aws::String>
98 template<
typename BgpConfigurationsT = Aws::Vector<ConnectPeerBgpConfiguration>>
99 void SetBgpConfigurations(BgpConfigurationsT&& value) { m_bgpConfigurationsHasBeenSet =
true; m_bgpConfigurations = std::forward<BgpConfigurationsT>(value); }
100 template<
typename BgpConfigurationsT = Aws::Vector<ConnectPeerBgpConfiguration>>
102 template<
typename BgpConfigurationsT = ConnectPeerBgpConfiguration>
108 bool m_coreNetworkAddressHasBeenSet =
false;
111 bool m_peerAddressHasBeenSet =
false;
114 bool m_insideCidrBlocksHasBeenSet =
false;
117 bool m_protocolHasBeenSet =
false;
120 bool m_bgpConfigurationsHasBeenSet =
false;
AWS_NETWORKMANAGER_API ConnectPeerConfiguration()=default
const Aws::Vector< Aws::String > & GetInsideCidrBlocks() const
ConnectPeerConfiguration & WithInsideCidrBlocks(InsideCidrBlocksT &&value)
void SetBgpConfigurations(BgpConfigurationsT &&value)
const Aws::String & GetPeerAddress() const
bool CoreNetworkAddressHasBeenSet() const
bool PeerAddressHasBeenSet() const
void SetInsideCidrBlocks(InsideCidrBlocksT &&value)
bool BgpConfigurationsHasBeenSet() const
ConnectPeerConfiguration & WithCoreNetworkAddress(CoreNetworkAddressT &&value)
AWS_NETWORKMANAGER_API ConnectPeerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProtocol(TunnelProtocol value)
bool InsideCidrBlocksHasBeenSet() const
ConnectPeerConfiguration & WithBgpConfigurations(BgpConfigurationsT &&value)
TunnelProtocol GetProtocol() const
void SetCoreNetworkAddress(CoreNetworkAddressT &&value)
bool ProtocolHasBeenSet() const
const Aws::Vector< ConnectPeerBgpConfiguration > & GetBgpConfigurations() const
ConnectPeerConfiguration & AddBgpConfigurations(BgpConfigurationsT &&value)
ConnectPeerConfiguration & WithPeerAddress(PeerAddressT &&value)
void SetPeerAddress(PeerAddressT &&value)
AWS_NETWORKMANAGER_API ConnectPeerConfiguration(Aws::Utils::Json::JsonView jsonValue)
ConnectPeerConfiguration & WithProtocol(TunnelProtocol value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectPeerConfiguration & AddInsideCidrBlocks(InsideCidrBlocksT &&value)
const Aws::String & GetCoreNetworkAddress() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue