7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/TransitGatewayConnectRequestBgpOptions.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/TagSpecification.h>
48 template<
typename TransitGatewayAttachmentIdT = Aws::String>
49 void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT&& value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value); }
50 template<
typename TransitGatewayAttachmentIdT = Aws::String>
63 template<
typename TransitGatewayAddressT = Aws::String>
64 void SetTransitGatewayAddress(TransitGatewayAddressT&& value) { m_transitGatewayAddressHasBeenSet =
true; m_transitGatewayAddress = std::forward<TransitGatewayAddressT>(value); }
65 template<
typename TransitGatewayAddressT = Aws::String>
76 template<
typename PeerAddressT = Aws::String>
77 void SetPeerAddress(PeerAddressT&& value) { m_peerAddressHasBeenSet =
true; m_peerAddress = std::forward<PeerAddressT>(value); }
78 template<
typename PeerAddressT = Aws::String>
88 template<
typename BgpOptionsT = TransitGatewayConnectRequestBgpOptions>
89 void SetBgpOptions(BgpOptionsT&& value) { m_bgpOptionsHasBeenSet =
true; m_bgpOptions = std::forward<BgpOptionsT>(value); }
90 template<
typename BgpOptionsT = TransitGatewayConnectRequestBgpOptions>
104 template<
typename Ins
ideC
idrBlocksT = Aws::Vector<Aws::String>>
105 void SetInsideCidrBlocks(InsideCidrBlocksT&& value) { m_insideCidrBlocksHasBeenSet =
true; m_insideCidrBlocks = std::forward<InsideCidrBlocksT>(value); }
106 template<
typename Ins
ideC
idrBlocksT = Aws::Vector<Aws::String>>
108 template<
typename Ins
ideC
idrBlocksT = Aws::String>
118 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
119 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
120 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
122 template<
typename TagSpecificationsT = TagSpecification>
135 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
141 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
144 bool m_transitGatewayAddressHasBeenSet =
false;
147 bool m_peerAddressHasBeenSet =
false;
150 bool m_bgpOptionsHasBeenSet =
false;
153 bool m_insideCidrBlocksHasBeenSet =
false;
156 bool m_tagSpecificationsHasBeenSet =
false;
158 bool m_dryRun{
false};
159 bool m_dryRunHasBeenSet =
false;
CreateTransitGatewayConnectPeerRequest & WithTagSpecifications(TagSpecificationsT &&value)
AWS_EC2_API CreateTransitGatewayConnectPeerRequest()=default
CreateTransitGatewayConnectPeerRequest & AddInsideCidrBlocks(InsideCidrBlocksT &&value)
void SetDryRun(bool value)
void SetPeerAddress(PeerAddressT &&value)
CreateTransitGatewayConnectPeerRequest & WithPeerAddress(PeerAddressT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateTransitGatewayConnectPeerRequest & AddTagSpecifications(TagSpecificationsT &&value)
bool TagSpecificationsHasBeenSet() const
const TransitGatewayConnectRequestBgpOptions & GetBgpOptions() const
CreateTransitGatewayConnectPeerRequest & WithBgpOptions(BgpOptionsT &&value)
bool PeerAddressHasBeenSet() const
bool DryRunHasBeenSet() const
CreateTransitGatewayConnectPeerRequest & WithDryRun(bool value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateTransitGatewayConnectPeerRequest & WithInsideCidrBlocks(InsideCidrBlocksT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
bool InsideCidrBlocksHasBeenSet() const
const Aws::String & GetTransitGatewayAddress() const
CreateTransitGatewayConnectPeerRequest & WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
bool TransitGatewayAttachmentIdHasBeenSet() const
bool BgpOptionsHasBeenSet() const
void SetBgpOptions(BgpOptionsT &&value)
const Aws::String & GetTransitGatewayAttachmentId() const
const Aws::Vector< Aws::String > & GetInsideCidrBlocks() const
bool TransitGatewayAddressHasBeenSet() const
const Aws::String & GetPeerAddress() const
void SetTransitGatewayAddress(TransitGatewayAddressT &&value)
CreateTransitGatewayConnectPeerRequest & WithTransitGatewayAddress(TransitGatewayAddressT &&value)
void SetInsideCidrBlocks(InsideCidrBlocksT &&value)
void SetTagSpecifications(TagSpecificationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector