7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
62 inline void SetEc2VolumeId(
const char* value) { m_ec2VolumeIdHasBeenSet =
true; m_ec2VolumeId.assign(value); }
76 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
90 inline void SetRaidArrayId(
const char* value) { m_raidArrayIdHasBeenSet =
true; m_raidArrayId.assign(value); }
104 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
119 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
131 inline void SetSize(
int value) { m_sizeHasBeenSet =
true; m_size = value; }
143 inline void SetDevice(
const char* value) { m_deviceHasBeenSet =
true; m_device.assign(value); }
157 inline void SetMountPoint(
const char* value) { m_mountPointHasBeenSet =
true; m_mountPoint.assign(value); }
174 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
190 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
215 inline void SetVolumeType(
const char* value) { m_volumeTypeHasBeenSet =
true; m_volumeType.assign(value); }
227 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
240 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
246 bool m_volumeIdHasBeenSet =
false;
249 bool m_ec2VolumeIdHasBeenSet =
false;
252 bool m_nameHasBeenSet =
false;
255 bool m_raidArrayIdHasBeenSet =
false;
258 bool m_instanceIdHasBeenSet =
false;
261 bool m_statusHasBeenSet =
false;
264 bool m_sizeHasBeenSet =
false;
267 bool m_deviceHasBeenSet =
false;
270 bool m_mountPointHasBeenSet =
false;
273 bool m_regionHasBeenSet =
false;
276 bool m_availabilityZoneHasBeenSet =
false;
279 bool m_volumeTypeHasBeenSet =
false;
282 bool m_iopsHasBeenSet =
false;
285 bool m_encryptedHasBeenSet =
false;
Volume & WithRaidArrayId(const Aws::String &value)
Volume & WithMountPoint(const char *value)
void SetDevice(const Aws::String &value)
AWS_OPSWORKS_API Volume & operator=(Aws::Utils::Json::JsonView jsonValue)
Volume & WithStatus(Aws::String &&value)
void SetEc2VolumeId(const Aws::String &value)
Volume & WithVolumeId(Aws::String &&value)
Volume & WithRaidArrayId(Aws::String &&value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAvailabilityZone() const
Volume & WithAvailabilityZone(const char *value)
const Aws::String & GetInstanceId() const
bool VolumeTypeHasBeenSet() const
void SetName(const Aws::String &value)
void SetEc2VolumeId(const char *value)
void SetVolumeType(const char *value)
const Aws::String & GetRaidArrayId() const
Volume & WithMountPoint(const Aws::String &value)
Volume & WithVolumeType(Aws::String &&value)
void SetAvailabilityZone(Aws::String &&value)
Volume & WithDevice(Aws::String &&value)
bool EncryptedHasBeenSet() const
Volume & WithEc2VolumeId(const Aws::String &value)
void SetRegion(const Aws::String &value)
void SetInstanceId(const char *value)
Volume & WithVolumeType(const char *value)
Volume & WithEc2VolumeId(const char *value)
void SetMountPoint(const char *value)
Volume & WithStatus(const Aws::String &value)
void SetVolumeId(const Aws::String &value)
void SetVolumeType(Aws::String &&value)
Volume & WithInstanceId(Aws::String &&value)
bool InstanceIdHasBeenSet() const
Volume & WithName(const Aws::String &value)
Volume & WithDevice(const Aws::String &value)
void SetRaidArrayId(const char *value)
const Aws::String & GetEc2VolumeId() const
AWS_OPSWORKS_API Volume(Aws::Utils::Json::JsonView jsonValue)
Volume & WithRegion(const Aws::String &value)
bool DeviceHasBeenSet() const
void SetInstanceId(const Aws::String &value)
const Aws::String & GetName() const
void SetStatus(const char *value)
Volume & WithVolumeType(const Aws::String &value)
void SetEc2VolumeId(Aws::String &&value)
Volume & WithName(const char *value)
Volume & WithRaidArrayId(const char *value)
Volume & WithStatus(const char *value)
Volume & WithMountPoint(Aws::String &&value)
void SetName(const char *value)
bool SizeHasBeenSet() const
const Aws::String & GetStatus() const
Volume & WithInstanceId(const char *value)
bool IopsHasBeenSet() const
const Aws::String & GetMountPoint() const
bool StatusHasBeenSet() const
void SetDevice(Aws::String &&value)
Volume & WithRegion(const char *value)
void SetVolumeId(Aws::String &&value)
Volume & WithIops(int value)
Volume & WithEc2VolumeId(Aws::String &&value)
void SetAvailabilityZone(const char *value)
bool GetEncrypted() const
void SetRaidArrayId(const Aws::String &value)
void SetStatus(Aws::String &&value)
void SetRaidArrayId(Aws::String &&value)
bool RaidArrayIdHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
void SetRegion(Aws::String &&value)
Volume & WithVolumeId(const Aws::String &value)
Volume & WithVolumeId(const char *value)
void SetMountPoint(Aws::String &&value)
Volume & WithRegion(Aws::String &&value)
void SetMountPoint(const Aws::String &value)
Volume & WithInstanceId(const Aws::String &value)
Volume & WithAvailabilityZone(Aws::String &&value)
AWS_OPSWORKS_API Volume()
bool MountPointHasBeenSet() const
bool NameHasBeenSet() const
Volume & WithSize(int value)
Volume & WithDevice(const char *value)
bool VolumeIdHasBeenSet() const
Volume & WithEncrypted(bool value)
void SetEncrypted(bool value)
void SetDevice(const char *value)
void SetVolumeId(const char *value)
const Aws::String & GetDevice() const
const Aws::String & GetVolumeType() const
void SetName(Aws::String &&value)
void SetStatus(const Aws::String &value)
const Aws::String & GetRegion() const
void SetVolumeType(const Aws::String &value)
void SetAvailabilityZone(const Aws::String &value)
void SetRegion(const char *value)
Volume & WithAvailabilityZone(const Aws::String &value)
const Aws::String & GetVolumeId() const
Volume & WithName(Aws::String &&value)
bool RegionHasBeenSet() const
bool Ec2VolumeIdHasBeenSet() const
void SetInstanceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue