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/CreateTransitGatewayPeeringAttachmentRequestOptions.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/TagSpecification.h>
33 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateTransitGatewayPeeringAttachment"; }
50 inline void SetTransitGatewayId(
const char* value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId.assign(value); }
65 inline void SetPeerTransitGatewayId(
const char* value) { m_peerTransitGatewayIdHasBeenSet =
true; m_peerTransitGatewayId.assign(value); }
80 inline void SetPeerAccountId(
const char* value) { m_peerAccountIdHasBeenSet =
true; m_peerAccountId.assign(value); }
94 inline void SetPeerRegion(
const char* value) { m_peerRegionHasBeenSet =
true; m_peerRegion.assign(value); }
135 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
141 bool m_transitGatewayIdHasBeenSet =
false;
144 bool m_peerTransitGatewayIdHasBeenSet =
false;
147 bool m_peerAccountIdHasBeenSet =
false;
150 bool m_peerRegionHasBeenSet =
false;
153 bool m_optionsHasBeenSet =
false;
156 bool m_tagSpecificationsHasBeenSet =
false;
159 bool m_dryRunHasBeenSet =
false;
CreateTransitGatewayPeeringAttachmentRequest & WithPeerRegion(const Aws::String &value)
void SetPeerRegion(Aws::String &&value)
const Aws::String & GetPeerRegion() const
bool PeerRegionHasBeenSet() const
CreateTransitGatewayPeeringAttachmentRequest & WithPeerAccountId(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
const CreateTransitGatewayPeeringAttachmentRequestOptions & GetOptions() const
void SetPeerTransitGatewayId(const char *value)
void SetPeerAccountId(const Aws::String &value)
CreateTransitGatewayPeeringAttachmentRequest & WithPeerTransitGatewayId(const char *value)
CreateTransitGatewayPeeringAttachmentRequest & WithOptions(CreateTransitGatewayPeeringAttachmentRequestOptions &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetPeerAccountId(Aws::String &&value)
CreateTransitGatewayPeeringAttachmentRequest & WithPeerRegion(const char *value)
CreateTransitGatewayPeeringAttachmentRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetPeerTransitGatewayId() const
void SetTransitGatewayId(const char *value)
void SetPeerRegion(const char *value)
void SetDryRun(bool value)
CreateTransitGatewayPeeringAttachmentRequest & WithDryRun(bool value)
CreateTransitGatewayPeeringAttachmentRequest & WithPeerTransitGatewayId(const Aws::String &value)
void SetPeerAccountId(const char *value)
void SetPeerRegion(const Aws::String &value)
bool DryRunHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateTransitGatewayPeeringAttachmentRequest & WithPeerAccountId(Aws::String &&value)
bool PeerAccountIdHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool PeerTransitGatewayIdHasBeenSet() const
void SetOptions(const CreateTransitGatewayPeeringAttachmentRequestOptions &value)
CreateTransitGatewayPeeringAttachmentRequest & WithPeerAccountId(const Aws::String &value)
CreateTransitGatewayPeeringAttachmentRequest & WithOptions(const CreateTransitGatewayPeeringAttachmentRequestOptions &value)
CreateTransitGatewayPeeringAttachmentRequest & WithTransitGatewayId(Aws::String &&value)
const Aws::String & GetTransitGatewayId() const
bool TagSpecificationsHasBeenSet() const
void SetTransitGatewayId(Aws::String &&value)
CreateTransitGatewayPeeringAttachmentRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateTransitGatewayPeeringAttachmentRequest & AddTagSpecifications(TagSpecification &&value)
CreateTransitGatewayPeeringAttachmentRequest & WithTransitGatewayId(const Aws::String &value)
CreateTransitGatewayPeeringAttachmentRequest & WithTransitGatewayId(const char *value)
CreateTransitGatewayPeeringAttachmentRequest & WithPeerRegion(Aws::String &&value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetPeerTransitGatewayId(const Aws::String &value)
AWS_EC2_API CreateTransitGatewayPeeringAttachmentRequest()
bool OptionsHasBeenSet() const
CreateTransitGatewayPeeringAttachmentRequest & WithPeerTransitGatewayId(Aws::String &&value)
void SetTransitGatewayId(const Aws::String &value)
CreateTransitGatewayPeeringAttachmentRequest & AddTagSpecifications(const TagSpecification &value)
void SetOptions(CreateTransitGatewayPeeringAttachmentRequestOptions &&value)
void SetPeerTransitGatewayId(Aws::String &&value)
const Aws::String & GetPeerAccountId() const
bool TransitGatewayIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector