7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
46 m_dryRunHasBeenSet =
true;
61 template <
typename InstanceIdT = Aws::String>
63 m_instanceIdHasBeenSet =
true;
64 m_instanceId = std::forward<InstanceIdT>(value);
66 template <
typename InstanceIdT = Aws::String>
79 template <
typename VpcIdT = Aws::String>
81 m_vpcIdHasBeenSet =
true;
82 m_vpcId = std::forward<VpcIdT>(value);
84 template <
typename VpcIdT = Aws::String>
86 SetVpcId(std::forward<VpcIdT>(value));
98 template <
typename GroupsT = Aws::Vector<Aws::String>>
100 m_groupsHasBeenSet =
true;
101 m_groups = std::forward<GroupsT>(value);
103 template <
typename GroupsT = Aws::Vector<Aws::String>>
108 template <
typename GroupsT = Aws::String>
110 m_groupsHasBeenSet =
true;
111 m_groups.emplace_back(std::forward<GroupsT>(value));
116 bool m_dryRun{
false};
123 bool m_dryRunHasBeenSet =
false;
124 bool m_instanceIdHasBeenSet =
false;
125 bool m_vpcIdHasBeenSet =
false;
126 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