AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
BackupJob.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/BackupJobState.h>
9#include <aws/backup/model/Lifecycle.h>
10#include <aws/backup/model/RecoveryPointCreator.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Backup {
25namespace Model {
26
32class BackupJob {
33 public:
34 AWS_BACKUP_API BackupJob() = default;
35 AWS_BACKUP_API BackupJob(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetAccountId() const { return m_accountId; }
44 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
45 template <typename AccountIdT = Aws::String>
46 void SetAccountId(AccountIdT&& value) {
47 m_accountIdHasBeenSet = true;
48 m_accountId = std::forward<AccountIdT>(value);
49 }
50 template <typename AccountIdT = Aws::String>
51 BackupJob& WithAccountId(AccountIdT&& value) {
52 SetAccountId(std::forward<AccountIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetBackupJobId() const { return m_backupJobId; }
62 inline bool BackupJobIdHasBeenSet() const { return m_backupJobIdHasBeenSet; }
63 template <typename BackupJobIdT = Aws::String>
64 void SetBackupJobId(BackupJobIdT&& value) {
65 m_backupJobIdHasBeenSet = true;
66 m_backupJobId = std::forward<BackupJobIdT>(value);
67 }
68 template <typename BackupJobIdT = Aws::String>
69 BackupJob& WithBackupJobId(BackupJobIdT&& value) {
70 SetBackupJobId(std::forward<BackupJobIdT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::String& GetBackupVaultName() const { return m_backupVaultName; }
82 inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
83 template <typename BackupVaultNameT = Aws::String>
84 void SetBackupVaultName(BackupVaultNameT&& value) {
85 m_backupVaultNameHasBeenSet = true;
86 m_backupVaultName = std::forward<BackupVaultNameT>(value);
87 }
88 template <typename BackupVaultNameT = Aws::String>
89 BackupJob& WithBackupVaultName(BackupVaultNameT&& value) {
90 SetBackupVaultName(std::forward<BackupVaultNameT>(value));
91 return *this;
92 }
94
96
101 inline const Aws::String& GetBackupVaultArn() const { return m_backupVaultArn; }
102 inline bool BackupVaultArnHasBeenSet() const { return m_backupVaultArnHasBeenSet; }
103 template <typename BackupVaultArnT = Aws::String>
104 void SetBackupVaultArn(BackupVaultArnT&& value) {
105 m_backupVaultArnHasBeenSet = true;
106 m_backupVaultArn = std::forward<BackupVaultArnT>(value);
107 }
108 template <typename BackupVaultArnT = Aws::String>
109 BackupJob& WithBackupVaultArn(BackupVaultArnT&& value) {
110 SetBackupVaultArn(std::forward<BackupVaultArnT>(value));
111 return *this;
112 }
114
116
122 inline const Aws::String& GetVaultType() const { return m_vaultType; }
123 inline bool VaultTypeHasBeenSet() const { return m_vaultTypeHasBeenSet; }
124 template <typename VaultTypeT = Aws::String>
125 void SetVaultType(VaultTypeT&& value) {
126 m_vaultTypeHasBeenSet = true;
127 m_vaultType = std::forward<VaultTypeT>(value);
128 }
129 template <typename VaultTypeT = Aws::String>
130 BackupJob& WithVaultType(VaultTypeT&& value) {
131 SetVaultType(std::forward<VaultTypeT>(value));
132 return *this;
133 }
135
137
142 inline const Aws::String& GetVaultLockState() const { return m_vaultLockState; }
143 inline bool VaultLockStateHasBeenSet() const { return m_vaultLockStateHasBeenSet; }
144 template <typename VaultLockStateT = Aws::String>
145 void SetVaultLockState(VaultLockStateT&& value) {
146 m_vaultLockStateHasBeenSet = true;
147 m_vaultLockState = std::forward<VaultLockStateT>(value);
148 }
149 template <typename VaultLockStateT = Aws::String>
150 BackupJob& WithVaultLockState(VaultLockStateT&& value) {
151 SetVaultLockState(std::forward<VaultLockStateT>(value));
152 return *this;
153 }
155
157
161 inline const Aws::String& GetRecoveryPointArn() const { return m_recoveryPointArn; }
162 inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; }
163 template <typename RecoveryPointArnT = Aws::String>
164 void SetRecoveryPointArn(RecoveryPointArnT&& value) {
165 m_recoveryPointArnHasBeenSet = true;
166 m_recoveryPointArn = std::forward<RecoveryPointArnT>(value);
167 }
168 template <typename RecoveryPointArnT = Aws::String>
169 BackupJob& WithRecoveryPointArn(RecoveryPointArnT&& value) {
170 SetRecoveryPointArn(std::forward<RecoveryPointArnT>(value));
171 return *this;
172 }
174
176
177 inline const Lifecycle& GetRecoveryPointLifecycle() const { return m_recoveryPointLifecycle; }
178 inline bool RecoveryPointLifecycleHasBeenSet() const { return m_recoveryPointLifecycleHasBeenSet; }
179 template <typename RecoveryPointLifecycleT = Lifecycle>
180 void SetRecoveryPointLifecycle(RecoveryPointLifecycleT&& value) {
181 m_recoveryPointLifecycleHasBeenSet = true;
182 m_recoveryPointLifecycle = std::forward<RecoveryPointLifecycleT>(value);
183 }
184 template <typename RecoveryPointLifecycleT = Lifecycle>
185 BackupJob& WithRecoveryPointLifecycle(RecoveryPointLifecycleT&& value) {
186 SetRecoveryPointLifecycle(std::forward<RecoveryPointLifecycleT>(value));
187 return *this;
188 }
190
192
197 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
198 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
199 template <typename EncryptionKeyArnT = Aws::String>
200 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) {
201 m_encryptionKeyArnHasBeenSet = true;
202 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
203 }
204 template <typename EncryptionKeyArnT = Aws::String>
205 BackupJob& WithEncryptionKeyArn(EncryptionKeyArnT&& value) {
206 SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value));
207 return *this;
208 }
210
212
217 inline bool GetIsEncrypted() const { return m_isEncrypted; }
218 inline bool IsEncryptedHasBeenSet() const { return m_isEncryptedHasBeenSet; }
219 inline void SetIsEncrypted(bool value) {
220 m_isEncryptedHasBeenSet = true;
221 m_isEncrypted = value;
222 }
223 inline BackupJob& WithIsEncrypted(bool value) {
224 SetIsEncrypted(value);
225 return *this;
226 }
228
230
234 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
235 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
236 template <typename ResourceArnT = Aws::String>
237 void SetResourceArn(ResourceArnT&& value) {
238 m_resourceArnHasBeenSet = true;
239 m_resourceArn = std::forward<ResourceArnT>(value);
240 }
241 template <typename ResourceArnT = Aws::String>
242 BackupJob& WithResourceArn(ResourceArnT&& value) {
243 SetResourceArn(std::forward<ResourceArnT>(value));
244 return *this;
245 }
247
249
255 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
256 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
257 template <typename CreationDateT = Aws::Utils::DateTime>
258 void SetCreationDate(CreationDateT&& value) {
259 m_creationDateHasBeenSet = true;
260 m_creationDate = std::forward<CreationDateT>(value);
261 }
262 template <typename CreationDateT = Aws::Utils::DateTime>
263 BackupJob& WithCreationDate(CreationDateT&& value) {
264 SetCreationDate(std::forward<CreationDateT>(value));
265 return *this;
266 }
268
270
276 inline const Aws::Utils::DateTime& GetCompletionDate() const { return m_completionDate; }
277 inline bool CompletionDateHasBeenSet() const { return m_completionDateHasBeenSet; }
278 template <typename CompletionDateT = Aws::Utils::DateTime>
279 void SetCompletionDate(CompletionDateT&& value) {
280 m_completionDateHasBeenSet = true;
281 m_completionDate = std::forward<CompletionDateT>(value);
282 }
283 template <typename CompletionDateT = Aws::Utils::DateTime>
284 BackupJob& WithCompletionDate(CompletionDateT&& value) {
285 SetCompletionDate(std::forward<CompletionDateT>(value));
286 return *this;
287 }
289
291
294 inline BackupJobState GetState() const { return m_state; }
295 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
296 inline void SetState(BackupJobState value) {
297 m_stateHasBeenSet = true;
298 m_state = value;
299 }
301 SetState(value);
302 return *this;
303 }
305
307
311 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
312 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
313 template <typename StatusMessageT = Aws::String>
314 void SetStatusMessage(StatusMessageT&& value) {
315 m_statusMessageHasBeenSet = true;
316 m_statusMessage = std::forward<StatusMessageT>(value);
317 }
318 template <typename StatusMessageT = Aws::String>
319 BackupJob& WithStatusMessage(StatusMessageT&& value) {
320 SetStatusMessage(std::forward<StatusMessageT>(value));
321 return *this;
322 }
324
326
330 inline const Aws::String& GetPercentDone() const { return m_percentDone; }
331 inline bool PercentDoneHasBeenSet() const { return m_percentDoneHasBeenSet; }
332 template <typename PercentDoneT = Aws::String>
333 void SetPercentDone(PercentDoneT&& value) {
334 m_percentDoneHasBeenSet = true;
335 m_percentDone = std::forward<PercentDoneT>(value);
336 }
337 template <typename PercentDoneT = Aws::String>
338 BackupJob& WithPercentDone(PercentDoneT&& value) {
339 SetPercentDone(std::forward<PercentDoneT>(value));
340 return *this;
341 }
343
345
368 inline long long GetBackupSizeInBytes() const { return m_backupSizeInBytes; }
369 inline bool BackupSizeInBytesHasBeenSet() const { return m_backupSizeInBytesHasBeenSet; }
370 inline void SetBackupSizeInBytes(long long value) {
371 m_backupSizeInBytesHasBeenSet = true;
372 m_backupSizeInBytes = value;
373 }
374 inline BackupJob& WithBackupSizeInBytes(long long value) {
376 return *this;
377 }
379
381
388 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
389 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
390 template <typename IamRoleArnT = Aws::String>
391 void SetIamRoleArn(IamRoleArnT&& value) {
392 m_iamRoleArnHasBeenSet = true;
393 m_iamRoleArn = std::forward<IamRoleArnT>(value);
394 }
395 template <typename IamRoleArnT = Aws::String>
396 BackupJob& WithIamRoleArn(IamRoleArnT&& value) {
397 SetIamRoleArn(std::forward<IamRoleArnT>(value));
398 return *this;
399 }
401
403
409 inline const RecoveryPointCreator& GetCreatedBy() const { return m_createdBy; }
410 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
411 template <typename CreatedByT = RecoveryPointCreator>
412 void SetCreatedBy(CreatedByT&& value) {
413 m_createdByHasBeenSet = true;
414 m_createdBy = std::forward<CreatedByT>(value);
415 }
416 template <typename CreatedByT = RecoveryPointCreator>
417 BackupJob& WithCreatedBy(CreatedByT&& value) {
418 SetCreatedBy(std::forward<CreatedByT>(value));
419 return *this;
420 }
422
424
431 inline const Aws::Utils::DateTime& GetExpectedCompletionDate() const { return m_expectedCompletionDate; }
432 inline bool ExpectedCompletionDateHasBeenSet() const { return m_expectedCompletionDateHasBeenSet; }
433 template <typename ExpectedCompletionDateT = Aws::Utils::DateTime>
434 void SetExpectedCompletionDate(ExpectedCompletionDateT&& value) {
435 m_expectedCompletionDateHasBeenSet = true;
436 m_expectedCompletionDate = std::forward<ExpectedCompletionDateT>(value);
437 }
438 template <typename ExpectedCompletionDateT = Aws::Utils::DateTime>
439 BackupJob& WithExpectedCompletionDate(ExpectedCompletionDateT&& value) {
440 SetExpectedCompletionDate(std::forward<ExpectedCompletionDateT>(value));
441 return *this;
442 }
444
446
455 inline const Aws::Utils::DateTime& GetStartBy() const { return m_startBy; }
456 inline bool StartByHasBeenSet() const { return m_startByHasBeenSet; }
457 template <typename StartByT = Aws::Utils::DateTime>
458 void SetStartBy(StartByT&& value) {
459 m_startByHasBeenSet = true;
460 m_startBy = std::forward<StartByT>(value);
461 }
462 template <typename StartByT = Aws::Utils::DateTime>
463 BackupJob& WithStartBy(StartByT&& value) {
464 SetStartBy(std::forward<StartByT>(value));
465 return *this;
466 }
468
470
476 inline const Aws::String& GetResourceType() const { return m_resourceType; }
477 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
478 template <typename ResourceTypeT = Aws::String>
479 void SetResourceType(ResourceTypeT&& value) {
480 m_resourceTypeHasBeenSet = true;
481 m_resourceType = std::forward<ResourceTypeT>(value);
482 }
483 template <typename ResourceTypeT = Aws::String>
484 BackupJob& WithResourceType(ResourceTypeT&& value) {
485 SetResourceType(std::forward<ResourceTypeT>(value));
486 return *this;
487 }
489
491
495 inline long long GetBytesTransferred() const { return m_bytesTransferred; }
496 inline bool BytesTransferredHasBeenSet() const { return m_bytesTransferredHasBeenSet; }
497 inline void SetBytesTransferred(long long value) {
498 m_bytesTransferredHasBeenSet = true;
499 m_bytesTransferred = value;
500 }
501 inline BackupJob& WithBytesTransferred(long long value) {
502 SetBytesTransferred(value);
503 return *this;
504 }
506
508
517 inline const Aws::Map<Aws::String, Aws::String>& GetBackupOptions() const { return m_backupOptions; }
518 inline bool BackupOptionsHasBeenSet() const { return m_backupOptionsHasBeenSet; }
519 template <typename BackupOptionsT = Aws::Map<Aws::String, Aws::String>>
520 void SetBackupOptions(BackupOptionsT&& value) {
521 m_backupOptionsHasBeenSet = true;
522 m_backupOptions = std::forward<BackupOptionsT>(value);
523 }
524 template <typename BackupOptionsT = Aws::Map<Aws::String, Aws::String>>
525 BackupJob& WithBackupOptions(BackupOptionsT&& value) {
526 SetBackupOptions(std::forward<BackupOptionsT>(value));
527 return *this;
528 }
529 template <typename BackupOptionsKeyT = Aws::String, typename BackupOptionsValueT = Aws::String>
530 BackupJob& AddBackupOptions(BackupOptionsKeyT&& key, BackupOptionsValueT&& value) {
531 m_backupOptionsHasBeenSet = true;
532 m_backupOptions.emplace(std::forward<BackupOptionsKeyT>(key), std::forward<BackupOptionsValueT>(value));
533 return *this;
534 }
536
538
541 inline const Aws::String& GetBackupType() const { return m_backupType; }
542 inline bool BackupTypeHasBeenSet() const { return m_backupTypeHasBeenSet; }
543 template <typename BackupTypeT = Aws::String>
544 void SetBackupType(BackupTypeT&& value) {
545 m_backupTypeHasBeenSet = true;
546 m_backupType = std::forward<BackupTypeT>(value);
547 }
548 template <typename BackupTypeT = Aws::String>
549 BackupJob& WithBackupType(BackupTypeT&& value) {
550 SetBackupType(std::forward<BackupTypeT>(value));
551 return *this;
552 }
554
556
560 inline const Aws::String& GetParentJobId() const { return m_parentJobId; }
561 inline bool ParentJobIdHasBeenSet() const { return m_parentJobIdHasBeenSet; }
562 template <typename ParentJobIdT = Aws::String>
563 void SetParentJobId(ParentJobIdT&& value) {
564 m_parentJobIdHasBeenSet = true;
565 m_parentJobId = std::forward<ParentJobIdT>(value);
566 }
567 template <typename ParentJobIdT = Aws::String>
568 BackupJob& WithParentJobId(ParentJobIdT&& value) {
569 SetParentJobId(std::forward<ParentJobIdT>(value));
570 return *this;
571 }
573
575
579 inline bool GetIsParent() const { return m_isParent; }
580 inline bool IsParentHasBeenSet() const { return m_isParentHasBeenSet; }
581 inline void SetIsParent(bool value) {
582 m_isParentHasBeenSet = true;
583 m_isParent = value;
584 }
585 inline BackupJob& WithIsParent(bool value) {
586 SetIsParent(value);
587 return *this;
588 }
590
592
595 inline const Aws::String& GetResourceName() const { return m_resourceName; }
596 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
597 template <typename ResourceNameT = Aws::String>
598 void SetResourceName(ResourceNameT&& value) {
599 m_resourceNameHasBeenSet = true;
600 m_resourceName = std::forward<ResourceNameT>(value);
601 }
602 template <typename ResourceNameT = Aws::String>
603 BackupJob& WithResourceName(ResourceNameT&& value) {
604 SetResourceName(std::forward<ResourceNameT>(value));
605 return *this;
606 }
608
610
613 inline const Aws::Utils::DateTime& GetInitiationDate() const { return m_initiationDate; }
614 inline bool InitiationDateHasBeenSet() const { return m_initiationDateHasBeenSet; }
615 template <typename InitiationDateT = Aws::Utils::DateTime>
616 void SetInitiationDate(InitiationDateT&& value) {
617 m_initiationDateHasBeenSet = true;
618 m_initiationDate = std::forward<InitiationDateT>(value);
619 }
620 template <typename InitiationDateT = Aws::Utils::DateTime>
621 BackupJob& WithInitiationDate(InitiationDateT&& value) {
622 SetInitiationDate(std::forward<InitiationDateT>(value));
623 return *this;
624 }
626
628
637 inline const Aws::String& GetMessageCategory() const { return m_messageCategory; }
638 inline bool MessageCategoryHasBeenSet() const { return m_messageCategoryHasBeenSet; }
639 template <typename MessageCategoryT = Aws::String>
640 void SetMessageCategory(MessageCategoryT&& value) {
641 m_messageCategoryHasBeenSet = true;
642 m_messageCategory = std::forward<MessageCategoryT>(value);
643 }
644 template <typename MessageCategoryT = Aws::String>
645 BackupJob& WithMessageCategory(MessageCategoryT&& value) {
646 SetMessageCategory(std::forward<MessageCategoryT>(value));
647 return *this;
648 }
650 private:
651 Aws::String m_accountId;
652
653 Aws::String m_backupJobId;
654
655 Aws::String m_backupVaultName;
656
657 Aws::String m_backupVaultArn;
658
659 Aws::String m_vaultType;
660
661 Aws::String m_vaultLockState;
662
663 Aws::String m_recoveryPointArn;
664
665 Lifecycle m_recoveryPointLifecycle;
666
667 Aws::String m_encryptionKeyArn;
668
669 bool m_isEncrypted{false};
670
671 Aws::String m_resourceArn;
672
673 Aws::Utils::DateTime m_creationDate{};
674
675 Aws::Utils::DateTime m_completionDate{};
676
678
679 Aws::String m_statusMessage;
680
681 Aws::String m_percentDone;
682
683 long long m_backupSizeInBytes{0};
684
685 Aws::String m_iamRoleArn;
686
687 RecoveryPointCreator m_createdBy;
688
689 Aws::Utils::DateTime m_expectedCompletionDate{};
690
691 Aws::Utils::DateTime m_startBy{};
692
693 Aws::String m_resourceType;
694
695 long long m_bytesTransferred{0};
696
698
699 Aws::String m_backupType;
700
701 Aws::String m_parentJobId;
702
703 bool m_isParent{false};
704
705 Aws::String m_resourceName;
706
707 Aws::Utils::DateTime m_initiationDate{};
708
709 Aws::String m_messageCategory;
710 bool m_accountIdHasBeenSet = false;
711 bool m_backupJobIdHasBeenSet = false;
712 bool m_backupVaultNameHasBeenSet = false;
713 bool m_backupVaultArnHasBeenSet = false;
714 bool m_vaultTypeHasBeenSet = false;
715 bool m_vaultLockStateHasBeenSet = false;
716 bool m_recoveryPointArnHasBeenSet = false;
717 bool m_recoveryPointLifecycleHasBeenSet = false;
718 bool m_encryptionKeyArnHasBeenSet = false;
719 bool m_isEncryptedHasBeenSet = false;
720 bool m_resourceArnHasBeenSet = false;
721 bool m_creationDateHasBeenSet = false;
722 bool m_completionDateHasBeenSet = false;
723 bool m_stateHasBeenSet = false;
724 bool m_statusMessageHasBeenSet = false;
725 bool m_percentDoneHasBeenSet = false;
726 bool m_backupSizeInBytesHasBeenSet = false;
727 bool m_iamRoleArnHasBeenSet = false;
728 bool m_createdByHasBeenSet = false;
729 bool m_expectedCompletionDateHasBeenSet = false;
730 bool m_startByHasBeenSet = false;
731 bool m_resourceTypeHasBeenSet = false;
732 bool m_bytesTransferredHasBeenSet = false;
733 bool m_backupOptionsHasBeenSet = false;
734 bool m_backupTypeHasBeenSet = false;
735 bool m_parentJobIdHasBeenSet = false;
736 bool m_isParentHasBeenSet = false;
737 bool m_resourceNameHasBeenSet = false;
738 bool m_initiationDateHasBeenSet = false;
739 bool m_messageCategoryHasBeenSet = false;
740};
741
742} // namespace Model
743} // namespace Backup
744} // namespace Aws
bool BackupVaultNameHasBeenSet() const
Definition BackupJob.h:82
bool ExpectedCompletionDateHasBeenSet() const
Definition BackupJob.h:432
BackupJob & WithBackupVaultArn(BackupVaultArnT &&value)
Definition BackupJob.h:109
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
Definition BackupJob.h:200
void SetIamRoleArn(IamRoleArnT &&value)
Definition BackupJob.h:391
bool BackupSizeInBytesHasBeenSet() const
Definition BackupJob.h:369
BackupJob & AddBackupOptions(BackupOptionsKeyT &&key, BackupOptionsValueT &&value)
Definition BackupJob.h:530
const Aws::String & GetBackupJobId() const
Definition BackupJob.h:61
const Aws::String & GetRecoveryPointArn() const
Definition BackupJob.h:161
const Aws::String & GetEncryptionKeyArn() const
Definition BackupJob.h:197
void SetVaultType(VaultTypeT &&value)
Definition BackupJob.h:125
const Aws::String & GetVaultLockState() const
Definition BackupJob.h:142
const Aws::Map< Aws::String, Aws::String > & GetBackupOptions() const
Definition BackupJob.h:517
BackupJob & WithAccountId(AccountIdT &&value)
Definition BackupJob.h:51
void SetMessageCategory(MessageCategoryT &&value)
Definition BackupJob.h:640
void SetVaultLockState(VaultLockStateT &&value)
Definition BackupJob.h:145
BackupJob & WithBackupSizeInBytes(long long value)
Definition BackupJob.h:374
BackupJob & WithBackupJobId(BackupJobIdT &&value)
Definition BackupJob.h:69
void SetBackupSizeInBytes(long long value)
Definition BackupJob.h:370
void SetResourceType(ResourceTypeT &&value)
Definition BackupJob.h:479
BackupJob & WithCompletionDate(CompletionDateT &&value)
Definition BackupJob.h:284
bool InitiationDateHasBeenSet() const
Definition BackupJob.h:614
BackupJob & WithCreationDate(CreationDateT &&value)
Definition BackupJob.h:263
bool MessageCategoryHasBeenSet() const
Definition BackupJob.h:638
BackupJob & WithVaultType(VaultTypeT &&value)
Definition BackupJob.h:130
void SetRecoveryPointArn(RecoveryPointArnT &&value)
Definition BackupJob.h:164
const Aws::String & GetBackupType() const
Definition BackupJob.h:541
void SetParentJobId(ParentJobIdT &&value)
Definition BackupJob.h:563
const Aws::String & GetStatusMessage() const
Definition BackupJob.h:311
bool ResourceNameHasBeenSet() const
Definition BackupJob.h:596
void SetCreatedBy(CreatedByT &&value)
Definition BackupJob.h:412
BackupJob & WithRecoveryPointLifecycle(RecoveryPointLifecycleT &&value)
Definition BackupJob.h:185
BackupJob & WithParentJobId(ParentJobIdT &&value)
Definition BackupJob.h:568
const RecoveryPointCreator & GetCreatedBy() const
Definition BackupJob.h:409
AWS_BACKUP_API BackupJob(Aws::Utils::Json::JsonView jsonValue)
BackupJob & WithPercentDone(PercentDoneT &&value)
Definition BackupJob.h:338
bool IsEncryptedHasBeenSet() const
Definition BackupJob.h:218
bool IamRoleArnHasBeenSet() const
Definition BackupJob.h:389
bool BackupOptionsHasBeenSet() const
Definition BackupJob.h:518
const Aws::Utils::DateTime & GetStartBy() const
Definition BackupJob.h:455
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
BackupJob & WithStatusMessage(StatusMessageT &&value)
Definition BackupJob.h:319
bool EncryptionKeyArnHasBeenSet() const
Definition BackupJob.h:198
const Aws::String & GetIamRoleArn() const
Definition BackupJob.h:388
bool CreationDateHasBeenSet() const
Definition BackupJob.h:256
void SetAccountId(AccountIdT &&value)
Definition BackupJob.h:46
bool RecoveryPointArnHasBeenSet() const
Definition BackupJob.h:162
const Aws::String & GetParentJobId() const
Definition BackupJob.h:560
BackupJob & WithCreatedBy(CreatedByT &&value)
Definition BackupJob.h:417
bool CompletionDateHasBeenSet() const
Definition BackupJob.h:277
BackupJob & WithRecoveryPointArn(RecoveryPointArnT &&value)
Definition BackupJob.h:169
AWS_BACKUP_API BackupJob()=default
bool BackupVaultArnHasBeenSet() const
Definition BackupJob.h:102
bool BackupJobIdHasBeenSet() const
Definition BackupJob.h:62
void SetStartBy(StartByT &&value)
Definition BackupJob.h:458
BackupJob & WithResourceName(ResourceNameT &&value)
Definition BackupJob.h:603
long long GetBytesTransferred() const
Definition BackupJob.h:495
BackupJob & WithIsParent(bool value)
Definition BackupJob.h:585
const Aws::String & GetAccountId() const
Definition BackupJob.h:43
BackupJob & WithBackupVaultName(BackupVaultNameT &&value)
Definition BackupJob.h:89
void SetStatusMessage(StatusMessageT &&value)
Definition BackupJob.h:314
bool VaultLockStateHasBeenSet() const
Definition BackupJob.h:143
BackupJob & WithState(BackupJobState value)
Definition BackupJob.h:300
BackupJobState GetState() const
Definition BackupJob.h:294
AWS_BACKUP_API BackupJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInitiationDate(InitiationDateT &&value)
Definition BackupJob.h:616
bool AccountIdHasBeenSet() const
Definition BackupJob.h:44
const Aws::String & GetPercentDone() const
Definition BackupJob.h:330
const Aws::String & GetBackupVaultArn() const
Definition BackupJob.h:101
const Aws::Utils::DateTime & GetExpectedCompletionDate() const
Definition BackupJob.h:431
const Lifecycle & GetRecoveryPointLifecycle() const
Definition BackupJob.h:177
const Aws::String & GetVaultType() const
Definition BackupJob.h:122
void SetBackupType(BackupTypeT &&value)
Definition BackupJob.h:544
void SetPercentDone(PercentDoneT &&value)
Definition BackupJob.h:333
bool ResourceArnHasBeenSet() const
Definition BackupJob.h:235
void SetBackupVaultName(BackupVaultNameT &&value)
Definition BackupJob.h:84
BackupJob & WithIamRoleArn(IamRoleArnT &&value)
Definition BackupJob.h:396
bool BackupTypeHasBeenSet() const
Definition BackupJob.h:542
BackupJob & WithBackupOptions(BackupOptionsT &&value)
Definition BackupJob.h:525
long long GetBackupSizeInBytes() const
Definition BackupJob.h:368
BackupJob & WithResourceType(ResourceTypeT &&value)
Definition BackupJob.h:484
void SetResourceName(ResourceNameT &&value)
Definition BackupJob.h:598
void SetCreationDate(CreationDateT &&value)
Definition BackupJob.h:258
BackupJob & WithBytesTransferred(long long value)
Definition BackupJob.h:501
const Aws::String & GetResourceType() const
Definition BackupJob.h:476
void SetBackupJobId(BackupJobIdT &&value)
Definition BackupJob.h:64
bool PercentDoneHasBeenSet() const
Definition BackupJob.h:331
const Aws::Utils::DateTime & GetInitiationDate() const
Definition BackupJob.h:613
bool StatusMessageHasBeenSet() const
Definition BackupJob.h:312
BackupJob & WithVaultLockState(VaultLockStateT &&value)
Definition BackupJob.h:150
void SetCompletionDate(CompletionDateT &&value)
Definition BackupJob.h:279
const Aws::String & GetResourceName() const
Definition BackupJob.h:595
void SetBackupVaultArn(BackupVaultArnT &&value)
Definition BackupJob.h:104
void SetBytesTransferred(long long value)
Definition BackupJob.h:497
BackupJob & WithMessageCategory(MessageCategoryT &&value)
Definition BackupJob.h:645
bool ResourceTypeHasBeenSet() const
Definition BackupJob.h:477
bool ParentJobIdHasBeenSet() const
Definition BackupJob.h:561
const Aws::String & GetResourceArn() const
Definition BackupJob.h:234
void SetBackupOptions(BackupOptionsT &&value)
Definition BackupJob.h:520
void SetExpectedCompletionDate(ExpectedCompletionDateT &&value)
Definition BackupJob.h:434
void SetState(BackupJobState value)
Definition BackupJob.h:296
void SetResourceArn(ResourceArnT &&value)
Definition BackupJob.h:237
const Aws::String & GetMessageCategory() const
Definition BackupJob.h:637
void SetRecoveryPointLifecycle(RecoveryPointLifecycleT &&value)
Definition BackupJob.h:180
BackupJob & WithIsEncrypted(bool value)
Definition BackupJob.h:223
BackupJob & WithExpectedCompletionDate(ExpectedCompletionDateT &&value)
Definition BackupJob.h:439
void SetIsEncrypted(bool value)
Definition BackupJob.h:219
const Aws::Utils::DateTime & GetCompletionDate() const
Definition BackupJob.h:276
void SetIsParent(bool value)
Definition BackupJob.h:581
BackupJob & WithResourceArn(ResourceArnT &&value)
Definition BackupJob.h:242
BackupJob & WithBackupType(BackupTypeT &&value)
Definition BackupJob.h:549
bool RecoveryPointLifecycleHasBeenSet() const
Definition BackupJob.h:178
bool BytesTransferredHasBeenSet() const
Definition BackupJob.h:496
const Aws::String & GetBackupVaultName() const
Definition BackupJob.h:81
BackupJob & WithInitiationDate(InitiationDateT &&value)
Definition BackupJob.h:621
BackupJob & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
Definition BackupJob.h:205
BackupJob & WithStartBy(StartByT &&value)
Definition BackupJob.h:463
const Aws::Utils::DateTime & GetCreationDate() const
Definition BackupJob.h:255
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue