7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/networkmanager/NetworkManagerRequest.h>
11#include <aws/networkmanager/NetworkManager_EXPORTS.h>
12#include <aws/networkmanager/model/BgpOptions.h>
13#include <aws/networkmanager/model/Tag.h>
18namespace NetworkManager {
41 template <
typename ConnectAttachmentIdT = Aws::String>
43 m_connectAttachmentIdHasBeenSet =
true;
44 m_connectAttachmentId = std::forward<ConnectAttachmentIdT>(value);
46 template <
typename ConnectAttachmentIdT = Aws::String>
60 template <
typename CoreNetworkAddressT = Aws::String>
62 m_coreNetworkAddressHasBeenSet =
true;
63 m_coreNetworkAddress = std::forward<CoreNetworkAddressT>(value);
65 template <
typename CoreNetworkAddressT = Aws::String>
78 template <
typename PeerAddressT = Aws::String>
80 m_peerAddressHasBeenSet =
true;
81 m_peerAddress = std::forward<PeerAddressT>(value);
83 template <
typename PeerAddressT = Aws::String>
97 template <
typename BgpOptionsT = BgpOptions>
99 m_bgpOptionsHasBeenSet =
true;
100 m_bgpOptions = std::forward<BgpOptionsT>(value);
102 template <
typename BgpOptionsT = BgpOptions>
115 template <
typename Ins
ideC
idrBlocksT = Aws::Vector<Aws::String>>
117 m_insideCidrBlocksHasBeenSet =
true;
118 m_insideCidrBlocks = std::forward<InsideCidrBlocksT>(value);
120 template <
typename Ins
ideC
idrBlocksT = Aws::Vector<Aws::String>>
125 template <
typename Ins
ideC
idrBlocksT = Aws::String>
127 m_insideCidrBlocksHasBeenSet =
true;
128 m_insideCidrBlocks.emplace_back(std::forward<InsideCidrBlocksT>(value));
139 template <
typename TagsT = Aws::Vector<Tag>>
141 m_tagsHasBeenSet =
true;
142 m_tags = std::forward<TagsT>(value);
144 template <
typename TagsT = Aws::Vector<Tag>>
146 SetTags(std::forward<TagsT>(value));
149 template <
typename TagsT = Tag>
151 m_tagsHasBeenSet =
true;
152 m_tags.emplace_back(std::forward<TagsT>(value));
163 template <
typename ClientTokenT = Aws::String>
165 m_clientTokenHasBeenSet =
true;
166 m_clientToken = std::forward<ClientTokenT>(value);
168 template <
typename ClientTokenT = Aws::String>
182 template <
typename SubnetArnT = Aws::String>
184 m_subnetArnHasBeenSet =
true;
185 m_subnetArn = std::forward<SubnetArnT>(value);
187 template <
typename SubnetArnT = Aws::String>
209 bool m_connectAttachmentIdHasBeenSet =
false;
210 bool m_coreNetworkAddressHasBeenSet =
false;
211 bool m_peerAddressHasBeenSet =
false;
212 bool m_bgpOptionsHasBeenSet =
false;
213 bool m_insideCidrBlocksHasBeenSet =
false;
214 bool m_tagsHasBeenSet =
false;
215 bool m_clientTokenHasBeenSet =
true;
216 bool m_subnetArnHasBeenSet =
false;
CreateConnectPeerRequest & WithInsideCidrBlocks(InsideCidrBlocksT &&value)
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
CreateConnectPeerRequest & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateConnectPeerRequest & WithBgpOptions(BgpOptionsT &&value)
bool InsideCidrBlocksHasBeenSet() const
CreateConnectPeerRequest & AddTags(TagsT &&value)
const Aws::String & GetPeerAddress() const
void SetTags(TagsT &&value)
void SetPeerAddress(PeerAddressT &&value)
void SetBgpOptions(BgpOptionsT &&value)
const Aws::String & GetCoreNetworkAddress() const
void SetClientToken(ClientTokenT &&value)
void SetCoreNetworkAddress(CoreNetworkAddressT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateConnectPeerRequest & WithPeerAddress(PeerAddressT &&value)
void SetConnectAttachmentId(ConnectAttachmentIdT &&value)
virtual const char * GetServiceRequestName() const override
bool PeerAddressHasBeenSet() const
bool ConnectAttachmentIdHasBeenSet() const
bool BgpOptionsHasBeenSet() const
CreateConnectPeerRequest & WithClientToken(ClientTokenT &&value)
const BgpOptions & GetBgpOptions() const
const Aws::Vector< Aws::String > & GetInsideCidrBlocks() const
CreateConnectPeerRequest & WithSubnetArn(SubnetArnT &&value)
AWS_NETWORKMANAGER_API CreateConnectPeerRequest()=default
bool CoreNetworkAddressHasBeenSet() const
const Aws::String & GetSubnetArn() const
CreateConnectPeerRequest & AddInsideCidrBlocks(InsideCidrBlocksT &&value)
void SetInsideCidrBlocks(InsideCidrBlocksT &&value)
void SetSubnetArn(SubnetArnT &&value)
const Aws::String & GetConnectAttachmentId() const
CreateConnectPeerRequest & WithCoreNetworkAddress(CoreNetworkAddressT &&value)
bool SubnetArnHasBeenSet() const
const Aws::String & GetClientToken() const
CreateConnectPeerRequest & WithConnectAttachmentId(ConnectAttachmentIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector