51 void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
52 void OutputToStream(
Aws::OStream& oStream,
const char* location)
const;
72 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
92 inline int GetSize()
const{
return m_size; }
97 inline void SetSize(
int value) { m_sizeHasBeenSet =
true; m_size = value; }
122 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
157 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
287 inline Volume&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
292 inline Volume&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
366 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
393 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
422 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
459 bool m_volumeIdHasBeenSet;
461 bool m_sizeHasBeenSet;
463 bool m_snapshotIdHasBeenSet;
465 bool m_availabilityZoneHasBeenSet;
467 bool m_stateHasBeenSet;
469 bool m_createTimeHasBeenSet;
471 bool m_attachmentsHasBeenSet;
473 bool m_tagsHasBeenSet;
475 bool m_volumeTypeHasBeenSet;
477 bool m_iopsHasBeenSet;
479 bool m_encryptedHasBeenSet;
481 bool m_kmsKeyIdHasBeenSet;
483 bool m_responseMetadataHasBeenSet;
void SetVolumeId(const char *value)
Volume & WithAvailabilityZone(Aws::String &&value)
void SetVolumeId(Aws::String &&value)
Volume & WithKmsKeyId(const char *value)
void SetAttachments(Aws::Vector< VolumeAttachment > &&value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetAvailabilityZone(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
Volume & WithSnapshotId(Aws::String &&value)
Volume & WithCreateTime(Aws::Utils::DateTime &&value)
void SetAttachments(const Aws::Vector< VolumeAttachment > &value)
const Aws::Vector< VolumeAttachment > & GetAttachments() const
Volume & WithCreateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetAvailabilityZone() const
void SetKmsKeyId(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
void SetTags(const Aws::Vector< Tag > &value)
const VolumeState & GetState() const
Volume & WithSize(int value)
Volume & WithTags(Aws::Vector< Tag > &&value)
Volume & WithVolumeId(const Aws::String &value)
Volume & WithSnapshotId(const Aws::String &value)
Volume & AddAttachments(VolumeAttachment &&value)
void SetState(VolumeState &&value)
void SetState(const VolumeState &value)
void SetSnapshotId(Aws::String &&value)
Volume & WithTags(const Aws::Vector< Tag > &value)
void SetSnapshotId(const Aws::String &value)
Volume & AddTags(Tag &&value)
Volume & WithSnapshotId(const char *value)
const Aws::String & GetVolumeId() const
Volume & AddAttachments(const VolumeAttachment &value)
Volume & WithKmsKeyId(Aws::String &&value)
void SetKmsKeyId(const char *value)
Volume & WithKmsKeyId(const Aws::String &value)
Volume & WithState(VolumeState &&value)
std::basic_ostream< char, std::char_traits< char > > OStream
Volume & WithAvailabilityZone(const Aws::String &value)
const Aws::String & GetSnapshotId() const
Volume & AddTags(const Tag &value)
const Aws::String & GetKmsKeyId() const
void SetVolumeId(const Aws::String &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetAvailabilityZone(const Aws::String &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
void SetAvailabilityZone(Aws::String &&value)
Volume & WithState(const VolumeState &value)
Volume & WithAvailabilityZone(const char *value)
Volume & WithAttachments(Aws::Vector< VolumeAttachment > &&value)
void SetVolumeType(VolumeType &&value)
Volume & WithVolumeType(const VolumeType &value)
const Aws::Vector< Tag > & GetTags() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
void SetVolumeType(const VolumeType &value)
Volume & WithResponseMetadata(ResponseMetadata &&value)
Volume & WithVolumeId(Aws::String &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetKmsKeyId(const Aws::String &value)
Volume & WithIops(int value)
Volume & WithEncrypted(bool value)
Volume & WithResponseMetadata(const ResponseMetadata &value)
Volume & WithVolumeId(const char *value)
Volume & WithVolumeType(VolumeType &&value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetSnapshotId(const char *value)
void SetEncrypted(bool value)
void SetResponseMetadata(ResponseMetadata &&value)
bool GetEncrypted() const
JSON (JavaScript Object Notation).
Volume & WithAttachments(const Aws::Vector< VolumeAttachment > &value)
const VolumeType & GetVolumeType() const