AWS SDK for C++  1.9.70
AWS SDK for C++
Snapshot.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
14 #include <aws/ec2/model/Tag.h>
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlNode;
24 } // namespace Xml
25 } // namespace Utils
26 namespace EC2
27 {
28 namespace Model
29 {
30 
37  {
38  public:
42 
43  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44  void OutputToStream(Aws::OStream& oStream, const char* location) const;
45 
46 
55  inline const Aws::String& GetDataEncryptionKeyId() const{ return m_dataEncryptionKeyId; }
56 
65  inline bool DataEncryptionKeyIdHasBeenSet() const { return m_dataEncryptionKeyIdHasBeenSet; }
66 
75  inline void SetDataEncryptionKeyId(const Aws::String& value) { m_dataEncryptionKeyIdHasBeenSet = true; m_dataEncryptionKeyId = value; }
76 
85  inline void SetDataEncryptionKeyId(Aws::String&& value) { m_dataEncryptionKeyIdHasBeenSet = true; m_dataEncryptionKeyId = std::move(value); }
86 
95  inline void SetDataEncryptionKeyId(const char* value) { m_dataEncryptionKeyIdHasBeenSet = true; m_dataEncryptionKeyId.assign(value); }
96 
105  inline Snapshot& WithDataEncryptionKeyId(const Aws::String& value) { SetDataEncryptionKeyId(value); return *this;}
106 
115  inline Snapshot& WithDataEncryptionKeyId(Aws::String&& value) { SetDataEncryptionKeyId(std::move(value)); return *this;}
116 
125  inline Snapshot& WithDataEncryptionKeyId(const char* value) { SetDataEncryptionKeyId(value); return *this;}
126 
127 
131  inline const Aws::String& GetDescription() const{ return m_description; }
132 
136  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
137 
141  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
142 
146  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
147 
151  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
152 
156  inline Snapshot& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
157 
161  inline Snapshot& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
162 
166  inline Snapshot& WithDescription(const char* value) { SetDescription(value); return *this;}
167 
168 
172  inline bool GetEncrypted() const{ return m_encrypted; }
173 
177  inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
178 
182  inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
183 
187  inline Snapshot& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
188 
189 
194  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
195 
200  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
201 
206  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
207 
212  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
213 
218  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
219 
224  inline Snapshot& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
225 
230  inline Snapshot& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
231 
236  inline Snapshot& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
237 
238 
242  inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
243 
247  inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
248 
252  inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
253 
257  inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
258 
262  inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
263 
267  inline Snapshot& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
268 
272  inline Snapshot& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
273 
277  inline Snapshot& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
278 
279 
283  inline const Aws::String& GetProgress() const{ return m_progress; }
284 
288  inline bool ProgressHasBeenSet() const { return m_progressHasBeenSet; }
289 
293  inline void SetProgress(const Aws::String& value) { m_progressHasBeenSet = true; m_progress = value; }
294 
298  inline void SetProgress(Aws::String&& value) { m_progressHasBeenSet = true; m_progress = std::move(value); }
299 
303  inline void SetProgress(const char* value) { m_progressHasBeenSet = true; m_progress.assign(value); }
304 
308  inline Snapshot& WithProgress(const Aws::String& value) { SetProgress(value); return *this;}
309 
313  inline Snapshot& WithProgress(Aws::String&& value) { SetProgress(std::move(value)); return *this;}
314 
318  inline Snapshot& WithProgress(const char* value) { SetProgress(value); return *this;}
319 
320 
325  inline const Aws::String& GetSnapshotId() const{ return m_snapshotId; }
326 
331  inline bool SnapshotIdHasBeenSet() const { return m_snapshotIdHasBeenSet; }
332 
337  inline void SetSnapshotId(const Aws::String& value) { m_snapshotIdHasBeenSet = true; m_snapshotId = value; }
338 
343  inline void SetSnapshotId(Aws::String&& value) { m_snapshotIdHasBeenSet = true; m_snapshotId = std::move(value); }
344 
349  inline void SetSnapshotId(const char* value) { m_snapshotIdHasBeenSet = true; m_snapshotId.assign(value); }
350 
355  inline Snapshot& WithSnapshotId(const Aws::String& value) { SetSnapshotId(value); return *this;}
356 
361  inline Snapshot& WithSnapshotId(Aws::String&& value) { SetSnapshotId(std::move(value)); return *this;}
362 
367  inline Snapshot& WithSnapshotId(const char* value) { SetSnapshotId(value); return *this;}
368 
369 
373  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
374 
378  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
379 
383  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
384 
388  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
389 
393  inline Snapshot& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
394 
398  inline Snapshot& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
399 
400 
404  inline const SnapshotState& GetState() const{ return m_state; }
405 
409  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
410 
414  inline void SetState(const SnapshotState& value) { m_stateHasBeenSet = true; m_state = value; }
415 
419  inline void SetState(SnapshotState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
420 
424  inline Snapshot& WithState(const SnapshotState& value) { SetState(value); return *this;}
425 
429  inline Snapshot& WithState(SnapshotState&& value) { SetState(std::move(value)); return *this;}
430 
431 
439  inline const Aws::String& GetStateMessage() const{ return m_stateMessage; }
440 
448  inline bool StateMessageHasBeenSet() const { return m_stateMessageHasBeenSet; }
449 
457  inline void SetStateMessage(const Aws::String& value) { m_stateMessageHasBeenSet = true; m_stateMessage = value; }
458 
466  inline void SetStateMessage(Aws::String&& value) { m_stateMessageHasBeenSet = true; m_stateMessage = std::move(value); }
467 
475  inline void SetStateMessage(const char* value) { m_stateMessageHasBeenSet = true; m_stateMessage.assign(value); }
476 
484  inline Snapshot& WithStateMessage(const Aws::String& value) { SetStateMessage(value); return *this;}
485 
493  inline Snapshot& WithStateMessage(Aws::String&& value) { SetStateMessage(std::move(value)); return *this;}
494 
502  inline Snapshot& WithStateMessage(const char* value) { SetStateMessage(value); return *this;}
503 
504 
510  inline const Aws::String& GetVolumeId() const{ return m_volumeId; }
511 
517  inline bool VolumeIdHasBeenSet() const { return m_volumeIdHasBeenSet; }
518 
524  inline void SetVolumeId(const Aws::String& value) { m_volumeIdHasBeenSet = true; m_volumeId = value; }
525 
531  inline void SetVolumeId(Aws::String&& value) { m_volumeIdHasBeenSet = true; m_volumeId = std::move(value); }
532 
538  inline void SetVolumeId(const char* value) { m_volumeIdHasBeenSet = true; m_volumeId.assign(value); }
539 
545  inline Snapshot& WithVolumeId(const Aws::String& value) { SetVolumeId(value); return *this;}
546 
552  inline Snapshot& WithVolumeId(Aws::String&& value) { SetVolumeId(std::move(value)); return *this;}
553 
559  inline Snapshot& WithVolumeId(const char* value) { SetVolumeId(value); return *this;}
560 
561 
565  inline int GetVolumeSize() const{ return m_volumeSize; }
566 
570  inline bool VolumeSizeHasBeenSet() const { return m_volumeSizeHasBeenSet; }
571 
575  inline void SetVolumeSize(int value) { m_volumeSizeHasBeenSet = true; m_volumeSize = value; }
576 
580  inline Snapshot& WithVolumeSize(int value) { SetVolumeSize(value); return *this;}
581 
582 
588  inline const Aws::String& GetOwnerAlias() const{ return m_ownerAlias; }
589 
595  inline bool OwnerAliasHasBeenSet() const { return m_ownerAliasHasBeenSet; }
596 
602  inline void SetOwnerAlias(const Aws::String& value) { m_ownerAliasHasBeenSet = true; m_ownerAlias = value; }
603 
609  inline void SetOwnerAlias(Aws::String&& value) { m_ownerAliasHasBeenSet = true; m_ownerAlias = std::move(value); }
610 
616  inline void SetOwnerAlias(const char* value) { m_ownerAliasHasBeenSet = true; m_ownerAlias.assign(value); }
617 
623  inline Snapshot& WithOwnerAlias(const Aws::String& value) { SetOwnerAlias(value); return *this;}
624 
630  inline Snapshot& WithOwnerAlias(Aws::String&& value) { SetOwnerAlias(std::move(value)); return *this;}
631 
637  inline Snapshot& WithOwnerAlias(const char* value) { SetOwnerAlias(value); return *this;}
638 
639 
647  inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; }
648 
656  inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; }
657 
665  inline void SetOutpostArn(const Aws::String& value) { m_outpostArnHasBeenSet = true; m_outpostArn = value; }
666 
674  inline void SetOutpostArn(Aws::String&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::move(value); }
675 
683  inline void SetOutpostArn(const char* value) { m_outpostArnHasBeenSet = true; m_outpostArn.assign(value); }
684 
692  inline Snapshot& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;}
693 
701  inline Snapshot& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;}
702 
710  inline Snapshot& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;}
711 
712 
716  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
717 
721  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
722 
726  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
727 
731  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
732 
736  inline Snapshot& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
737 
741  inline Snapshot& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
742 
746  inline Snapshot& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
747 
751  inline Snapshot& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
752 
753 
754 
755  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
756 
757 
758  inline bool ResponseMetadataHasBeenSet() const { return m_responseMetadataHasBeenSet; }
759 
760 
761  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = value; }
762 
763 
764  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::move(value); }
765 
766 
767  inline Snapshot& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
768 
769 
770  inline Snapshot& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
771 
772  private:
773 
774  Aws::String m_dataEncryptionKeyId;
775  bool m_dataEncryptionKeyIdHasBeenSet;
776 
777  Aws::String m_description;
778  bool m_descriptionHasBeenSet;
779 
780  bool m_encrypted;
781  bool m_encryptedHasBeenSet;
782 
783  Aws::String m_kmsKeyId;
784  bool m_kmsKeyIdHasBeenSet;
785 
786  Aws::String m_ownerId;
787  bool m_ownerIdHasBeenSet;
788 
789  Aws::String m_progress;
790  bool m_progressHasBeenSet;
791 
792  Aws::String m_snapshotId;
793  bool m_snapshotIdHasBeenSet;
794 
795  Aws::Utils::DateTime m_startTime;
796  bool m_startTimeHasBeenSet;
797 
798  SnapshotState m_state;
799  bool m_stateHasBeenSet;
800 
801  Aws::String m_stateMessage;
802  bool m_stateMessageHasBeenSet;
803 
804  Aws::String m_volumeId;
805  bool m_volumeIdHasBeenSet;
806 
807  int m_volumeSize;
808  bool m_volumeSizeHasBeenSet;
809 
810  Aws::String m_ownerAlias;
811  bool m_ownerAliasHasBeenSet;
812 
813  Aws::String m_outpostArn;
814  bool m_outpostArnHasBeenSet;
815 
816  Aws::Vector<Tag> m_tags;
817  bool m_tagsHasBeenSet;
818 
819  ResponseMetadata m_responseMetadata;
820  bool m_responseMetadataHasBeenSet;
821  };
822 
823 } // namespace Model
824 } // namespace EC2
825 } // namespace Aws
Aws::EC2::Model::Snapshot::Snapshot
Snapshot()
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::Snapshot::WithSnapshotId
Snapshot & WithSnapshotId(const Aws::String &value)
Definition: Snapshot.h:355
Aws::EC2::Model::Snapshot::SetDataEncryptionKeyId
void SetDataEncryptionKeyId(Aws::String &&value)
Definition: Snapshot.h:85
Aws::EC2::Model::Snapshot::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::Snapshot::WithTags
Snapshot & WithTags(Aws::Vector< Tag > &&value)
Definition: Snapshot.h:741
Aws::EC2::Model::Snapshot::EncryptedHasBeenSet
bool EncryptedHasBeenSet() const
Definition: Snapshot.h:177
Aws::EC2::Model::Snapshot::WithProgress
Snapshot & WithProgress(const char *value)
Definition: Snapshot.h:318
Aws::EC2::Model::Snapshot::WithKmsKeyId
Snapshot & WithKmsKeyId(const Aws::String &value)
Definition: Snapshot.h:224
Aws::EC2::Model::Snapshot::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: Snapshot.h:373
Aws::EC2::Model::Snapshot::WithStartTime
Snapshot & WithStartTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:398
Aws::EC2::Model::Snapshot::SetVolumeId
void SetVolumeId(const char *value)
Definition: Snapshot.h:538
Aws::EC2::Model::Snapshot::StateMessageHasBeenSet
bool StateMessageHasBeenSet() const
Definition: Snapshot.h:448
Aws::EC2::Model::Snapshot::SetVolumeId
void SetVolumeId(const Aws::String &value)
Definition: Snapshot.h:524
Aws::EC2::Model::Snapshot::SetProgress
void SetProgress(const char *value)
Definition: Snapshot.h:303
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::Snapshot::SetSnapshotId
void SetSnapshotId(Aws::String &&value)
Definition: Snapshot.h:343
Aws::EC2::Model::Snapshot::AddTags
Snapshot & AddTags(const Tag &value)
Definition: Snapshot.h:746
Aws::EC2::Model::Snapshot::WithProgress
Snapshot & WithProgress(Aws::String &&value)
Definition: Snapshot.h:313
Aws::EC2::Model::Snapshot::WithOwnerAlias
Snapshot & WithOwnerAlias(const char *value)
Definition: Snapshot.h:637
Aws::EC2::Model::Snapshot::GetStateMessage
const Aws::String & GetStateMessage() const
Definition: Snapshot.h:439
Aws::EC2::Model::Snapshot::SetStateMessage
void SetStateMessage(Aws::String &&value)
Definition: Snapshot.h:466
Aws::EC2::Model::Snapshot::OutpostArnHasBeenSet
bool OutpostArnHasBeenSet() const
Definition: Snapshot.h:656
DateTime.h
Aws::EC2::Model::Snapshot::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: Snapshot.h:218
Aws::EC2::Model::Snapshot::WithKmsKeyId
Snapshot & WithKmsKeyId(Aws::String &&value)
Definition: Snapshot.h:230
Aws::EC2::Model::Snapshot::WithSnapshotId
Snapshot & WithSnapshotId(const char *value)
Definition: Snapshot.h:367
Aws::EC2::Model::Snapshot::SetOwnerId
void SetOwnerId(const Aws::String &value)
Definition: Snapshot.h:252
Aws::EC2::Model::Snapshot::WithStateMessage
Snapshot & WithStateMessage(Aws::String &&value)
Definition: Snapshot.h:493
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::Snapshot::WithOwnerId
Snapshot & WithOwnerId(Aws::String &&value)
Definition: Snapshot.h:272
ResponseMetadata.h
Aws::EC2::Model::Snapshot::SetSnapshotId
void SetSnapshotId(const char *value)
Definition: Snapshot.h:349
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
Aws::EC2::Model::Snapshot::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: Snapshot.h:206
Aws::EC2::Model::Snapshot::WithDescription
Snapshot & WithDescription(const char *value)
Definition: Snapshot.h:166
Aws::EC2::Model::Snapshot::SetDataEncryptionKeyId
void SetDataEncryptionKeyId(const Aws::String &value)
Definition: Snapshot.h:75
Aws::EC2::Model::Snapshot::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: Snapshot.h:761
Aws::EC2::Model::Snapshot::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Snapshot.h:721
Aws::EC2::Model::Snapshot::SetVolumeSize
void SetVolumeSize(int value)
Definition: Snapshot.h:575
Aws::EC2::Model::Snapshot::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:388
Aws::EC2::Model::Snapshot::GetOwnerId
const Aws::String & GetOwnerId() const
Definition: Snapshot.h:242
AWSVector.h
Tag.h
Aws::EC2::Model::Snapshot::WithEncrypted
Snapshot & WithEncrypted(bool value)
Definition: Snapshot.h:187
Aws::EC2::Model::Snapshot::WithState
Snapshot & WithState(SnapshotState &&value)
Definition: Snapshot.h:429
Aws::EC2::Model::Snapshot::GetEncrypted
bool GetEncrypted() const
Definition: Snapshot.h:172
Aws::EC2::Model::Snapshot::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: Snapshot.h:716
Aws::EC2::Model::Snapshot::SetOwnerId
void SetOwnerId(Aws::String &&value)
Definition: Snapshot.h:257
Aws::EC2::Model::Snapshot::SetOwnerAlias
void SetOwnerAlias(const char *value)
Definition: Snapshot.h:616
Aws::EC2::Model::Snapshot::WithVolumeId
Snapshot & WithVolumeId(const Aws::String &value)
Definition: Snapshot.h:545
Aws::EC2::Model::Snapshot::WithVolumeId
Snapshot & WithVolumeId(const char *value)
Definition: Snapshot.h:559
Aws::EC2::Model::Snapshot::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::Snapshot::SetDescription
void SetDescription(const Aws::String &value)
Definition: Snapshot.h:141
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::Snapshot::WithDescription
Snapshot & WithDescription(Aws::String &&value)
Definition: Snapshot.h:161
Aws::EC2::Model::Snapshot::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: Snapshot.h:212
Aws::EC2::Model::Snapshot::WithOutpostArn
Snapshot & WithOutpostArn(const Aws::String &value)
Definition: Snapshot.h:692
Aws::EC2::Model::Snapshot::GetVolumeId
const Aws::String & GetVolumeId() const
Definition: Snapshot.h:510
Aws::EC2::Model::Snapshot::GetSnapshotId
const Aws::String & GetSnapshotId() const
Definition: Snapshot.h:325
Aws::EC2::Model::Snapshot::DataEncryptionKeyIdHasBeenSet
bool DataEncryptionKeyIdHasBeenSet() const
Definition: Snapshot.h:65
Aws::EC2::Model::Snapshot::SetSnapshotId
void SetSnapshotId(const Aws::String &value)
Definition: Snapshot.h:337
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::Snapshot::WithDataEncryptionKeyId
Snapshot & WithDataEncryptionKeyId(Aws::String &&value)
Definition: Snapshot.h:115
Aws::EC2::Model::Snapshot::SetState
void SetState(const SnapshotState &value)
Definition: Snapshot.h:414
Aws::EC2::Model::Snapshot::SetStateMessage
void SetStateMessage(const Aws::String &value)
Definition: Snapshot.h:457
Aws::EC2::Model::Snapshot::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: Snapshot.h:764
Aws::EC2::Model::Snapshot::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: Snapshot.h:194
Aws::EC2::Model::Snapshot::Snapshot
Snapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::Snapshot::SetOwnerAlias
void SetOwnerAlias(const Aws::String &value)
Definition: Snapshot.h:602
Aws::EC2::Model::Snapshot::SetProgress
void SetProgress(const Aws::String &value)
Definition: Snapshot.h:293
Aws::EC2::Model::Snapshot::GetDataEncryptionKeyId
const Aws::String & GetDataEncryptionKeyId() const
Definition: Snapshot.h:55
Aws::EC2::Model::Snapshot::WithOwnerId
Snapshot & WithOwnerId(const char *value)
Definition: Snapshot.h:277
Aws::EC2::Model::Snapshot::VolumeIdHasBeenSet
bool VolumeIdHasBeenSet() const
Definition: Snapshot.h:517
Aws::EC2::Model::Snapshot::SetVolumeId
void SetVolumeId(Aws::String &&value)
Definition: Snapshot.h:531
Aws::EC2::Model::Snapshot::WithState
Snapshot & WithState(const SnapshotState &value)
Definition: Snapshot.h:424
Aws::EC2::Model::Snapshot::SetDescription
void SetDescription(Aws::String &&value)
Definition: Snapshot.h:146
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::Snapshot::SetDataEncryptionKeyId
void SetDataEncryptionKeyId(const char *value)
Definition: Snapshot.h:95
Aws::EC2::Model::Snapshot::WithProgress
Snapshot & WithProgress(const Aws::String &value)
Definition: Snapshot.h:308
AWSString.h
Aws::EC2::Model::Snapshot::GetDescription
const Aws::String & GetDescription() const
Definition: Snapshot.h:131
Aws::EC2::Model::SnapshotState
SnapshotState
Definition: SnapshotState.h:17
Aws::EC2::Model::Snapshot::SetOutpostArn
void SetOutpostArn(const Aws::String &value)
Definition: Snapshot.h:665
Aws::EC2::Model::Snapshot::WithOwnerId
Snapshot & WithOwnerId(const Aws::String &value)
Definition: Snapshot.h:267
Aws::EC2::Model::Snapshot::GetOwnerAlias
const Aws::String & GetOwnerAlias() const
Definition: Snapshot.h:588
Aws::EC2::Model::Snapshot::ResponseMetadataHasBeenSet
bool ResponseMetadataHasBeenSet() const
Definition: Snapshot.h:758
Aws::EC2::Model::Snapshot::WithStateMessage
Snapshot & WithStateMessage(const Aws::String &value)
Definition: Snapshot.h:484
Aws::EC2::Model::Snapshot::WithOutpostArn
Snapshot & WithOutpostArn(Aws::String &&value)
Definition: Snapshot.h:701
Aws::EC2::Model::Snapshot::SetProgress
void SetProgress(Aws::String &&value)
Definition: Snapshot.h:298
Aws::EC2::Model::Snapshot::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: Snapshot.h:755
Aws::EC2::Model::Snapshot::SnapshotIdHasBeenSet
bool SnapshotIdHasBeenSet() const
Definition: Snapshot.h:331
Aws::EC2::Model::Snapshot::WithDataEncryptionKeyId
Snapshot & WithDataEncryptionKeyId(const char *value)
Definition: Snapshot.h:125
Aws::EC2::Model::Snapshot::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: Snapshot.h:731
Aws::EC2::Model::Snapshot::ProgressHasBeenSet
bool ProgressHasBeenSet() const
Definition: Snapshot.h:288
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::Snapshot::AddTags
Snapshot & AddTags(Tag &&value)
Definition: Snapshot.h:751
Aws::EC2::Model::Snapshot::OwnerIdHasBeenSet
bool OwnerIdHasBeenSet() const
Definition: Snapshot.h:247
Aws::EC2::Model::Snapshot::GetOutpostArn
const Aws::String & GetOutpostArn() const
Definition: Snapshot.h:647
Aws::EC2::Model::Snapshot::WithOwnerAlias
Snapshot & WithOwnerAlias(Aws::String &&value)
Definition: Snapshot.h:630
Aws::EC2::Model::Snapshot::SetOwnerAlias
void SetOwnerAlias(Aws::String &&value)
Definition: Snapshot.h:609
Aws::EC2::Model::Snapshot::WithSnapshotId
Snapshot & WithSnapshotId(Aws::String &&value)
Definition: Snapshot.h:361
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::Snapshot::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: Snapshot.h:726
Aws::EC2::Model::Snapshot::SetStateMessage
void SetStateMessage(const char *value)
Definition: Snapshot.h:475
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::Snapshot::SetEncrypted
void SetEncrypted(bool value)
Definition: Snapshot.h:182
Aws::EC2::Model::Snapshot::SetOwnerId
void SetOwnerId(const char *value)
Definition: Snapshot.h:262
Aws::EC2::Model::Snapshot::GetProgress
const Aws::String & GetProgress() const
Definition: Snapshot.h:283
Aws::EC2::Model::Snapshot::SetState
void SetState(SnapshotState &&value)
Definition: Snapshot.h:419
Aws::EC2::Model::Snapshot::WithOutpostArn
Snapshot & WithOutpostArn(const char *value)
Definition: Snapshot.h:710
Aws::EC2::Model::Snapshot::GetVolumeSize
int GetVolumeSize() const
Definition: Snapshot.h:565
Aws::EC2::Model::Snapshot::WithDescription
Snapshot & WithDescription(const Aws::String &value)
Definition: Snapshot.h:156
Aws::EC2::Model::Snapshot::SetOutpostArn
void SetOutpostArn(const char *value)
Definition: Snapshot.h:683
Aws::EC2::Model::Snapshot::WithTags
Snapshot & WithTags(const Aws::Vector< Tag > &value)
Definition: Snapshot.h:736
Aws::EC2::Model::Snapshot::operator=
Snapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SnapshotState.h
Aws::EC2::Model::Snapshot::WithStateMessage
Snapshot & WithStateMessage(const char *value)
Definition: Snapshot.h:502
Aws::EC2::Model::Snapshot::SetDescription
void SetDescription(const char *value)
Definition: Snapshot.h:151
Aws::EC2::Model::Snapshot::WithOwnerAlias
Snapshot & WithOwnerAlias(const Aws::String &value)
Definition: Snapshot.h:623
Aws::EC2::Model::Snapshot::StateHasBeenSet
bool StateHasBeenSet() const
Definition: Snapshot.h:409
Aws::EC2::Model::Snapshot::WithResponseMetadata
Snapshot & WithResponseMetadata(const ResponseMetadata &value)
Definition: Snapshot.h:767
Aws::EC2::Model::Snapshot::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: Snapshot.h:378
EC2_EXPORTS.h
Aws::EC2::Model::Snapshot::OwnerAliasHasBeenSet
bool OwnerAliasHasBeenSet() const
Definition: Snapshot.h:595
Aws::EC2::Model::Snapshot::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Snapshot.h:136
Aws::EC2::Model::Snapshot::WithStartTime
Snapshot & WithStartTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:393
Aws::EC2::Model::Snapshot
Definition: Snapshot.h:37
Aws::EC2::Model::Snapshot::GetState
const SnapshotState & GetState() const
Definition: Snapshot.h:404
Aws::EC2::Model::Snapshot::WithResponseMetadata
Snapshot & WithResponseMetadata(ResponseMetadata &&value)
Definition: Snapshot.h:770
Aws::EC2::Model::Snapshot::SetOutpostArn
void SetOutpostArn(Aws::String &&value)
Definition: Snapshot.h:674
Aws::EC2::Model::Snapshot::WithVolumeId
Snapshot & WithVolumeId(Aws::String &&value)
Definition: Snapshot.h:552
Aws::EC2::Model::Snapshot::WithKmsKeyId
Snapshot & WithKmsKeyId(const char *value)
Definition: Snapshot.h:236
Aws::EC2::Model::Snapshot::VolumeSizeHasBeenSet
bool VolumeSizeHasBeenSet() const
Definition: Snapshot.h:570
Aws::EC2::Model::Snapshot::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: Snapshot.h:200
Aws::EC2::Model::Snapshot::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:383
Aws::EC2::Model::Snapshot::WithVolumeSize
Snapshot & WithVolumeSize(int value)
Definition: Snapshot.h:580
Aws::EC2::Model::Snapshot::WithDataEncryptionKeyId
Snapshot & WithDataEncryptionKeyId(const Aws::String &value)
Definition: Snapshot.h:105