AWS SDK for C++  1.9.66
AWS SDK for C++
Volume.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
16 #include <aws/ec2/model/Tag.h>
17 #include <utility>
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Xml
24 {
25  class XmlNode;
26 } // namespace Xml
27 } // namespace Utils
28 namespace EC2
29 {
30 namespace Model
31 {
32 
39  {
40  public:
41  Volume();
44 
45  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46  void OutputToStream(Aws::OStream& oStream, const char* location) const;
47 
48 
52  inline const Aws::Vector<VolumeAttachment>& GetAttachments() const{ return m_attachments; }
53 
57  inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; }
58 
62  inline void SetAttachments(const Aws::Vector<VolumeAttachment>& value) { m_attachmentsHasBeenSet = true; m_attachments = value; }
63 
67  inline void SetAttachments(Aws::Vector<VolumeAttachment>&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::move(value); }
68 
72  inline Volume& WithAttachments(const Aws::Vector<VolumeAttachment>& value) { SetAttachments(value); return *this;}
73 
77  inline Volume& WithAttachments(Aws::Vector<VolumeAttachment>&& value) { SetAttachments(std::move(value)); return *this;}
78 
82  inline Volume& AddAttachments(const VolumeAttachment& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(value); return *this; }
83 
87  inline Volume& AddAttachments(VolumeAttachment&& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(std::move(value)); return *this; }
88 
89 
93  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
94 
98  inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
99 
103  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
104 
108  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
109 
113  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
114 
118  inline Volume& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
119 
123  inline Volume& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
124 
128  inline Volume& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
129 
130 
134  inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
135 
139  inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
140 
144  inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
145 
149  inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
150 
154  inline Volume& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
155 
159  inline Volume& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
160 
161 
165  inline bool GetEncrypted() const{ return m_encrypted; }
166 
170  inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
171 
175  inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
176 
180  inline Volume& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
181 
182 
187  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
188 
193  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
194 
199  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
200 
205  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
206 
211  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
212 
217  inline Volume& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
218 
223  inline Volume& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
224 
229  inline Volume& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
230 
231 
235  inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; }
236 
240  inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; }
241 
245  inline void SetOutpostArn(const Aws::String& value) { m_outpostArnHasBeenSet = true; m_outpostArn = value; }
246 
250  inline void SetOutpostArn(Aws::String&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::move(value); }
251 
255  inline void SetOutpostArn(const char* value) { m_outpostArnHasBeenSet = true; m_outpostArn.assign(value); }
256 
260  inline Volume& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;}
261 
265  inline Volume& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;}
266 
270  inline Volume& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;}
271 
272 
276  inline int GetSize() const{ return m_size; }
277 
281  inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
282 
286  inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
287 
291  inline Volume& WithSize(int value) { SetSize(value); return *this;}
292 
293 
297  inline const Aws::String& GetSnapshotId() const{ return m_snapshotId; }
298 
302  inline bool SnapshotIdHasBeenSet() const { return m_snapshotIdHasBeenSet; }
303 
307  inline void SetSnapshotId(const Aws::String& value) { m_snapshotIdHasBeenSet = true; m_snapshotId = value; }
308 
312  inline void SetSnapshotId(Aws::String&& value) { m_snapshotIdHasBeenSet = true; m_snapshotId = std::move(value); }
313 
317  inline void SetSnapshotId(const char* value) { m_snapshotIdHasBeenSet = true; m_snapshotId.assign(value); }
318 
322  inline Volume& WithSnapshotId(const Aws::String& value) { SetSnapshotId(value); return *this;}
323 
327  inline Volume& WithSnapshotId(Aws::String&& value) { SetSnapshotId(std::move(value)); return *this;}
328 
332  inline Volume& WithSnapshotId(const char* value) { SetSnapshotId(value); return *this;}
333 
334 
338  inline const VolumeState& GetState() const{ return m_state; }
339 
343  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
344 
348  inline void SetState(const VolumeState& value) { m_stateHasBeenSet = true; m_state = value; }
349 
353  inline void SetState(VolumeState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
354 
358  inline Volume& WithState(const VolumeState& value) { SetState(value); return *this;}
359 
363  inline Volume& WithState(VolumeState&& value) { SetState(std::move(value)); return *this;}
364 
365 
369  inline const Aws::String& GetVolumeId() const{ return m_volumeId; }
370 
374  inline bool VolumeIdHasBeenSet() const { return m_volumeIdHasBeenSet; }
375 
379  inline void SetVolumeId(const Aws::String& value) { m_volumeIdHasBeenSet = true; m_volumeId = value; }
380 
384  inline void SetVolumeId(Aws::String&& value) { m_volumeIdHasBeenSet = true; m_volumeId = std::move(value); }
385 
389  inline void SetVolumeId(const char* value) { m_volumeIdHasBeenSet = true; m_volumeId.assign(value); }
390 
394  inline Volume& WithVolumeId(const Aws::String& value) { SetVolumeId(value); return *this;}
395 
399  inline Volume& WithVolumeId(Aws::String&& value) { SetVolumeId(std::move(value)); return *this;}
400 
404  inline Volume& WithVolumeId(const char* value) { SetVolumeId(value); return *this;}
405 
406 
414  inline int GetIops() const{ return m_iops; }
415 
423  inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
424 
432  inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
433 
441  inline Volume& WithIops(int value) { SetIops(value); return *this;}
442 
443 
447  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
448 
452  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
453 
457  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
458 
462  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
463 
467  inline Volume& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
468 
472  inline Volume& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
473 
477  inline Volume& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
478 
482  inline Volume& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
483 
484 
488  inline const VolumeType& GetVolumeType() const{ return m_volumeType; }
489 
493  inline bool VolumeTypeHasBeenSet() const { return m_volumeTypeHasBeenSet; }
494 
498  inline void SetVolumeType(const VolumeType& value) { m_volumeTypeHasBeenSet = true; m_volumeType = value; }
499 
503  inline void SetVolumeType(VolumeType&& value) { m_volumeTypeHasBeenSet = true; m_volumeType = std::move(value); }
504 
508  inline Volume& WithVolumeType(const VolumeType& value) { SetVolumeType(value); return *this;}
509 
513  inline Volume& WithVolumeType(VolumeType&& value) { SetVolumeType(std::move(value)); return *this;}
514 
515 
519  inline bool GetFastRestored() const{ return m_fastRestored; }
520 
524  inline bool FastRestoredHasBeenSet() const { return m_fastRestoredHasBeenSet; }
525 
529  inline void SetFastRestored(bool value) { m_fastRestoredHasBeenSet = true; m_fastRestored = value; }
530 
534  inline Volume& WithFastRestored(bool value) { SetFastRestored(value); return *this;}
535 
536 
540  inline bool GetMultiAttachEnabled() const{ return m_multiAttachEnabled; }
541 
545  inline bool MultiAttachEnabledHasBeenSet() const { return m_multiAttachEnabledHasBeenSet; }
546 
550  inline void SetMultiAttachEnabled(bool value) { m_multiAttachEnabledHasBeenSet = true; m_multiAttachEnabled = value; }
551 
555  inline Volume& WithMultiAttachEnabled(bool value) { SetMultiAttachEnabled(value); return *this;}
556 
557 
561  inline int GetThroughput() const{ return m_throughput; }
562 
566  inline bool ThroughputHasBeenSet() const { return m_throughputHasBeenSet; }
567 
571  inline void SetThroughput(int value) { m_throughputHasBeenSet = true; m_throughput = value; }
572 
576  inline Volume& WithThroughput(int value) { SetThroughput(value); return *this;}
577 
578 
579 
580  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
581 
582 
583  inline bool ResponseMetadataHasBeenSet() const { return m_responseMetadataHasBeenSet; }
584 
585 
586  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = value; }
587 
588 
589  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::move(value); }
590 
591 
592  inline Volume& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
593 
594 
595  inline Volume& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
596 
597  private:
598 
599  Aws::Vector<VolumeAttachment> m_attachments;
600  bool m_attachmentsHasBeenSet;
601 
602  Aws::String m_availabilityZone;
603  bool m_availabilityZoneHasBeenSet;
604 
605  Aws::Utils::DateTime m_createTime;
606  bool m_createTimeHasBeenSet;
607 
608  bool m_encrypted;
609  bool m_encryptedHasBeenSet;
610 
611  Aws::String m_kmsKeyId;
612  bool m_kmsKeyIdHasBeenSet;
613 
614  Aws::String m_outpostArn;
615  bool m_outpostArnHasBeenSet;
616 
617  int m_size;
618  bool m_sizeHasBeenSet;
619 
620  Aws::String m_snapshotId;
621  bool m_snapshotIdHasBeenSet;
622 
623  VolumeState m_state;
624  bool m_stateHasBeenSet;
625 
626  Aws::String m_volumeId;
627  bool m_volumeIdHasBeenSet;
628 
629  int m_iops;
630  bool m_iopsHasBeenSet;
631 
632  Aws::Vector<Tag> m_tags;
633  bool m_tagsHasBeenSet;
634 
635  VolumeType m_volumeType;
636  bool m_volumeTypeHasBeenSet;
637 
638  bool m_fastRestored;
639  bool m_fastRestoredHasBeenSet;
640 
641  bool m_multiAttachEnabled;
642  bool m_multiAttachEnabledHasBeenSet;
643 
644  int m_throughput;
645  bool m_throughputHasBeenSet;
646 
647  ResponseMetadata m_responseMetadata;
648  bool m_responseMetadataHasBeenSet;
649  };
650 
651 } // namespace Model
652 } // namespace EC2
653 } // namespace Aws
Aws::EC2::Model::Volume::WithState
Volume & WithState(VolumeState &&value)
Definition: Volume.h:363
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::Volume::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::Volume::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: Volume.h:586
Aws::EC2::Model::Volume::SizeHasBeenSet
bool SizeHasBeenSet() const
Definition: Volume.h:281
Aws::EC2::Model::Volume::WithOutpostArn
Volume & WithOutpostArn(const char *value)
Definition: Volume.h:270
Aws::EC2::Model::Volume::FastRestoredHasBeenSet
bool FastRestoredHasBeenSet() const
Definition: Volume.h:524
Aws::EC2::Model::Volume::SetAttachments
void SetAttachments(const Aws::Vector< VolumeAttachment > &value)
Definition: Volume.h:62
Aws::EC2::Model::Volume::SetIops
void SetIops(int value)
Definition: Volume.h:432
Aws::EC2::Model::Volume::GetOutpostArn
const Aws::String & GetOutpostArn() const
Definition: Volume.h:235
Aws::EC2::Model::Volume::SetVolumeId
void SetVolumeId(const char *value)
Definition: Volume.h:389
VolumeAttachment.h
Aws::EC2::Model::Volume::WithVolumeId
Volume & WithVolumeId(Aws::String &&value)
Definition: Volume.h:399
Aws::EC2::Model::Volume::AvailabilityZoneHasBeenSet
bool AvailabilityZoneHasBeenSet() const
Definition: Volume.h:98
Aws::EC2::Model::Volume::OutpostArnHasBeenSet
bool OutpostArnHasBeenSet() const
Definition: Volume.h:240
Aws::EC2::Model::Volume::SetEncrypted
void SetEncrypted(bool value)
Definition: Volume.h:175
Aws::EC2::Model::Volume::WithOutpostArn
Volume & WithOutpostArn(Aws::String &&value)
Definition: Volume.h:265
Aws::EC2::Model::Volume
Definition: Volume.h:39
Aws::EC2::Model::Volume::GetFastRestored
bool GetFastRestored() const
Definition: Volume.h:519
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::Volume::SnapshotIdHasBeenSet
bool SnapshotIdHasBeenSet() const
Definition: Volume.h:302
Aws::EC2::Model::Volume::WithAttachments
Volume & WithAttachments(Aws::Vector< VolumeAttachment > &&value)
Definition: Volume.h:77
Aws::EC2::Model::Volume::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: Volume.h:211
Aws::EC2::Model::Volume::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Volume.h:452
Aws::EC2::Model::Volume::SetState
void SetState(const VolumeState &value)
Definition: Volume.h:348
Aws::EC2::Model::Volume::WithAvailabilityZone
Volume & WithAvailabilityZone(const Aws::String &value)
Definition: Volume.h:118
Aws::EC2::Model::Volume::WithKmsKeyId
Volume & WithKmsKeyId(const char *value)
Definition: Volume.h:229
Aws::EC2::Model::Volume::SetOutpostArn
void SetOutpostArn(const Aws::String &value)
Definition: Volume.h:245
VolumeState.h
Aws::EC2::Model::Volume::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: Volume.h:580
Aws::EC2::Model::Volume::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: Volume.h:108
Aws::EC2::Model::Volume::SetAttachments
void SetAttachments(Aws::Vector< VolumeAttachment > &&value)
Definition: Volume.h:67
Aws::EC2::Model::Volume::WithThroughput
Volume & WithThroughput(int value)
Definition: Volume.h:576
DateTime.h
Aws::EC2::Model::Volume::SetVolumeId
void SetVolumeId(const Aws::String &value)
Definition: Volume.h:379
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::Volume::WithResponseMetadata
Volume & WithResponseMetadata(ResponseMetadata &&value)
Definition: Volume.h:595
VolumeType.h
ResponseMetadata.h
Aws::EC2::Model::Volume::SetCreateTime
void SetCreateTime(Aws::Utils::DateTime &&value)
Definition: Volume.h:149
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
Aws::EC2::Model::Volume::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: Volume.h:113
Aws::EC2::Model::Volume::SetFastRestored
void SetFastRestored(bool value)
Definition: Volume.h:529
AWSVector.h
Tag.h
Aws::EC2::Model::Volume::WithEncrypted
Volume & WithEncrypted(bool value)
Definition: Volume.h:180
Aws::EC2::Model::Volume::WithAvailabilityZone
Volume & WithAvailabilityZone(Aws::String &&value)
Definition: Volume.h:123
Aws::EC2::Model::Volume::GetEncrypted
bool GetEncrypted() const
Definition: Volume.h:165
Aws::EC2::Model::Volume::WithTags
Volume & WithTags(Aws::Vector< Tag > &&value)
Definition: Volume.h:472
Aws::EC2::Model::Volume::WithVolumeId
Volume & WithVolumeId(const Aws::String &value)
Definition: Volume.h:394
Aws::EC2::Model::Volume::WithSnapshotId
Volume & WithSnapshotId(const char *value)
Definition: Volume.h:332
Aws::EC2::Model::Volume::SetVolumeType
void SetVolumeType(VolumeType &&value)
Definition: Volume.h:503
Aws::EC2::Model::Volume::WithCreateTime
Volume & WithCreateTime(Aws::Utils::DateTime &&value)
Definition: Volume.h:159
Aws::EC2::Model::Volume::GetState
const VolumeState & GetState() const
Definition: Volume.h:338
Aws::EC2::Model::VolumeType
VolumeType
Definition: VolumeType.h:17
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::Volume::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: Volume.h:205
Aws::EC2::Model::Volume::SetOutpostArn
void SetOutpostArn(const char *value)
Definition: Volume.h:255
Aws::EC2::Model::Volume::SetSnapshotId
void SetSnapshotId(Aws::String &&value)
Definition: Volume.h:312
Aws::EC2::Model::Volume::EncryptedHasBeenSet
bool EncryptedHasBeenSet() const
Definition: Volume.h:170
Aws::EC2::Model::Volume::IopsHasBeenSet
bool IopsHasBeenSet() const
Definition: Volume.h:423
Aws::EC2::Model::Volume::GetMultiAttachEnabled
bool GetMultiAttachEnabled() const
Definition: Volume.h:540
Aws::EC2::Model::Volume::WithSnapshotId
Volume & WithSnapshotId(const Aws::String &value)
Definition: Volume.h:322
Aws::EC2::Model::Volume::GetThroughput
int GetThroughput() const
Definition: Volume.h:561
Aws::EC2::Model::Volume::SetSnapshotId
void SetSnapshotId(const Aws::String &value)
Definition: Volume.h:307
Aws::EC2::Model::Volume::WithAttachments
Volume & WithAttachments(const Aws::Vector< VolumeAttachment > &value)
Definition: Volume.h:72
Aws::EC2::Model::VolumeState
VolumeState
Definition: VolumeState.h:17
Aws::EC2::Model::Volume::WithOutpostArn
Volume & WithOutpostArn(const Aws::String &value)
Definition: Volume.h:260
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::Volume::WithVolumeType
Volume & WithVolumeType(const VolumeType &value)
Definition: Volume.h:508
Aws::EC2::Model::Volume::WithTags
Volume & WithTags(const Aws::Vector< Tag > &value)
Definition: Volume.h:467
Aws::EC2::Model::Volume::GetSize
int GetSize() const
Definition: Volume.h:276
Aws::EC2::Model::Volume::Volume
Volume(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::Volume::VolumeIdHasBeenSet
bool VolumeIdHasBeenSet() const
Definition: Volume.h:374
Aws::EC2::Model::Volume::SetSnapshotId
void SetSnapshotId(const char *value)
Definition: Volume.h:317
Aws::EC2::Model::Volume::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: Volume.h:462
Aws::EC2::Model::Volume::AddTags
Volume & AddTags(Tag &&value)
Definition: Volume.h:482
Aws::EC2::Model::Volume::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: Volume.h:103
Aws::EC2::Model::Volume::Volume
Volume()
Aws::EC2::Model::Volume::WithResponseMetadata
Volume & WithResponseMetadata(const ResponseMetadata &value)
Definition: Volume.h:592
Aws::EC2::Model::Volume::WithVolumeId
Volume & WithVolumeId(const char *value)
Definition: Volume.h:404
Aws::EC2::Model::Volume::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: Volume.h:193
Aws::EC2::Model::Volume::GetAttachments
const Aws::Vector< VolumeAttachment > & GetAttachments() const
Definition: Volume.h:52
Aws::EC2::Model::Volume::operator=
Volume & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::Volume::AttachmentsHasBeenSet
bool AttachmentsHasBeenSet() const
Definition: Volume.h:57
Aws::EC2::Model::Volume::GetCreateTime
const Aws::Utils::DateTime & GetCreateTime() const
Definition: Volume.h:134
Aws::EC2::Model::Volume::WithCreateTime
Volume & WithCreateTime(const Aws::Utils::DateTime &value)
Definition: Volume.h:154
Aws::EC2::Model::Volume::WithSnapshotId
Volume & WithSnapshotId(Aws::String &&value)
Definition: Volume.h:327
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::Volume::SetSize
void SetSize(int value)
Definition: Volume.h:286
Aws::EC2::Model::Volume::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: Volume.h:187
Aws::EC2::Model::Volume::WithIops
Volume & WithIops(int value)
Definition: Volume.h:441
Aws::EC2::Model::Volume::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: Volume.h:93
Aws::EC2::Model::Volume::ResponseMetadataHasBeenSet
bool ResponseMetadataHasBeenSet() const
Definition: Volume.h:583
Aws::EC2::Model::Volume::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: Volume.h:457
Aws::EC2::Model::Volume::AddTags
Volume & AddTags(const Tag &value)
Definition: Volume.h:477
Aws::EC2::Model::Volume::AddAttachments
Volume & AddAttachments(const VolumeAttachment &value)
Definition: Volume.h:82
Aws::EC2::Model::Volume::WithState
Volume & WithState(const VolumeState &value)
Definition: Volume.h:358
Aws::EC2::Model::Volume::GetIops
int GetIops() const
Definition: Volume.h:414
Aws::EC2::Model::Volume::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: Volume.h:199
Aws::EC2::Model::Volume::SetVolumeType
void SetVolumeType(const VolumeType &value)
Definition: Volume.h:498
Aws::EC2::Model::Volume::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: Volume.h:447
Aws::EC2::Model::Volume::MultiAttachEnabledHasBeenSet
bool MultiAttachEnabledHasBeenSet() const
Definition: Volume.h:545
Aws::EC2::Model::Volume::AddAttachments
Volume & AddAttachments(VolumeAttachment &&value)
Definition: Volume.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::Volume::SetState
void SetState(VolumeState &&value)
Definition: Volume.h:353
Aws::EC2::Model::Volume::GetVolumeId
const Aws::String & GetVolumeId() const
Definition: Volume.h:369
Aws::EC2::Model::Volume::WithVolumeType
Volume & WithVolumeType(VolumeType &&value)
Definition: Volume.h:513
Aws::EC2::Model::Volume::SetCreateTime
void SetCreateTime(const Aws::Utils::DateTime &value)
Definition: Volume.h:144
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::Volume::CreateTimeHasBeenSet
bool CreateTimeHasBeenSet() const
Definition: Volume.h:139
Aws::EC2::Model::Volume::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: Volume.h:589
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::Volume::WithFastRestored
Volume & WithFastRestored(bool value)
Definition: Volume.h:534
Aws::EC2::Model::Volume::VolumeTypeHasBeenSet
bool VolumeTypeHasBeenSet() const
Definition: Volume.h:493
Aws::EC2::Model::Volume::StateHasBeenSet
bool StateHasBeenSet() const
Definition: Volume.h:343
Aws::EC2::Model::Volume::WithMultiAttachEnabled
Volume & WithMultiAttachEnabled(bool value)
Definition: Volume.h:555
Aws::EC2::Model::Volume::SetVolumeId
void SetVolumeId(Aws::String &&value)
Definition: Volume.h:384
Aws::EC2::Model::Volume::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::Volume::WithKmsKeyId
Volume & WithKmsKeyId(Aws::String &&value)
Definition: Volume.h:223
Aws::EC2::Model::Volume::WithKmsKeyId
Volume & WithKmsKeyId(const Aws::String &value)
Definition: Volume.h:217
EC2_EXPORTS.h
Aws::EC2::Model::Volume::GetVolumeType
const VolumeType & GetVolumeType() const
Definition: Volume.h:488
Aws::EC2::Model::Volume::SetOutpostArn
void SetOutpostArn(Aws::String &&value)
Definition: Volume.h:250
Aws::EC2::Model::Volume::WithAvailabilityZone
Volume & WithAvailabilityZone(const char *value)
Definition: Volume.h:128
Aws::EC2::Model::Volume::ThroughputHasBeenSet
bool ThroughputHasBeenSet() const
Definition: Volume.h:566
Aws::EC2::Model::Volume::SetThroughput
void SetThroughput(int value)
Definition: Volume.h:571
Aws::EC2::Model::Volume::GetSnapshotId
const Aws::String & GetSnapshotId() const
Definition: Volume.h:297
Aws::EC2::Model::VolumeAttachment
Definition: VolumeAttachment.h:35
Aws::EC2::Model::Volume::SetMultiAttachEnabled
void SetMultiAttachEnabled(bool value)
Definition: Volume.h:550
Aws::EC2::Model::Volume::WithSize
Volume & WithSize(int value)
Definition: Volume.h:291