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>
50 inline void SetTransitGatewayAttachmentId(
const char* value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId.assign(value); }
67 inline void SetTransitGatewayAddress(
const char* value) { m_transitGatewayAddressHasBeenSet =
true; m_transitGatewayAddress.assign(value); }
82 inline void SetPeerAddress(
const char* value) { m_peerAddressHasBeenSet =
true; m_peerAddress.assign(value); }
142 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
148 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
151 bool m_transitGatewayAddressHasBeenSet =
false;
154 bool m_peerAddressHasBeenSet =
false;
157 bool m_bgpOptionsHasBeenSet =
false;
160 bool m_insideCidrBlocksHasBeenSet =
false;
163 bool m_tagSpecificationsHasBeenSet =
false;
166 bool m_dryRunHasBeenSet =
false;
CreateTransitGatewayConnectPeerRequest & AddInsideCidrBlocks(const Aws::String &value)
void SetTransitGatewayAttachmentId(const Aws::String &value)
CreateTransitGatewayConnectPeerRequest & WithTransitGatewayAttachmentId(const char *value)
void SetDryRun(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
bool TagSpecificationsHasBeenSet() const
CreateTransitGatewayConnectPeerRequest & WithBgpOptions(TransitGatewayConnectRequestBgpOptions &&value)
const TransitGatewayConnectRequestBgpOptions & GetBgpOptions() const
bool PeerAddressHasBeenSet() const
void SetInsideCidrBlocks(Aws::Vector< Aws::String > &&value)
bool DryRunHasBeenSet() const
CreateTransitGatewayConnectPeerRequest & WithInsideCidrBlocks(Aws::Vector< Aws::String > &&value)
void SetBgpOptions(TransitGatewayConnectRequestBgpOptions &&value)
CreateTransitGatewayConnectPeerRequest & WithPeerAddress(const Aws::String &value)
CreateTransitGatewayConnectPeerRequest & WithDryRun(bool value)
virtual const char * GetServiceRequestName() const override
CreateTransitGatewayConnectPeerRequest & WithTransitGatewayAddress(const char *value)
void SetPeerAddress(Aws::String &&value)
void SetTransitGatewayAddress(const char *value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetTransitGatewayAttachmentId(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateTransitGatewayConnectPeerRequest & WithTransitGatewayAttachmentId(Aws::String &&value)
bool InsideCidrBlocksHasBeenSet() const
const Aws::String & GetTransitGatewayAddress() const
void SetTransitGatewayAttachmentId(Aws::String &&value)
CreateTransitGatewayConnectPeerRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetTransitGatewayAddress(Aws::String &&value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateTransitGatewayConnectPeerRequest & WithTransitGatewayAttachmentId(const Aws::String &value)
bool TransitGatewayAttachmentIdHasBeenSet() const
bool BgpOptionsHasBeenSet() const
void SetBgpOptions(const TransitGatewayConnectRequestBgpOptions &value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
const Aws::String & GetTransitGatewayAttachmentId() const
CreateTransitGatewayConnectPeerRequest & WithPeerAddress(Aws::String &&value)
CreateTransitGatewayConnectPeerRequest & AddTagSpecifications(const TagSpecification &value)
CreateTransitGatewayConnectPeerRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateTransitGatewayConnectPeerRequest & AddTagSpecifications(TagSpecification &&value)
const Aws::Vector< Aws::String > & GetInsideCidrBlocks() const
bool TransitGatewayAddressHasBeenSet() const
void SetPeerAddress(const Aws::String &value)
void SetTransitGatewayAddress(const Aws::String &value)
CreateTransitGatewayConnectPeerRequest & WithInsideCidrBlocks(const Aws::Vector< Aws::String > &value)
CreateTransitGatewayConnectPeerRequest & WithTransitGatewayAddress(Aws::String &&value)
const Aws::String & GetPeerAddress() const
AWS_EC2_API CreateTransitGatewayConnectPeerRequest()
CreateTransitGatewayConnectPeerRequest & WithPeerAddress(const char *value)
CreateTransitGatewayConnectPeerRequest & WithTransitGatewayAddress(const Aws::String &value)
CreateTransitGatewayConnectPeerRequest & WithBgpOptions(const TransitGatewayConnectRequestBgpOptions &value)
void SetPeerAddress(const char *value)
CreateTransitGatewayConnectPeerRequest & AddInsideCidrBlocks(Aws::String &&value)
void SetInsideCidrBlocks(const Aws::Vector< Aws::String > &value)
CreateTransitGatewayConnectPeerRequest & AddInsideCidrBlocks(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector