7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetDevice(
const char* value) { m_deviceHasBeenSet =
true; m_device.assign(value); }
62 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
77 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
92 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
98 bool m_deviceHasBeenSet =
false;
101 bool m_instanceIdHasBeenSet =
false;
104 bool m_volumeIdHasBeenSet =
false;
107 bool m_dryRunHasBeenSet =
false;
const Aws::String & GetVolumeId() const
bool DeviceHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDryRun(bool value)
void SetDevice(Aws::String &&value)
void SetVolumeId(Aws::String &&value)
void SetVolumeId(const Aws::String &value)
AttachVolumeRequest & WithDryRun(bool value)
AttachVolumeRequest & WithDevice(Aws::String &&value)
AttachVolumeRequest & WithDevice(const char *value)
bool VolumeIdHasBeenSet() const
void SetInstanceId(const char *value)
const Aws::String & GetInstanceId() const
const Aws::String & GetDevice() const
bool DryRunHasBeenSet() const
void SetInstanceId(Aws::String &&value)
AttachVolumeRequest & WithInstanceId(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
AttachVolumeRequest & WithVolumeId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AttachVolumeRequest & WithDevice(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetDevice(const Aws::String &value)
AttachVolumeRequest & WithVolumeId(const Aws::String &value)
AWS_EC2_API AttachVolumeRequest()
AttachVolumeRequest & WithInstanceId(const char *value)
void SetDevice(const char *value)
void SetVolumeId(const char *value)
AttachVolumeRequest & WithInstanceId(const Aws::String &value)
AttachVolumeRequest & WithVolumeId(const char *value)
bool InstanceIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String