AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Snapshot.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/ResponseMetadata.h>
13#include <aws/ec2/model/SSEType.h>
14#include <aws/ec2/model/SnapshotState.h>
15#include <aws/ec2/model/StorageTier.h>
16#include <aws/ec2/model/Tag.h>
17#include <aws/ec2/model/TransferType.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Xml {
24class XmlNode;
25} // namespace Xml
26} // namespace Utils
27namespace EC2 {
28namespace Model {
29
35class Snapshot {
36 public:
37 AWS_EC2_API Snapshot() = default;
38 AWS_EC2_API Snapshot(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_EC2_API Snapshot& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
45
50 inline const Aws::String& GetOwnerAlias() const { return m_ownerAlias; }
51 inline bool OwnerAliasHasBeenSet() const { return m_ownerAliasHasBeenSet; }
52 template <typename OwnerAliasT = Aws::String>
53 void SetOwnerAlias(OwnerAliasT&& value) {
54 m_ownerAliasHasBeenSet = true;
55 m_ownerAlias = std::forward<OwnerAliasT>(value);
56 }
57 template <typename OwnerAliasT = Aws::String>
58 Snapshot& WithOwnerAlias(OwnerAliasT&& value) {
59 SetOwnerAlias(std::forward<OwnerAliasT>(value));
60 return *this;
61 }
63
65
71 inline const Aws::String& GetOutpostArn() const { return m_outpostArn; }
72 inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; }
73 template <typename OutpostArnT = Aws::String>
74 void SetOutpostArn(OutpostArnT&& value) {
75 m_outpostArnHasBeenSet = true;
76 m_outpostArn = std::forward<OutpostArnT>(value);
77 }
78 template <typename OutpostArnT = Aws::String>
79 Snapshot& WithOutpostArn(OutpostArnT&& value) {
80 SetOutpostArn(std::forward<OutpostArnT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
90 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
91 template <typename TagsT = Aws::Vector<Tag>>
92 void SetTags(TagsT&& value) {
93 m_tagsHasBeenSet = true;
94 m_tags = std::forward<TagsT>(value);
95 }
96 template <typename TagsT = Aws::Vector<Tag>>
97 Snapshot& WithTags(TagsT&& value) {
98 SetTags(std::forward<TagsT>(value));
99 return *this;
100 }
101 template <typename TagsT = Tag>
102 Snapshot& AddTags(TagsT&& value) {
103 m_tagsHasBeenSet = true;
104 m_tags.emplace_back(std::forward<TagsT>(value));
105 return *this;
106 }
108
110
116 inline StorageTier GetStorageTier() const { return m_storageTier; }
117 inline bool StorageTierHasBeenSet() const { return m_storageTierHasBeenSet; }
118 inline void SetStorageTier(StorageTier value) {
119 m_storageTierHasBeenSet = true;
120 m_storageTier = value;
121 }
123 SetStorageTier(value);
124 return *this;
125 }
127
129
134 inline const Aws::Utils::DateTime& GetRestoreExpiryTime() const { return m_restoreExpiryTime; }
135 inline bool RestoreExpiryTimeHasBeenSet() const { return m_restoreExpiryTimeHasBeenSet; }
136 template <typename RestoreExpiryTimeT = Aws::Utils::DateTime>
137 void SetRestoreExpiryTime(RestoreExpiryTimeT&& value) {
138 m_restoreExpiryTimeHasBeenSet = true;
139 m_restoreExpiryTime = std::forward<RestoreExpiryTimeT>(value);
140 }
141 template <typename RestoreExpiryTimeT = Aws::Utils::DateTime>
142 Snapshot& WithRestoreExpiryTime(RestoreExpiryTimeT&& value) {
143 SetRestoreExpiryTime(std::forward<RestoreExpiryTimeT>(value));
144 return *this;
145 }
147
149
152 inline SSEType GetSseType() const { return m_sseType; }
153 inline bool SseTypeHasBeenSet() const { return m_sseTypeHasBeenSet; }
154 inline void SetSseType(SSEType value) {
155 m_sseTypeHasBeenSet = true;
156 m_sseType = value;
157 }
158 inline Snapshot& WithSseType(SSEType value) {
159 SetSseType(value);
160 return *this;
161 }
163
165
170 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
171 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
172 template <typename AvailabilityZoneT = Aws::String>
173 void SetAvailabilityZone(AvailabilityZoneT&& value) {
174 m_availabilityZoneHasBeenSet = true;
175 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
176 }
177 template <typename AvailabilityZoneT = Aws::String>
178 Snapshot& WithAvailabilityZone(AvailabilityZoneT&& value) {
179 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
180 return *this;
181 }
183
185
195 inline TransferType GetTransferType() const { return m_transferType; }
196 inline bool TransferTypeHasBeenSet() const { return m_transferTypeHasBeenSet; }
197 inline void SetTransferType(TransferType value) {
198 m_transferTypeHasBeenSet = true;
199 m_transferType = value;
200 }
202 SetTransferType(value);
203 return *this;
204 }
206
208
213 inline int GetCompletionDurationMinutes() const { return m_completionDurationMinutes; }
214 inline bool CompletionDurationMinutesHasBeenSet() const { return m_completionDurationMinutesHasBeenSet; }
215 inline void SetCompletionDurationMinutes(int value) {
216 m_completionDurationMinutesHasBeenSet = true;
217 m_completionDurationMinutes = value;
218 }
221 return *this;
222 }
224
226
229 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
230 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
231 template <typename CompletionTimeT = Aws::Utils::DateTime>
232 void SetCompletionTime(CompletionTimeT&& value) {
233 m_completionTimeHasBeenSet = true;
234 m_completionTime = std::forward<CompletionTimeT>(value);
235 }
236 template <typename CompletionTimeT = Aws::Utils::DateTime>
237 Snapshot& WithCompletionTime(CompletionTimeT&& value) {
238 SetCompletionTime(std::forward<CompletionTimeT>(value));
239 return *this;
240 }
242
244
250 inline long long GetFullSnapshotSizeInBytes() const { return m_fullSnapshotSizeInBytes; }
251 inline bool FullSnapshotSizeInBytesHasBeenSet() const { return m_fullSnapshotSizeInBytesHasBeenSet; }
252 inline void SetFullSnapshotSizeInBytes(long long value) {
253 m_fullSnapshotSizeInBytesHasBeenSet = true;
254 m_fullSnapshotSizeInBytes = value;
255 }
256 inline Snapshot& WithFullSnapshotSizeInBytes(long long value) {
258 return *this;
259 }
261
263
267 inline const Aws::String& GetSnapshotId() const { return m_snapshotId; }
268 inline bool SnapshotIdHasBeenSet() const { return m_snapshotIdHasBeenSet; }
269 template <typename SnapshotIdT = Aws::String>
270 void SetSnapshotId(SnapshotIdT&& value) {
271 m_snapshotIdHasBeenSet = true;
272 m_snapshotId = std::forward<SnapshotIdT>(value);
273 }
274 template <typename SnapshotIdT = Aws::String>
275 Snapshot& WithSnapshotId(SnapshotIdT&& value) {
276 SetSnapshotId(std::forward<SnapshotIdT>(value));
277 return *this;
278 }
280
282
287 inline const Aws::String& GetVolumeId() const { return m_volumeId; }
288 inline bool VolumeIdHasBeenSet() const { return m_volumeIdHasBeenSet; }
289 template <typename VolumeIdT = Aws::String>
290 void SetVolumeId(VolumeIdT&& value) {
291 m_volumeIdHasBeenSet = true;
292 m_volumeId = std::forward<VolumeIdT>(value);
293 }
294 template <typename VolumeIdT = Aws::String>
295 Snapshot& WithVolumeId(VolumeIdT&& value) {
296 SetVolumeId(std::forward<VolumeIdT>(value));
297 return *this;
298 }
300
302
305 inline SnapshotState GetState() const { return m_state; }
306 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
307 inline void SetState(SnapshotState value) {
308 m_stateHasBeenSet = true;
309 m_state = value;
310 }
312 SetState(value);
313 return *this;
314 }
316
318
324 inline const Aws::String& GetStateMessage() const { return m_stateMessage; }
325 inline bool StateMessageHasBeenSet() const { return m_stateMessageHasBeenSet; }
326 template <typename StateMessageT = Aws::String>
327 void SetStateMessage(StateMessageT&& value) {
328 m_stateMessageHasBeenSet = true;
329 m_stateMessage = std::forward<StateMessageT>(value);
330 }
331 template <typename StateMessageT = Aws::String>
332 Snapshot& WithStateMessage(StateMessageT&& value) {
333 SetStateMessage(std::forward<StateMessageT>(value));
334 return *this;
335 }
337
339
342 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
343 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
344 template <typename StartTimeT = Aws::Utils::DateTime>
345 void SetStartTime(StartTimeT&& value) {
346 m_startTimeHasBeenSet = true;
347 m_startTime = std::forward<StartTimeT>(value);
348 }
349 template <typename StartTimeT = Aws::Utils::DateTime>
350 Snapshot& WithStartTime(StartTimeT&& value) {
351 SetStartTime(std::forward<StartTimeT>(value));
352 return *this;
353 }
355
357
360 inline const Aws::String& GetProgress() const { return m_progress; }
361 inline bool ProgressHasBeenSet() const { return m_progressHasBeenSet; }
362 template <typename ProgressT = Aws::String>
363 void SetProgress(ProgressT&& value) {
364 m_progressHasBeenSet = true;
365 m_progress = std::forward<ProgressT>(value);
366 }
367 template <typename ProgressT = Aws::String>
368 Snapshot& WithProgress(ProgressT&& value) {
369 SetProgress(std::forward<ProgressT>(value));
370 return *this;
371 }
373
375
378 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
379 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
380 template <typename OwnerIdT = Aws::String>
381 void SetOwnerId(OwnerIdT&& value) {
382 m_ownerIdHasBeenSet = true;
383 m_ownerId = std::forward<OwnerIdT>(value);
384 }
385 template <typename OwnerIdT = Aws::String>
386 Snapshot& WithOwnerId(OwnerIdT&& value) {
387 SetOwnerId(std::forward<OwnerIdT>(value));
388 return *this;
389 }
391
393
396 inline const Aws::String& GetDescription() const { return m_description; }
397 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
398 template <typename DescriptionT = Aws::String>
399 void SetDescription(DescriptionT&& value) {
400 m_descriptionHasBeenSet = true;
401 m_description = std::forward<DescriptionT>(value);
402 }
403 template <typename DescriptionT = Aws::String>
404 Snapshot& WithDescription(DescriptionT&& value) {
405 SetDescription(std::forward<DescriptionT>(value));
406 return *this;
407 }
409
411
414 inline int GetVolumeSize() const { return m_volumeSize; }
415 inline bool VolumeSizeHasBeenSet() const { return m_volumeSizeHasBeenSet; }
416 inline void SetVolumeSize(int value) {
417 m_volumeSizeHasBeenSet = true;
418 m_volumeSize = value;
419 }
420 inline Snapshot& WithVolumeSize(int value) {
421 SetVolumeSize(value);
422 return *this;
423 }
425
427
430 inline bool GetEncrypted() const { return m_encrypted; }
431 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
432 inline void SetEncrypted(bool value) {
433 m_encryptedHasBeenSet = true;
434 m_encrypted = value;
435 }
436 inline Snapshot& WithEncrypted(bool value) {
437 SetEncrypted(value);
438 return *this;
439 }
441
443
447 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
448 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
449 template <typename KmsKeyIdT = Aws::String>
450 void SetKmsKeyId(KmsKeyIdT&& value) {
451 m_kmsKeyIdHasBeenSet = true;
452 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
453 }
454 template <typename KmsKeyIdT = Aws::String>
455 Snapshot& WithKmsKeyId(KmsKeyIdT&& value) {
456 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
457 return *this;
458 }
460
462
470 inline const Aws::String& GetDataEncryptionKeyId() const { return m_dataEncryptionKeyId; }
471 inline bool DataEncryptionKeyIdHasBeenSet() const { return m_dataEncryptionKeyIdHasBeenSet; }
472 template <typename DataEncryptionKeyIdT = Aws::String>
473 void SetDataEncryptionKeyId(DataEncryptionKeyIdT&& value) {
474 m_dataEncryptionKeyIdHasBeenSet = true;
475 m_dataEncryptionKeyId = std::forward<DataEncryptionKeyIdT>(value);
476 }
477 template <typename DataEncryptionKeyIdT = Aws::String>
478 Snapshot& WithDataEncryptionKeyId(DataEncryptionKeyIdT&& value) {
479 SetDataEncryptionKeyId(std::forward<DataEncryptionKeyIdT>(value));
480 return *this;
481 }
483
485
486 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
487 template <typename ResponseMetadataT = ResponseMetadata>
488 void SetResponseMetadata(ResponseMetadataT&& value) {
489 m_responseMetadataHasBeenSet = true;
490 m_responseMetadata = std::forward<ResponseMetadataT>(value);
491 }
492 template <typename ResponseMetadataT = ResponseMetadata>
493 Snapshot& WithResponseMetadata(ResponseMetadataT&& value) {
494 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
495 return *this;
496 }
498 private:
499 Aws::String m_ownerAlias;
500
501 Aws::String m_outpostArn;
502
503 Aws::Vector<Tag> m_tags;
504
505 StorageTier m_storageTier{StorageTier::NOT_SET};
506
507 Aws::Utils::DateTime m_restoreExpiryTime{};
508
509 SSEType m_sseType{SSEType::NOT_SET};
510
511 Aws::String m_availabilityZone;
512
513 TransferType m_transferType{TransferType::NOT_SET};
514
515 int m_completionDurationMinutes{0};
516
517 Aws::Utils::DateTime m_completionTime{};
518
519 long long m_fullSnapshotSizeInBytes{0};
520
521 Aws::String m_snapshotId;
522
523 Aws::String m_volumeId;
524
526
527 Aws::String m_stateMessage;
528
529 Aws::Utils::DateTime m_startTime{};
530
531 Aws::String m_progress;
532
533 Aws::String m_ownerId;
534
535 Aws::String m_description;
536
537 int m_volumeSize{0};
538
539 bool m_encrypted{false};
540
541 Aws::String m_kmsKeyId;
542
543 Aws::String m_dataEncryptionKeyId;
544
545 ResponseMetadata m_responseMetadata;
546 bool m_ownerAliasHasBeenSet = false;
547 bool m_outpostArnHasBeenSet = false;
548 bool m_tagsHasBeenSet = false;
549 bool m_storageTierHasBeenSet = false;
550 bool m_restoreExpiryTimeHasBeenSet = false;
551 bool m_sseTypeHasBeenSet = false;
552 bool m_availabilityZoneHasBeenSet = false;
553 bool m_transferTypeHasBeenSet = false;
554 bool m_completionDurationMinutesHasBeenSet = false;
555 bool m_completionTimeHasBeenSet = false;
556 bool m_fullSnapshotSizeInBytesHasBeenSet = false;
557 bool m_snapshotIdHasBeenSet = false;
558 bool m_volumeIdHasBeenSet = false;
559 bool m_stateHasBeenSet = false;
560 bool m_stateMessageHasBeenSet = false;
561 bool m_startTimeHasBeenSet = false;
562 bool m_progressHasBeenSet = false;
563 bool m_ownerIdHasBeenSet = false;
564 bool m_descriptionHasBeenSet = false;
565 bool m_volumeSizeHasBeenSet = false;
566 bool m_encryptedHasBeenSet = false;
567 bool m_kmsKeyIdHasBeenSet = false;
568 bool m_dataEncryptionKeyIdHasBeenSet = false;
569 bool m_responseMetadataHasBeenSet = true;
570};
571
572} // namespace Model
573} // namespace EC2
574} // namespace Aws
Snapshot & WithStorageTier(StorageTier value)
Definition Snapshot.h:122
Snapshot & WithOutpostArn(OutpostArnT &&value)
Definition Snapshot.h:79
bool ProgressHasBeenSet() const
Definition Snapshot.h:361
int GetVolumeSize() const
Definition Snapshot.h:414
void SetProgress(ProgressT &&value)
Definition Snapshot.h:363
bool SnapshotIdHasBeenSet() const
Definition Snapshot.h:268
AWS_EC2_API Snapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TagsHasBeenSet() const
Definition Snapshot.h:90
void SetVolumeId(VolumeIdT &&value)
Definition Snapshot.h:290
bool DescriptionHasBeenSet() const
Definition Snapshot.h:397
Snapshot & WithProgress(ProgressT &&value)
Definition Snapshot.h:368
bool SseTypeHasBeenSet() const
Definition Snapshot.h:153
void SetCompletionDurationMinutes(int value)
Definition Snapshot.h:215
bool CompletionDurationMinutesHasBeenSet() const
Definition Snapshot.h:214
void SetOwnerId(OwnerIdT &&value)
Definition Snapshot.h:381
bool TransferTypeHasBeenSet() const
Definition Snapshot.h:196
void SetSseType(SSEType value)
Definition Snapshot.h:154
void SetFullSnapshotSizeInBytes(long long value)
Definition Snapshot.h:252
const ResponseMetadata & GetResponseMetadata() const
Definition Snapshot.h:486
Snapshot & WithResponseMetadata(ResponseMetadataT &&value)
Definition Snapshot.h:493
const Aws::Utils::DateTime & GetCompletionTime() const
Definition Snapshot.h:229
const Aws::String & GetOwnerAlias() const
Definition Snapshot.h:50
Snapshot & WithSseType(SSEType value)
Definition Snapshot.h:158
void SetStateMessage(StateMessageT &&value)
Definition Snapshot.h:327
const Aws::String & GetProgress() const
Definition Snapshot.h:360
Snapshot & WithStateMessage(StateMessageT &&value)
Definition Snapshot.h:332
int GetCompletionDurationMinutes() const
Definition Snapshot.h:213
StorageTier GetStorageTier() const
Definition Snapshot.h:116
const Aws::String & GetOutpostArn() const
Definition Snapshot.h:71
void SetSnapshotId(SnapshotIdT &&value)
Definition Snapshot.h:270
bool StateHasBeenSet() const
Definition Snapshot.h:306
SSEType GetSseType() const
Definition Snapshot.h:152
void SetVolumeSize(int value)
Definition Snapshot.h:416
Snapshot & WithEncrypted(bool value)
Definition Snapshot.h:436
Snapshot & AddTags(TagsT &&value)
Definition Snapshot.h:102
SnapshotState GetState() const
Definition Snapshot.h:305
void SetState(SnapshotState value)
Definition Snapshot.h:307
Snapshot & WithVolumeSize(int value)
Definition Snapshot.h:420
Snapshot & WithDataEncryptionKeyId(DataEncryptionKeyIdT &&value)
Definition Snapshot.h:478
const Aws::Vector< Tag > & GetTags() const
Definition Snapshot.h:89
Snapshot & WithDescription(DescriptionT &&value)
Definition Snapshot.h:404
void SetTags(TagsT &&value)
Definition Snapshot.h:92
const Aws::String & GetDescription() const
Definition Snapshot.h:396
const Aws::Utils::DateTime & GetRestoreExpiryTime() const
Definition Snapshot.h:134
void SetKmsKeyId(KmsKeyIdT &&value)
Definition Snapshot.h:450
bool DataEncryptionKeyIdHasBeenSet() const
Definition Snapshot.h:471
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetResponseMetadata(ResponseMetadataT &&value)
Definition Snapshot.h:488
Snapshot & WithTransferType(TransferType value)
Definition Snapshot.h:201
Snapshot & WithOwnerAlias(OwnerAliasT &&value)
Definition Snapshot.h:58
bool AvailabilityZoneHasBeenSet() const
Definition Snapshot.h:171
void SetOwnerAlias(OwnerAliasT &&value)
Definition Snapshot.h:53
const Aws::String & GetStateMessage() const
Definition Snapshot.h:324
bool VolumeIdHasBeenSet() const
Definition Snapshot.h:288
const Aws::Utils::DateTime & GetStartTime() const
Definition Snapshot.h:342
Snapshot & WithTags(TagsT &&value)
Definition Snapshot.h:97
const Aws::String & GetAvailabilityZone() const
Definition Snapshot.h:170
bool GetEncrypted() const
Definition Snapshot.h:430
void SetDataEncryptionKeyId(DataEncryptionKeyIdT &&value)
Definition Snapshot.h:473
TransferType GetTransferType() const
Definition Snapshot.h:195
const Aws::String & GetKmsKeyId() const
Definition Snapshot.h:447
Snapshot & WithOwnerId(OwnerIdT &&value)
Definition Snapshot.h:386
bool VolumeSizeHasBeenSet() const
Definition Snapshot.h:415
void SetCompletionTime(CompletionTimeT &&value)
Definition Snapshot.h:232
long long GetFullSnapshotSizeInBytes() const
Definition Snapshot.h:250
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool OutpostArnHasBeenSet() const
Definition Snapshot.h:72
Snapshot & WithFullSnapshotSizeInBytes(long long value)
Definition Snapshot.h:256
const Aws::String & GetDataEncryptionKeyId() const
Definition Snapshot.h:470
bool CompletionTimeHasBeenSet() const
Definition Snapshot.h:230
void SetTransferType(TransferType value)
Definition Snapshot.h:197
void SetDescription(DescriptionT &&value)
Definition Snapshot.h:399
const Aws::String & GetOwnerId() const
Definition Snapshot.h:378
void SetAvailabilityZone(AvailabilityZoneT &&value)
Definition Snapshot.h:173
void SetStartTime(StartTimeT &&value)
Definition Snapshot.h:345
AWS_EC2_API Snapshot()=default
Snapshot & WithStartTime(StartTimeT &&value)
Definition Snapshot.h:350
Snapshot & WithRestoreExpiryTime(RestoreExpiryTimeT &&value)
Definition Snapshot.h:142
bool FullSnapshotSizeInBytesHasBeenSet() const
Definition Snapshot.h:251
void SetOutpostArn(OutpostArnT &&value)
Definition Snapshot.h:74
Snapshot & WithVolumeId(VolumeIdT &&value)
Definition Snapshot.h:295
AWS_EC2_API Snapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStorageTier(StorageTier value)
Definition Snapshot.h:118
const Aws::String & GetSnapshotId() const
Definition Snapshot.h:267
bool OwnerIdHasBeenSet() const
Definition Snapshot.h:379
bool StorageTierHasBeenSet() const
Definition Snapshot.h:117
const Aws::String & GetVolumeId() const
Definition Snapshot.h:287
void SetRestoreExpiryTime(RestoreExpiryTimeT &&value)
Definition Snapshot.h:137
bool OwnerAliasHasBeenSet() const
Definition Snapshot.h:51
bool KmsKeyIdHasBeenSet() const
Definition Snapshot.h:448
void SetEncrypted(bool value)
Definition Snapshot.h:432
Snapshot & WithAvailabilityZone(AvailabilityZoneT &&value)
Definition Snapshot.h:178
Snapshot & WithSnapshotId(SnapshotIdT &&value)
Definition Snapshot.h:275
bool EncryptedHasBeenSet() const
Definition Snapshot.h:431
bool StateMessageHasBeenSet() const
Definition Snapshot.h:325
bool RestoreExpiryTimeHasBeenSet() const
Definition Snapshot.h:135
Snapshot & WithCompletionTime(CompletionTimeT &&value)
Definition Snapshot.h:237
bool StartTimeHasBeenSet() const
Definition Snapshot.h:343
Snapshot & WithState(SnapshotState value)
Definition Snapshot.h:311
Snapshot & WithKmsKeyId(KmsKeyIdT &&value)
Definition Snapshot.h:455
Snapshot & WithCompletionDurationMinutes(int value)
Definition Snapshot.h:219
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream