7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/AttributeBooleanValue.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename AutoEnableIOT = AttributeBooleanValue>
47 void SetAutoEnableIO(AutoEnableIOT&& value) { m_autoEnableIOHasBeenSet =
true; m_autoEnableIO = std::forward<AutoEnableIOT>(value); }
48 template<
typename AutoEnableIOT = AttributeBooleanValue>
58 template<
typename VolumeIdT = Aws::String>
59 void SetVolumeId(VolumeIdT&& value) { m_volumeIdHasBeenSet =
true; m_volumeId = std::forward<VolumeIdT>(value); }
60 template<
typename VolumeIdT = Aws::String>
73 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
79 bool m_autoEnableIOHasBeenSet =
false;
82 bool m_volumeIdHasBeenSet =
false;
85 bool m_dryRunHasBeenSet =
false;
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool DryRunHasBeenSet() const
void SetVolumeId(VolumeIdT &&value)
ModifyVolumeAttributeRequest & WithAutoEnableIO(AutoEnableIOT &&value)
ModifyVolumeAttributeRequest & WithDryRun(bool value)
void SetAutoEnableIO(AutoEnableIOT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const AttributeBooleanValue & GetAutoEnableIO() const
const Aws::String & GetVolumeId() const
bool VolumeIdHasBeenSet() const
ModifyVolumeAttributeRequest & WithVolumeId(VolumeIdT &&value)
void SetDryRun(bool value)
bool AutoEnableIOHasBeenSet() const
AWS_EC2_API ModifyVolumeAttributeRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String