AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Snapshot.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.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/model/StorageTier.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/ec2/model/SSEType.h>
14#include <aws/ec2/model/TransferType.h>
15#include <aws/ec2/model/SnapshotState.h>
16#include <aws/ec2/model/ResponseMetadata.h>
17#include <aws/ec2/model/Tag.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Xml
25{
26 class XmlNode;
27} // namespace Xml
28} // namespace Utils
29namespace EC2
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_EC2_API Snapshot() = default;
43 AWS_EC2_API Snapshot(const Aws::Utils::Xml::XmlNode& xmlNode);
44 AWS_EC2_API Snapshot& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
45
46 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
47 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
48
49
51
56 inline const Aws::String& GetOwnerAlias() const { return m_ownerAlias; }
57 inline bool OwnerAliasHasBeenSet() const { return m_ownerAliasHasBeenSet; }
58 template<typename OwnerAliasT = Aws::String>
59 void SetOwnerAlias(OwnerAliasT&& value) { m_ownerAliasHasBeenSet = true; m_ownerAlias = std::forward<OwnerAliasT>(value); }
60 template<typename OwnerAliasT = Aws::String>
61 Snapshot& WithOwnerAlias(OwnerAliasT&& value) { SetOwnerAlias(std::forward<OwnerAliasT>(value)); return *this;}
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) { m_outpostArnHasBeenSet = true; m_outpostArn = std::forward<OutpostArnT>(value); }
75 template<typename OutpostArnT = Aws::String>
76 Snapshot& WithOutpostArn(OutpostArnT&& value) { SetOutpostArn(std::forward<OutpostArnT>(value)); return *this;}
78
80
83 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
84 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
85 template<typename TagsT = Aws::Vector<Tag>>
86 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
87 template<typename TagsT = Aws::Vector<Tag>>
88 Snapshot& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
89 template<typename TagsT = Tag>
90 Snapshot& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
92
94
100 inline StorageTier GetStorageTier() const { return m_storageTier; }
101 inline bool StorageTierHasBeenSet() const { return m_storageTierHasBeenSet; }
102 inline void SetStorageTier(StorageTier value) { m_storageTierHasBeenSet = true; m_storageTier = value; }
103 inline Snapshot& WithStorageTier(StorageTier value) { SetStorageTier(value); return *this;}
105
107
112 inline const Aws::Utils::DateTime& GetRestoreExpiryTime() const { return m_restoreExpiryTime; }
113 inline bool RestoreExpiryTimeHasBeenSet() const { return m_restoreExpiryTimeHasBeenSet; }
114 template<typename RestoreExpiryTimeT = Aws::Utils::DateTime>
115 void SetRestoreExpiryTime(RestoreExpiryTimeT&& value) { m_restoreExpiryTimeHasBeenSet = true; m_restoreExpiryTime = std::forward<RestoreExpiryTimeT>(value); }
116 template<typename RestoreExpiryTimeT = Aws::Utils::DateTime>
117 Snapshot& WithRestoreExpiryTime(RestoreExpiryTimeT&& value) { SetRestoreExpiryTime(std::forward<RestoreExpiryTimeT>(value)); return *this;}
119
121
124 inline SSEType GetSseType() const { return m_sseType; }
125 inline bool SseTypeHasBeenSet() const { return m_sseTypeHasBeenSet; }
126 inline void SetSseType(SSEType value) { m_sseTypeHasBeenSet = true; m_sseType = value; }
127 inline Snapshot& WithSseType(SSEType value) { SetSseType(value); return *this;}
129
131
136 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
137 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
138 template<typename AvailabilityZoneT = Aws::String>
139 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
140 template<typename AvailabilityZoneT = Aws::String>
141 Snapshot& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
143
145
155 inline TransferType GetTransferType() const { return m_transferType; }
156 inline bool TransferTypeHasBeenSet() const { return m_transferTypeHasBeenSet; }
157 inline void SetTransferType(TransferType value) { m_transferTypeHasBeenSet = true; m_transferType = value; }
158 inline Snapshot& WithTransferType(TransferType value) { SetTransferType(value); return *this;}
160
162
167 inline int GetCompletionDurationMinutes() const { return m_completionDurationMinutes; }
168 inline bool CompletionDurationMinutesHasBeenSet() const { return m_completionDurationMinutesHasBeenSet; }
169 inline void SetCompletionDurationMinutes(int value) { m_completionDurationMinutesHasBeenSet = true; m_completionDurationMinutes = value; }
170 inline Snapshot& WithCompletionDurationMinutes(int value) { SetCompletionDurationMinutes(value); return *this;}
172
174
177 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
178 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
179 template<typename CompletionTimeT = Aws::Utils::DateTime>
180 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::forward<CompletionTimeT>(value); }
181 template<typename CompletionTimeT = Aws::Utils::DateTime>
182 Snapshot& WithCompletionTime(CompletionTimeT&& value) { SetCompletionTime(std::forward<CompletionTimeT>(value)); return *this;}
184
186
192 inline long long GetFullSnapshotSizeInBytes() const { return m_fullSnapshotSizeInBytes; }
193 inline bool FullSnapshotSizeInBytesHasBeenSet() const { return m_fullSnapshotSizeInBytesHasBeenSet; }
194 inline void SetFullSnapshotSizeInBytes(long long value) { m_fullSnapshotSizeInBytesHasBeenSet = true; m_fullSnapshotSizeInBytes = value; }
195 inline Snapshot& WithFullSnapshotSizeInBytes(long long value) { SetFullSnapshotSizeInBytes(value); return *this;}
197
199
203 inline const Aws::String& GetSnapshotId() const { return m_snapshotId; }
204 inline bool SnapshotIdHasBeenSet() const { return m_snapshotIdHasBeenSet; }
205 template<typename SnapshotIdT = Aws::String>
206 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet = true; m_snapshotId = std::forward<SnapshotIdT>(value); }
207 template<typename SnapshotIdT = Aws::String>
208 Snapshot& WithSnapshotId(SnapshotIdT&& value) { SetSnapshotId(std::forward<SnapshotIdT>(value)); return *this;}
210
212
217 inline const Aws::String& GetVolumeId() const { return m_volumeId; }
218 inline bool VolumeIdHasBeenSet() const { return m_volumeIdHasBeenSet; }
219 template<typename VolumeIdT = Aws::String>
220 void SetVolumeId(VolumeIdT&& value) { m_volumeIdHasBeenSet = true; m_volumeId = std::forward<VolumeIdT>(value); }
221 template<typename VolumeIdT = Aws::String>
222 Snapshot& WithVolumeId(VolumeIdT&& value) { SetVolumeId(std::forward<VolumeIdT>(value)); return *this;}
224
226
229 inline SnapshotState GetState() const { return m_state; }
230 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
231 inline void SetState(SnapshotState value) { m_stateHasBeenSet = true; m_state = value; }
232 inline Snapshot& WithState(SnapshotState value) { SetState(value); return *this;}
234
236
242 inline const Aws::String& GetStateMessage() const { return m_stateMessage; }
243 inline bool StateMessageHasBeenSet() const { return m_stateMessageHasBeenSet; }
244 template<typename StateMessageT = Aws::String>
245 void SetStateMessage(StateMessageT&& value) { m_stateMessageHasBeenSet = true; m_stateMessage = std::forward<StateMessageT>(value); }
246 template<typename StateMessageT = Aws::String>
247 Snapshot& WithStateMessage(StateMessageT&& value) { SetStateMessage(std::forward<StateMessageT>(value)); return *this;}
249
251
254 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
255 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
256 template<typename StartTimeT = Aws::Utils::DateTime>
257 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
258 template<typename StartTimeT = Aws::Utils::DateTime>
259 Snapshot& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
261
263
266 inline const Aws::String& GetProgress() const { return m_progress; }
267 inline bool ProgressHasBeenSet() const { return m_progressHasBeenSet; }
268 template<typename ProgressT = Aws::String>
269 void SetProgress(ProgressT&& value) { m_progressHasBeenSet = true; m_progress = std::forward<ProgressT>(value); }
270 template<typename ProgressT = Aws::String>
271 Snapshot& WithProgress(ProgressT&& value) { SetProgress(std::forward<ProgressT>(value)); return *this;}
273
275
278 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
279 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
280 template<typename OwnerIdT = Aws::String>
281 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::forward<OwnerIdT>(value); }
282 template<typename OwnerIdT = Aws::String>
283 Snapshot& WithOwnerId(OwnerIdT&& value) { SetOwnerId(std::forward<OwnerIdT>(value)); return *this;}
285
287
290 inline const Aws::String& GetDescription() const { return m_description; }
291 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
292 template<typename DescriptionT = Aws::String>
293 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
294 template<typename DescriptionT = Aws::String>
295 Snapshot& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
297
299
302 inline int GetVolumeSize() const { return m_volumeSize; }
303 inline bool VolumeSizeHasBeenSet() const { return m_volumeSizeHasBeenSet; }
304 inline void SetVolumeSize(int value) { m_volumeSizeHasBeenSet = true; m_volumeSize = value; }
305 inline Snapshot& WithVolumeSize(int value) { SetVolumeSize(value); return *this;}
307
309
312 inline bool GetEncrypted() const { return m_encrypted; }
313 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
314 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
315 inline Snapshot& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
317
319
323 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
324 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
325 template<typename KmsKeyIdT = Aws::String>
326 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
327 template<typename KmsKeyIdT = Aws::String>
328 Snapshot& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
330
332
340 inline const Aws::String& GetDataEncryptionKeyId() const { return m_dataEncryptionKeyId; }
341 inline bool DataEncryptionKeyIdHasBeenSet() const { return m_dataEncryptionKeyIdHasBeenSet; }
342 template<typename DataEncryptionKeyIdT = Aws::String>
343 void SetDataEncryptionKeyId(DataEncryptionKeyIdT&& value) { m_dataEncryptionKeyIdHasBeenSet = true; m_dataEncryptionKeyId = std::forward<DataEncryptionKeyIdT>(value); }
344 template<typename DataEncryptionKeyIdT = Aws::String>
345 Snapshot& WithDataEncryptionKeyId(DataEncryptionKeyIdT&& value) { SetDataEncryptionKeyId(std::forward<DataEncryptionKeyIdT>(value)); return *this;}
347
349
350 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
351 template<typename ResponseMetadataT = ResponseMetadata>
352 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
353 template<typename ResponseMetadataT = ResponseMetadata>
354 Snapshot& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
356 private:
357
358 Aws::String m_ownerAlias;
359 bool m_ownerAliasHasBeenSet = false;
360
361 Aws::String m_outpostArn;
362 bool m_outpostArnHasBeenSet = false;
363
364 Aws::Vector<Tag> m_tags;
365 bool m_tagsHasBeenSet = false;
366
367 StorageTier m_storageTier{StorageTier::NOT_SET};
368 bool m_storageTierHasBeenSet = false;
369
370 Aws::Utils::DateTime m_restoreExpiryTime{};
371 bool m_restoreExpiryTimeHasBeenSet = false;
372
373 SSEType m_sseType{SSEType::NOT_SET};
374 bool m_sseTypeHasBeenSet = false;
375
376 Aws::String m_availabilityZone;
377 bool m_availabilityZoneHasBeenSet = false;
378
379 TransferType m_transferType{TransferType::NOT_SET};
380 bool m_transferTypeHasBeenSet = false;
381
382 int m_completionDurationMinutes{0};
383 bool m_completionDurationMinutesHasBeenSet = false;
384
385 Aws::Utils::DateTime m_completionTime{};
386 bool m_completionTimeHasBeenSet = false;
387
388 long long m_fullSnapshotSizeInBytes{0};
389 bool m_fullSnapshotSizeInBytesHasBeenSet = false;
390
391 Aws::String m_snapshotId;
392 bool m_snapshotIdHasBeenSet = false;
393
394 Aws::String m_volumeId;
395 bool m_volumeIdHasBeenSet = false;
396
398 bool m_stateHasBeenSet = false;
399
400 Aws::String m_stateMessage;
401 bool m_stateMessageHasBeenSet = false;
402
403 Aws::Utils::DateTime m_startTime{};
404 bool m_startTimeHasBeenSet = false;
405
406 Aws::String m_progress;
407 bool m_progressHasBeenSet = false;
408
409 Aws::String m_ownerId;
410 bool m_ownerIdHasBeenSet = false;
411
412 Aws::String m_description;
413 bool m_descriptionHasBeenSet = false;
414
415 int m_volumeSize{0};
416 bool m_volumeSizeHasBeenSet = false;
417
418 bool m_encrypted{false};
419 bool m_encryptedHasBeenSet = false;
420
421 Aws::String m_kmsKeyId;
422 bool m_kmsKeyIdHasBeenSet = false;
423
424 Aws::String m_dataEncryptionKeyId;
425 bool m_dataEncryptionKeyIdHasBeenSet = false;
426
427 ResponseMetadata m_responseMetadata;
428 bool m_responseMetadataHasBeenSet = true;
429 };
430
431} // namespace Model
432} // namespace EC2
433} // namespace Aws
Snapshot & WithStorageTier(StorageTier value)
Definition Snapshot.h:103
Snapshot & WithOutpostArn(OutpostArnT &&value)
Definition Snapshot.h:76
bool ProgressHasBeenSet() const
Definition Snapshot.h:267
int GetVolumeSize() const
Definition Snapshot.h:302
void SetProgress(ProgressT &&value)
Definition Snapshot.h:269
bool SnapshotIdHasBeenSet() const
Definition Snapshot.h:204
AWS_EC2_API Snapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TagsHasBeenSet() const
Definition Snapshot.h:84
void SetVolumeId(VolumeIdT &&value)
Definition Snapshot.h:220
bool DescriptionHasBeenSet() const
Definition Snapshot.h:291
Snapshot & WithProgress(ProgressT &&value)
Definition Snapshot.h:271
bool SseTypeHasBeenSet() const
Definition Snapshot.h:125
void SetCompletionDurationMinutes(int value)
Definition Snapshot.h:169
bool CompletionDurationMinutesHasBeenSet() const
Definition Snapshot.h:168
void SetOwnerId(OwnerIdT &&value)
Definition Snapshot.h:281
bool TransferTypeHasBeenSet() const
Definition Snapshot.h:156
void SetSseType(SSEType value)
Definition Snapshot.h:126
void SetFullSnapshotSizeInBytes(long long value)
Definition Snapshot.h:194
const ResponseMetadata & GetResponseMetadata() const
Definition Snapshot.h:350
Snapshot & WithResponseMetadata(ResponseMetadataT &&value)
Definition Snapshot.h:354
const Aws::Utils::DateTime & GetCompletionTime() const
Definition Snapshot.h:177
const Aws::String & GetOwnerAlias() const
Definition Snapshot.h:56
Snapshot & WithSseType(SSEType value)
Definition Snapshot.h:127
void SetStateMessage(StateMessageT &&value)
Definition Snapshot.h:245
const Aws::String & GetProgress() const
Definition Snapshot.h:266
Snapshot & WithStateMessage(StateMessageT &&value)
Definition Snapshot.h:247
int GetCompletionDurationMinutes() const
Definition Snapshot.h:167
StorageTier GetStorageTier() const
Definition Snapshot.h:100
const Aws::String & GetOutpostArn() const
Definition Snapshot.h:71
void SetSnapshotId(SnapshotIdT &&value)
Definition Snapshot.h:206
bool StateHasBeenSet() const
Definition Snapshot.h:230
SSEType GetSseType() const
Definition Snapshot.h:124
void SetVolumeSize(int value)
Definition Snapshot.h:304
Snapshot & WithEncrypted(bool value)
Definition Snapshot.h:315
Snapshot & AddTags(TagsT &&value)
Definition Snapshot.h:90
SnapshotState GetState() const
Definition Snapshot.h:229
void SetState(SnapshotState value)
Definition Snapshot.h:231
Snapshot & WithVolumeSize(int value)
Definition Snapshot.h:305
Snapshot & WithDataEncryptionKeyId(DataEncryptionKeyIdT &&value)
Definition Snapshot.h:345
const Aws::Vector< Tag > & GetTags() const
Definition Snapshot.h:83
Snapshot & WithDescription(DescriptionT &&value)
Definition Snapshot.h:295
void SetTags(TagsT &&value)
Definition Snapshot.h:86
const Aws::String & GetDescription() const
Definition Snapshot.h:290
const Aws::Utils::DateTime & GetRestoreExpiryTime() const
Definition Snapshot.h:112
void SetKmsKeyId(KmsKeyIdT &&value)
Definition Snapshot.h:326
bool DataEncryptionKeyIdHasBeenSet() const
Definition Snapshot.h:341
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetResponseMetadata(ResponseMetadataT &&value)
Definition Snapshot.h:352
Snapshot & WithTransferType(TransferType value)
Definition Snapshot.h:158
Snapshot & WithOwnerAlias(OwnerAliasT &&value)
Definition Snapshot.h:61
bool AvailabilityZoneHasBeenSet() const
Definition Snapshot.h:137
void SetOwnerAlias(OwnerAliasT &&value)
Definition Snapshot.h:59
const Aws::String & GetStateMessage() const
Definition Snapshot.h:242
bool VolumeIdHasBeenSet() const
Definition Snapshot.h:218
const Aws::Utils::DateTime & GetStartTime() const
Definition Snapshot.h:254
Snapshot & WithTags(TagsT &&value)
Definition Snapshot.h:88
const Aws::String & GetAvailabilityZone() const
Definition Snapshot.h:136
bool GetEncrypted() const
Definition Snapshot.h:312
void SetDataEncryptionKeyId(DataEncryptionKeyIdT &&value)
Definition Snapshot.h:343
TransferType GetTransferType() const
Definition Snapshot.h:155
const Aws::String & GetKmsKeyId() const
Definition Snapshot.h:323
Snapshot & WithOwnerId(OwnerIdT &&value)
Definition Snapshot.h:283
bool VolumeSizeHasBeenSet() const
Definition Snapshot.h:303
void SetCompletionTime(CompletionTimeT &&value)
Definition Snapshot.h:180
long long GetFullSnapshotSizeInBytes() const
Definition Snapshot.h:192
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:195
const Aws::String & GetDataEncryptionKeyId() const
Definition Snapshot.h:340
bool CompletionTimeHasBeenSet() const
Definition Snapshot.h:178
void SetTransferType(TransferType value)
Definition Snapshot.h:157
void SetDescription(DescriptionT &&value)
Definition Snapshot.h:293
const Aws::String & GetOwnerId() const
Definition Snapshot.h:278
void SetAvailabilityZone(AvailabilityZoneT &&value)
Definition Snapshot.h:139
void SetStartTime(StartTimeT &&value)
Definition Snapshot.h:257
AWS_EC2_API Snapshot()=default
Snapshot & WithStartTime(StartTimeT &&value)
Definition Snapshot.h:259
Snapshot & WithRestoreExpiryTime(RestoreExpiryTimeT &&value)
Definition Snapshot.h:117
bool FullSnapshotSizeInBytesHasBeenSet() const
Definition Snapshot.h:193
void SetOutpostArn(OutpostArnT &&value)
Definition Snapshot.h:74
Snapshot & WithVolumeId(VolumeIdT &&value)
Definition Snapshot.h:222
AWS_EC2_API Snapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStorageTier(StorageTier value)
Definition Snapshot.h:102
const Aws::String & GetSnapshotId() const
Definition Snapshot.h:203
bool OwnerIdHasBeenSet() const
Definition Snapshot.h:279
bool StorageTierHasBeenSet() const
Definition Snapshot.h:101
const Aws::String & GetVolumeId() const
Definition Snapshot.h:217
void SetRestoreExpiryTime(RestoreExpiryTimeT &&value)
Definition Snapshot.h:115
bool OwnerAliasHasBeenSet() const
Definition Snapshot.h:57
bool KmsKeyIdHasBeenSet() const
Definition Snapshot.h:324
void SetEncrypted(bool value)
Definition Snapshot.h:314
Snapshot & WithAvailabilityZone(AvailabilityZoneT &&value)
Definition Snapshot.h:141
Snapshot & WithSnapshotId(SnapshotIdT &&value)
Definition Snapshot.h:208
bool EncryptedHasBeenSet() const
Definition Snapshot.h:313
bool StateMessageHasBeenSet() const
Definition Snapshot.h:243
bool RestoreExpiryTimeHasBeenSet() const
Definition Snapshot.h:113
Snapshot & WithCompletionTime(CompletionTimeT &&value)
Definition Snapshot.h:182
bool StartTimeHasBeenSet() const
Definition Snapshot.h:255
Snapshot & WithState(SnapshotState value)
Definition Snapshot.h:232
Snapshot & WithKmsKeyId(KmsKeyIdT &&value)
Definition Snapshot.h:328
Snapshot & WithCompletionDurationMinutes(int value)
Definition Snapshot.h:170
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