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/ModifyTransitGatewayVpcAttachmentRequestOptions.h>
32 inline virtual const char*
GetServiceRequestName()
const override {
return "ModifyTransitGatewayVpcAttachment"; }
49 inline void SetTransitGatewayAttachmentId(
const char* value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId.assign(value); }
107 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
113 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
116 bool m_addSubnetIdsHasBeenSet =
false;
119 bool m_removeSubnetIdsHasBeenSet =
false;
122 bool m_optionsHasBeenSet =
false;
125 bool m_dryRunHasBeenSet =
false;
const ModifyTransitGatewayVpcAttachmentRequestOptions & GetOptions() const
ModifyTransitGatewayVpcAttachmentRequest & WithAddSubnetIds(const Aws::Vector< Aws::String > &value)
bool RemoveSubnetIdsHasBeenSet() const
AWS_EC2_API ModifyTransitGatewayVpcAttachmentRequest()
ModifyTransitGatewayVpcAttachmentRequest & AddAddSubnetIds(Aws::String &&value)
ModifyTransitGatewayVpcAttachmentRequest & WithRemoveSubnetIds(Aws::Vector< Aws::String > &&value)
void SetTransitGatewayAttachmentId(const char *value)
bool DryRunHasBeenSet() const
ModifyTransitGatewayVpcAttachmentRequest & AddAddSubnetIds(const Aws::String &value)
ModifyTransitGatewayVpcAttachmentRequest & AddRemoveSubnetIds(const Aws::String &value)
ModifyTransitGatewayVpcAttachmentRequest & WithDryRun(bool value)
const Aws::String & GetTransitGatewayAttachmentId() const
void SetAddSubnetIds(Aws::Vector< Aws::String > &&value)
void SetOptions(const ModifyTransitGatewayVpcAttachmentRequestOptions &value)
virtual const char * GetServiceRequestName() const override
ModifyTransitGatewayVpcAttachmentRequest & WithTransitGatewayAttachmentId(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
bool AddSubnetIdsHasBeenSet() const
ModifyTransitGatewayVpcAttachmentRequest & WithRemoveSubnetIds(const Aws::Vector< Aws::String > &value)
void SetDryRun(bool value)
bool OptionsHasBeenSet() const
const Aws::Vector< Aws::String > & GetAddSubnetIds() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetTransitGatewayAttachmentId(const Aws::String &value)
ModifyTransitGatewayVpcAttachmentRequest & WithOptions(ModifyTransitGatewayVpcAttachmentRequestOptions &&value)
void SetRemoveSubnetIds(const Aws::Vector< Aws::String > &value)
ModifyTransitGatewayVpcAttachmentRequest & AddAddSubnetIds(const char *value)
ModifyTransitGatewayVpcAttachmentRequest & WithOptions(const ModifyTransitGatewayVpcAttachmentRequestOptions &value)
ModifyTransitGatewayVpcAttachmentRequest & WithTransitGatewayAttachmentId(Aws::String &&value)
void SetTransitGatewayAttachmentId(Aws::String &&value)
ModifyTransitGatewayVpcAttachmentRequest & WithAddSubnetIds(Aws::Vector< Aws::String > &&value)
ModifyTransitGatewayVpcAttachmentRequest & AddRemoveSubnetIds(const char *value)
const Aws::Vector< Aws::String > & GetRemoveSubnetIds() const
void SetRemoveSubnetIds(Aws::Vector< Aws::String > &&value)
ModifyTransitGatewayVpcAttachmentRequest & AddRemoveSubnetIds(Aws::String &&value)
void SetAddSubnetIds(const Aws::Vector< Aws::String > &value)
ModifyTransitGatewayVpcAttachmentRequest & WithTransitGatewayAttachmentId(const char *value)
bool TransitGatewayAttachmentIdHasBeenSet() const
void SetOptions(ModifyTransitGatewayVpcAttachmentRequestOptions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector