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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/CreateTransitGatewayVpcAttachmentRequestOptions.h>
12#include <aws/ec2/model/TagSpecification.h>
33 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateTransitGatewayVpcAttachment"; }
50 inline void SetTransitGatewayId(
const char* value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId.assign(value); }
64 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
123 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
129 bool m_transitGatewayIdHasBeenSet =
false;
132 bool m_vpcIdHasBeenSet =
false;
135 bool m_subnetIdsHasBeenSet =
false;
138 bool m_optionsHasBeenSet =
false;
141 bool m_tagSpecificationsHasBeenSet =
false;
144 bool m_dryRunHasBeenSet =
false;
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateTransitGatewayVpcAttachmentRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetOptions(CreateTransitGatewayVpcAttachmentRequestOptions &&value)
const Aws::String & GetTransitGatewayId() const
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateTransitGatewayVpcAttachmentRequest & WithOptions(const CreateTransitGatewayVpcAttachmentRequestOptions &value)
const CreateTransitGatewayVpcAttachmentRequestOptions & GetOptions() const
CreateTransitGatewayVpcAttachmentRequest & AddTagSpecifications(TagSpecification &&value)
CreateTransitGatewayVpcAttachmentRequest & WithVpcId(Aws::String &&value)
bool VpcIdHasBeenSet() const
void SetVpcId(Aws::String &&value)
AWS_EC2_API CreateTransitGatewayVpcAttachmentRequest()
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateTransitGatewayVpcAttachmentRequest & AddSubnetIds(const char *value)
CreateTransitGatewayVpcAttachmentRequest & WithDryRun(bool value)
CreateTransitGatewayVpcAttachmentRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetTransitGatewayId(const Aws::String &value)
bool DryRunHasBeenSet() const
CreateTransitGatewayVpcAttachmentRequest & WithTransitGatewayId(const Aws::String &value)
CreateTransitGatewayVpcAttachmentRequest & WithTransitGatewayId(const char *value)
void SetOptions(const CreateTransitGatewayVpcAttachmentRequestOptions &value)
CreateTransitGatewayVpcAttachmentRequest & WithOptions(CreateTransitGatewayVpcAttachmentRequestOptions &&value)
CreateTransitGatewayVpcAttachmentRequest & AddSubnetIds(const Aws::String &value)
bool TransitGatewayIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateTransitGatewayVpcAttachmentRequest & WithVpcId(const char *value)
CreateTransitGatewayVpcAttachmentRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
void SetVpcId(const Aws::String &value)
bool SubnetIdsHasBeenSet() const
void SetTransitGatewayId(const char *value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
bool OptionsHasBeenSet() const
CreateTransitGatewayVpcAttachmentRequest & WithVpcId(const Aws::String &value)
void SetVpcId(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetDryRun(bool value)
void SetTransitGatewayId(Aws::String &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetVpcId() const
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateTransitGatewayVpcAttachmentRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
CreateTransitGatewayVpcAttachmentRequest & AddSubnetIds(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
CreateTransitGatewayVpcAttachmentRequest & AddTagSpecifications(const TagSpecification &value)
CreateTransitGatewayVpcAttachmentRequest & WithTransitGatewayId(Aws::String &&value)
bool TagSpecificationsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector