7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetDevice(
const char* value) { m_deviceHasBeenSet =
true; m_device.assign(value); }
63 inline bool GetForce()
const{
return m_force; }
65 inline void SetForce(
bool value) { m_forceHasBeenSet =
true; m_force = value; }
78 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
92 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
107 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
113 bool m_deviceHasBeenSet =
false;
116 bool m_forceHasBeenSet =
false;
119 bool m_instanceIdHasBeenSet =
false;
122 bool m_volumeIdHasBeenSet =
false;
125 bool m_dryRunHasBeenSet =
false;
DetachVolumeRequest & WithDryRun(bool value)
DetachVolumeRequest & WithDevice(Aws::String &&value)
const Aws::String & GetInstanceId() const
bool DeviceHasBeenSet() const
void SetVolumeId(const Aws::String &value)
void SetInstanceId(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetVolumeId(const char *value)
DetachVolumeRequest & WithInstanceId(const Aws::String &value)
void SetDevice(const char *value)
DetachVolumeRequest & WithVolumeId(const char *value)
void SetVolumeId(Aws::String &&value)
DetachVolumeRequest & WithInstanceId(Aws::String &&value)
DetachVolumeRequest & WithInstanceId(const char *value)
void SetDevice(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
void SetDevice(const Aws::String &value)
AWS_EC2_API DetachVolumeRequest()
bool VolumeIdHasBeenSet() const
const Aws::String & GetVolumeId() const
bool DryRunHasBeenSet() const
void SetForce(bool value)
DetachVolumeRequest & WithDevice(const Aws::String &value)
DetachVolumeRequest & WithVolumeId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool ForceHasBeenSet() const
void SetInstanceId(const char *value)
DetachVolumeRequest & WithVolumeId(const Aws::String &value)
DetachVolumeRequest & WithForce(bool value)
void SetDryRun(bool value)
bool InstanceIdHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
DetachVolumeRequest & WithDevice(const char *value)
const Aws::String & GetDevice() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String