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"; }
48 template<
typename TransitGatewayIdT = Aws::String>
49 void SetTransitGatewayId(TransitGatewayIdT&& value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId = std::forward<TransitGatewayIdT>(value); }
50 template<
typename TransitGatewayIdT = Aws::String>
60 template<
typename VpcIdT = Aws::String>
61 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
62 template<
typename VpcIdT = Aws::String>
75 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
76 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
77 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
79 template<
typename SubnetIdsT = Aws::String>
89 template<
typename OptionsT = CreateTransitGatewayVpcAttachmentRequestOptions>
90 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
91 template<
typename OptionsT = CreateTransitGatewayVpcAttachmentRequestOptions>
101 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
102 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
103 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
105 template<
typename TagSpecificationsT = TagSpecification>
118 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
124 bool m_transitGatewayIdHasBeenSet =
false;
127 bool m_vpcIdHasBeenSet =
false;
130 bool m_subnetIdsHasBeenSet =
false;
133 bool m_optionsHasBeenSet =
false;
136 bool m_tagSpecificationsHasBeenSet =
false;
138 bool m_dryRun{
false};
139 bool m_dryRunHasBeenSet =
false;
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateTransitGatewayVpcAttachmentRequest & AddTagSpecifications(TagSpecificationsT &&value)
const Aws::String & GetTransitGatewayId() const
CreateTransitGatewayVpcAttachmentRequest & WithOptions(OptionsT &&value)
CreateTransitGatewayVpcAttachmentRequest & WithTagSpecifications(TagSpecificationsT &&value)
const CreateTransitGatewayVpcAttachmentRequestOptions & GetOptions() const
void SetTagSpecifications(TagSpecificationsT &&value)
CreateTransitGatewayVpcAttachmentRequest & WithSubnetIds(SubnetIdsT &&value)
bool VpcIdHasBeenSet() const
void SetVpcId(VpcIdT &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateTransitGatewayVpcAttachmentRequest & WithDryRun(bool value)
void SetTransitGatewayId(TransitGatewayIdT &&value)
bool DryRunHasBeenSet() const
CreateTransitGatewayVpcAttachmentRequest & AddSubnetIds(SubnetIdsT &&value)
CreateTransitGatewayVpcAttachmentRequest & WithTransitGatewayId(TransitGatewayIdT &&value)
bool TransitGatewayIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool SubnetIdsHasBeenSet() const
bool OptionsHasBeenSet() const
void SetSubnetIds(SubnetIdsT &&value)
AWS_EC2_API CreateTransitGatewayVpcAttachmentRequest()=default
AWS_EC2_API Aws::String SerializePayload() const override
CreateTransitGatewayVpcAttachmentRequest & WithVpcId(VpcIdT &&value)
void SetDryRun(bool value)
const Aws::String & GetVpcId() const
void SetOptions(OptionsT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool TagSpecificationsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector