7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/networkmanager/NetworkManager_EXPORTS.h>
10#include <aws/networkmanager/model/ConnectPeerBgpConfiguration.h>
11#include <aws/networkmanager/model/TunnelProtocol.h>
22namespace NetworkManager {
44 template <
typename CoreNetworkAddressT = Aws::String>
46 m_coreNetworkAddressHasBeenSet =
true;
47 m_coreNetworkAddress = std::forward<CoreNetworkAddressT>(value);
49 template <
typename CoreNetworkAddressT = Aws::String>
62 template <
typename PeerAddressT = Aws::String>
64 m_peerAddressHasBeenSet =
true;
65 m_peerAddress = std::forward<PeerAddressT>(value);
67 template <
typename PeerAddressT = Aws::String>
80 template <
typename Ins
ideC
idrBlocksT = Aws::Vector<Aws::String>>
82 m_insideCidrBlocksHasBeenSet =
true;
83 m_insideCidrBlocks = std::forward<InsideCidrBlocksT>(value);
85 template <
typename Ins
ideC
idrBlocksT = Aws::Vector<Aws::String>>
90 template <
typename Ins
ideC
idrBlocksT = Aws::String>
92 m_insideCidrBlocksHasBeenSet =
true;
93 m_insideCidrBlocks.emplace_back(std::forward<InsideCidrBlocksT>(value));
105 m_protocolHasBeenSet =
true;
120 template <
typename BgpConfigurationsT = Aws::Vector<ConnectPeerBgpConfiguration>>
122 m_bgpConfigurationsHasBeenSet =
true;
123 m_bgpConfigurations = std::forward<BgpConfigurationsT>(value);
125 template <
typename BgpConfigurationsT = Aws::Vector<ConnectPeerBgpConfiguration>>
130 template <
typename BgpConfigurationsT = ConnectPeerBgpConfiguration>
132 m_bgpConfigurationsHasBeenSet =
true;
133 m_bgpConfigurations.emplace_back(std::forward<BgpConfigurationsT>(value));
147 bool m_coreNetworkAddressHasBeenSet =
false;
148 bool m_peerAddressHasBeenSet =
false;
149 bool m_insideCidrBlocksHasBeenSet =
false;
150 bool m_protocolHasBeenSet =
false;
151 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