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/ec2/model/VolumeType.h>
49 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
61 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
78 inline int GetSize()
const{
return m_size; }
80 inline void SetSize(
int value) { m_sizeHasBeenSet =
true; m_size = value; }
115 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
129 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
146 inline void SetMultiAttachEnabled(
bool value) { m_multiAttachEnabledHasBeenSet =
true; m_multiAttachEnabled = value; }
152 bool m_dryRunHasBeenSet =
false;
155 bool m_volumeIdHasBeenSet =
false;
158 bool m_sizeHasBeenSet =
false;
161 bool m_volumeTypeHasBeenSet =
false;
164 bool m_iopsHasBeenSet =
false;
167 bool m_throughputHasBeenSet =
false;
169 bool m_multiAttachEnabled;
170 bool m_multiAttachEnabledHasBeenSet =
false;
bool SizeHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool MultiAttachEnabledHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ModifyVolumeRequest & WithSize(int value)
void SetMultiAttachEnabled(bool value)
bool ThroughputHasBeenSet() const
ModifyVolumeRequest & WithVolumeType(VolumeType &&value)
void SetVolumeId(Aws::String &&value)
ModifyVolumeRequest & WithThroughput(int value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVolumeRequest & WithIops(int value)
AWS_EC2_API ModifyVolumeRequest()
bool IopsHasBeenSet() const
int GetThroughput() const
void SetVolumeId(const Aws::String &value)
ModifyVolumeRequest & WithVolumeId(const char *value)
void SetVolumeId(const char *value)
ModifyVolumeRequest & WithDryRun(bool value)
void SetVolumeType(const VolumeType &value)
const VolumeType & GetVolumeType() const
bool VolumeIdHasBeenSet() const
void SetDryRun(bool value)
bool GetMultiAttachEnabled() const
ModifyVolumeRequest & WithMultiAttachEnabled(bool value)
ModifyVolumeRequest & WithVolumeType(const VolumeType &value)
ModifyVolumeRequest & WithVolumeId(const Aws::String &value)
const Aws::String & GetVolumeId() const
bool VolumeTypeHasBeenSet() const
ModifyVolumeRequest & WithVolumeId(Aws::String &&value)
void SetThroughput(int value)
void SetVolumeType(VolumeType &&value)
bool DryRunHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String