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; }
59 template<
typename InstanceIdT = Aws::String>
60 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
61 template<
typename InstanceIdT = Aws::String>
71 template<
typename VpcIdT = Aws::String>
72 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
73 template<
typename VpcIdT = Aws::String>
84 template<
typename GroupsT = Aws::Vector<Aws::String>>
85 void SetGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups = std::forward<GroupsT>(value); }
86 template<
typename GroupsT = Aws::Vector<Aws::String>>
88 template<
typename GroupsT = Aws::String>
94 bool m_dryRunHasBeenSet =
false;
97 bool m_instanceIdHasBeenSet =
false;
100 bool m_vpcIdHasBeenSet =
false;
103 bool m_groupsHasBeenSet =
false;
const Aws::String & GetInstanceId() const
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::String & GetVpcId() const
bool GroupsHasBeenSet() const
void SetVpcId(VpcIdT &&value)
void SetGroups(GroupsT &&value)
AttachClassicLinkVpcRequest & WithGroups(GroupsT &&value)
AWS_EC2_API AttachClassicLinkVpcRequest()=default
void SetDryRun(bool value)
const Aws::Vector< Aws::String > & GetGroups() const
virtual const char * GetServiceRequestName() const override
AttachClassicLinkVpcRequest & WithVpcId(VpcIdT &&value)
AttachClassicLinkVpcRequest & WithInstanceId(InstanceIdT &&value)
bool VpcIdHasBeenSet() const
bool DryRunHasBeenSet() const
void SetInstanceId(InstanceIdT &&value)
AttachClassicLinkVpcRequest & AddGroups(GroupsT &&value)
AttachClassicLinkVpcRequest & WithDryRun(bool value)
bool InstanceIdHasBeenSet() const
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