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>
49 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
61 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
75 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
99 bool m_dryRunHasBeenSet =
false;
102 bool m_instanceIdHasBeenSet =
false;
105 bool m_vpcIdHasBeenSet =
false;
108 bool m_groupsHasBeenSet =
false;
void SetVpcId(const char *value)
const Aws::String & GetInstanceId() const
AttachClassicLinkVpcRequest & WithInstanceId(const char *value)
void SetVpcId(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
AttachClassicLinkVpcRequest & WithVpcId(const Aws::String &value)
const Aws::String & GetVpcId() const
AttachClassicLinkVpcRequest & AddGroups(const Aws::String &value)
bool GroupsHasBeenSet() const
void SetGroups(const Aws::Vector< Aws::String > &value)
void SetInstanceId(const Aws::String &value)
AttachClassicLinkVpcRequest & WithVpcId(const char *value)
AttachClassicLinkVpcRequest & WithGroups(Aws::Vector< Aws::String > &&value)
void SetInstanceId(const char *value)
void SetDryRun(bool value)
const Aws::Vector< Aws::String > & GetGroups() const
virtual const char * GetServiceRequestName() const override
AttachClassicLinkVpcRequest & WithInstanceId(Aws::String &&value)
AttachClassicLinkVpcRequest & AddGroups(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
AttachClassicLinkVpcRequest & WithGroups(const Aws::Vector< Aws::String > &value)
AttachClassicLinkVpcRequest & WithInstanceId(const Aws::String &value)
void SetGroups(Aws::Vector< Aws::String > &&value)
AttachClassicLinkVpcRequest & AddGroups(const char *value)
AttachClassicLinkVpcRequest & WithVpcId(Aws::String &&value)
bool VpcIdHasBeenSet() const
bool DryRunHasBeenSet() const
void SetVpcId(const Aws::String &value)
AttachClassicLinkVpcRequest & WithDryRun(bool value)
bool InstanceIdHasBeenSet() const
AWS_EC2_API AttachClassicLinkVpcRequest()
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector