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; }
59 template<
typename VolumeIdT = Aws::String>
60 void SetVolumeId(VolumeIdT&& value) { m_volumeIdHasBeenSet =
true; m_volumeId = std::forward<VolumeIdT>(value); }
61 template<
typename VolumeIdT = Aws::String>
76 inline int GetSize()
const {
return m_size; }
78 inline void SetSize(
int value) { m_sizeHasBeenSet =
true; m_size = value; }
111 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
125 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
142 inline void SetMultiAttachEnabled(
bool value) { m_multiAttachEnabledHasBeenSet =
true; m_multiAttachEnabled = value; }
147 bool m_dryRun{
false};
148 bool m_dryRunHasBeenSet =
false;
151 bool m_volumeIdHasBeenSet =
false;
154 bool m_sizeHasBeenSet =
false;
157 bool m_volumeTypeHasBeenSet =
false;
160 bool m_iopsHasBeenSet =
false;
163 bool m_throughputHasBeenSet =
false;
165 bool m_multiAttachEnabled{
false};
166 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 & WithThroughput(int value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVolumeRequest & WithIops(int value)
ModifyVolumeRequest & WithVolumeId(VolumeIdT &&value)
bool IopsHasBeenSet() const
int GetThroughput() const
void SetVolumeId(VolumeIdT &&value)
ModifyVolumeRequest & WithDryRun(bool value)
ModifyVolumeRequest & WithVolumeType(VolumeType value)
void SetVolumeType(VolumeType value)
bool VolumeIdHasBeenSet() const
AWS_EC2_API ModifyVolumeRequest()=default
void SetDryRun(bool value)
bool GetMultiAttachEnabled() const
ModifyVolumeRequest & WithMultiAttachEnabled(bool value)
const Aws::String & GetVolumeId() const
VolumeType GetVolumeType() const
bool VolumeTypeHasBeenSet() const
void SetThroughput(int value)
bool DryRunHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String