AWS SDK for C++

AWS SDK for C++ Version 1.11.756

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
366 inline long long GetBackupSizeInBytes() const { return m_backupSizeInBytes; }
367 inline bool BackupSizeInBytesHasBeenSet() const { return m_backupSizeInBytesHasBeenSet; }
368 inline void SetBackupSizeInBytes(long long value) {
369 m_backupSizeInBytesHasBeenSet = true;
370 m_backupSizeInBytes = value;
371 }
372 inline BackupJob& WithBackupSizeInBytes(long long value) {
374 return *this;
375 }
377
379
386 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
387 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
388 template <typename IamRoleArnT = Aws::String>
389 void SetIamRoleArn(IamRoleArnT&& value) {
390 m_iamRoleArnHasBeenSet = true;
391 m_iamRoleArn = std::forward<IamRoleArnT>(value);
392 }
393 template <typename IamRoleArnT = Aws::String>
394 BackupJob& WithIamRoleArn(IamRoleArnT&& value) {
395 SetIamRoleArn(std::forward<IamRoleArnT>(value));
396 return *this;
397 }
399
401
407 inline const RecoveryPointCreator& GetCreatedBy() const { return m_createdBy; }
408 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
409 template <typename CreatedByT = RecoveryPointCreator>
410 void SetCreatedBy(CreatedByT&& value) {
411 m_createdByHasBeenSet = true;
412 m_createdBy = std::forward<CreatedByT>(value);
413 }
414 template <typename CreatedByT = RecoveryPointCreator>
415 BackupJob& WithCreatedBy(CreatedByT&& value) {
416 SetCreatedBy(std::forward<CreatedByT>(value));
417 return *this;
418 }
420
422
429 inline const Aws::Utils::DateTime& GetExpectedCompletionDate() const { return m_expectedCompletionDate; }
430 inline bool ExpectedCompletionDateHasBeenSet() const { return m_expectedCompletionDateHasBeenSet; }
431 template <typename ExpectedCompletionDateT = Aws::Utils::DateTime>
432 void SetExpectedCompletionDate(ExpectedCompletionDateT&& value) {
433 m_expectedCompletionDateHasBeenSet = true;
434 m_expectedCompletionDate = std::forward<ExpectedCompletionDateT>(value);
435 }
436 template <typename ExpectedCompletionDateT = Aws::Utils::DateTime>
437 BackupJob& WithExpectedCompletionDate(ExpectedCompletionDateT&& value) {
438 SetExpectedCompletionDate(std::forward<ExpectedCompletionDateT>(value));
439 return *this;
440 }
442
444
453 inline const Aws::Utils::DateTime& GetStartBy() const { return m_startBy; }
454 inline bool StartByHasBeenSet() const { return m_startByHasBeenSet; }
455 template <typename StartByT = Aws::Utils::DateTime>
456 void SetStartBy(StartByT&& value) {
457 m_startByHasBeenSet = true;
458 m_startBy = std::forward<StartByT>(value);
459 }
460 template <typename StartByT = Aws::Utils::DateTime>
461 BackupJob& WithStartBy(StartByT&& value) {
462 SetStartBy(std::forward<StartByT>(value));
463 return *this;
464 }
466
468
474 inline const Aws::String& GetResourceType() const { return m_resourceType; }
475 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
476 template <typename ResourceTypeT = Aws::String>
477 void SetResourceType(ResourceTypeT&& value) {
478 m_resourceTypeHasBeenSet = true;
479 m_resourceType = std::forward<ResourceTypeT>(value);
480 }
481 template <typename ResourceTypeT = Aws::String>
482 BackupJob& WithResourceType(ResourceTypeT&& value) {
483 SetResourceType(std::forward<ResourceTypeT>(value));
484 return *this;
485 }
487
489
493 inline long long GetBytesTransferred() const { return m_bytesTransferred; }
494 inline bool BytesTransferredHasBeenSet() const { return m_bytesTransferredHasBeenSet; }
495 inline void SetBytesTransferred(long long value) {
496 m_bytesTransferredHasBeenSet = true;
497 m_bytesTransferred = value;
498 }
499 inline BackupJob& WithBytesTransferred(long long value) {
500 SetBytesTransferred(value);
501 return *this;
502 }
504
506
515 inline const Aws::Map<Aws::String, Aws::String>& GetBackupOptions() const { return m_backupOptions; }
516 inline bool BackupOptionsHasBeenSet() const { return m_backupOptionsHasBeenSet; }
517 template <typename BackupOptionsT = Aws::Map<Aws::String, Aws::String>>
518 void SetBackupOptions(BackupOptionsT&& value) {
519 m_backupOptionsHasBeenSet = true;
520 m_backupOptions = std::forward<BackupOptionsT>(value);
521 }
522 template <typename BackupOptionsT = Aws::Map<Aws::String, Aws::String>>
523 BackupJob& WithBackupOptions(BackupOptionsT&& value) {
524 SetBackupOptions(std::forward<BackupOptionsT>(value));
525 return *this;
526 }
527 template <typename BackupOptionsKeyT = Aws::String, typename BackupOptionsValueT = Aws::String>
528 BackupJob& AddBackupOptions(BackupOptionsKeyT&& key, BackupOptionsValueT&& value) {
529 m_backupOptionsHasBeenSet = true;
530 m_backupOptions.emplace(std::forward<BackupOptionsKeyT>(key), std::forward<BackupOptionsValueT>(value));
531 return *this;
532 }
534
536
539 inline const Aws::String& GetBackupType() const { return m_backupType; }
540 inline bool BackupTypeHasBeenSet() const { return m_backupTypeHasBeenSet; }
541 template <typename BackupTypeT = Aws::String>
542 void SetBackupType(BackupTypeT&& value) {
543 m_backupTypeHasBeenSet = true;
544 m_backupType = std::forward<BackupTypeT>(value);
545 }
546 template <typename BackupTypeT = Aws::String>
547 BackupJob& WithBackupType(BackupTypeT&& value) {
548 SetBackupType(std::forward<BackupTypeT>(value));
549 return *this;
550 }
552
554
558 inline const Aws::String& GetParentJobId() const { return m_parentJobId; }
559 inline bool ParentJobIdHasBeenSet() const { return m_parentJobIdHasBeenSet; }
560 template <typename ParentJobIdT = Aws::String>
561 void SetParentJobId(ParentJobIdT&& value) {
562 m_parentJobIdHasBeenSet = true;
563 m_parentJobId = std::forward<ParentJobIdT>(value);
564 }
565 template <typename ParentJobIdT = Aws::String>
566 BackupJob& WithParentJobId(ParentJobIdT&& value) {
567 SetParentJobId(std::forward<ParentJobIdT>(value));
568 return *this;
569 }
571
573
577 inline bool GetIsParent() const { return m_isParent; }
578 inline bool IsParentHasBeenSet() const { return m_isParentHasBeenSet; }
579 inline void SetIsParent(bool value) {
580 m_isParentHasBeenSet = true;
581 m_isParent = value;
582 }
583 inline BackupJob& WithIsParent(bool value) {
584 SetIsParent(value);
585 return *this;
586 }
588
590
593 inline const Aws::String& GetResourceName() const { return m_resourceName; }
594 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
595 template <typename ResourceNameT = Aws::String>
596 void SetResourceName(ResourceNameT&& value) {
597 m_resourceNameHasBeenSet = true;
598 m_resourceName = std::forward<ResourceNameT>(value);
599 }
600 template <typename ResourceNameT = Aws::String>
601 BackupJob& WithResourceName(ResourceNameT&& value) {
602 SetResourceName(std::forward<ResourceNameT>(value));
603 return *this;
604 }
606
608
611 inline const Aws::Utils::DateTime& GetInitiationDate() const { return m_initiationDate; }
612 inline bool InitiationDateHasBeenSet() const { return m_initiationDateHasBeenSet; }
613 template <typename InitiationDateT = Aws::Utils::DateTime>
614 void SetInitiationDate(InitiationDateT&& value) {
615 m_initiationDateHasBeenSet = true;
616 m_initiationDate = std::forward<InitiationDateT>(value);
617 }
618 template <typename InitiationDateT = Aws::Utils::DateTime>
619 BackupJob& WithInitiationDate(InitiationDateT&& value) {
620 SetInitiationDate(std::forward<InitiationDateT>(value));
621 return *this;
622 }
624
626
635 inline const Aws::String& GetMessageCategory() const { return m_messageCategory; }
636 inline bool MessageCategoryHasBeenSet() const { return m_messageCategoryHasBeenSet; }
637 template <typename MessageCategoryT = Aws::String>
638 void SetMessageCategory(MessageCategoryT&& value) {
639 m_messageCategoryHasBeenSet = true;
640 m_messageCategory = std::forward<MessageCategoryT>(value);
641 }
642 template <typename MessageCategoryT = Aws::String>
643 BackupJob& WithMessageCategory(MessageCategoryT&& value) {
644 SetMessageCategory(std::forward<MessageCategoryT>(value));
645 return *this;
646 }
648 private:
649 Aws::String m_accountId;
650
651 Aws::String m_backupJobId;
652
653 Aws::String m_backupVaultName;
654
655 Aws::String m_backupVaultArn;
656
657 Aws::String m_vaultType;
658
659 Aws::String m_vaultLockState;
660
661 Aws::String m_recoveryPointArn;
662
663 Lifecycle m_recoveryPointLifecycle;
664
665 Aws::String m_encryptionKeyArn;
666
667 bool m_isEncrypted{false};
668
669 Aws::String m_resourceArn;
670
671 Aws::Utils::DateTime m_creationDate{};
672
673 Aws::Utils::DateTime m_completionDate{};
674
676
677 Aws::String m_statusMessage;
678
679 Aws::String m_percentDone;
680
681 long long m_backupSizeInBytes{0};
682
683 Aws::String m_iamRoleArn;
684
685 RecoveryPointCreator m_createdBy;
686
687 Aws::Utils::DateTime m_expectedCompletionDate{};
688
689 Aws::Utils::DateTime m_startBy{};
690
691 Aws::String m_resourceType;
692
693 long long m_bytesTransferred{0};
694
696
697 Aws::String m_backupType;
698
699 Aws::String m_parentJobId;
700
701 bool m_isParent{false};
702
703 Aws::String m_resourceName;
704
705 Aws::Utils::DateTime m_initiationDate{};
706
707 Aws::String m_messageCategory;
708 bool m_accountIdHasBeenSet = false;
709 bool m_backupJobIdHasBeenSet = false;
710 bool m_backupVaultNameHasBeenSet = false;
711 bool m_backupVaultArnHasBeenSet = false;
712 bool m_vaultTypeHasBeenSet = false;
713 bool m_vaultLockStateHasBeenSet = false;
714 bool m_recoveryPointArnHasBeenSet = false;
715 bool m_recoveryPointLifecycleHasBeenSet = false;
716 bool m_encryptionKeyArnHasBeenSet = false;
717 bool m_isEncryptedHasBeenSet = false;
718 bool m_resourceArnHasBeenSet = false;
719 bool m_creationDateHasBeenSet = false;
720 bool m_completionDateHasBeenSet = false;
721 bool m_stateHasBeenSet = false;
722 bool m_statusMessageHasBeenSet = false;
723 bool m_percentDoneHasBeenSet = false;
724 bool m_backupSizeInBytesHasBeenSet = false;
725 bool m_iamRoleArnHasBeenSet = false;
726 bool m_createdByHasBeenSet = false;
727 bool m_expectedCompletionDateHasBeenSet = false;
728 bool m_startByHasBeenSet = false;
729 bool m_resourceTypeHasBeenSet = false;
730 bool m_bytesTransferredHasBeenSet = false;
731 bool m_backupOptionsHasBeenSet = false;
732 bool m_backupTypeHasBeenSet = false;
733 bool m_parentJobIdHasBeenSet = false;
734 bool m_isParentHasBeenSet = false;
735 bool m_resourceNameHasBeenSet = false;
736 bool m_initiationDateHasBeenSet = false;
737 bool m_messageCategoryHasBeenSet = false;
738};
739
740} // namespace Model
741} // namespace Backup
742} // namespace Aws
bool BackupVaultNameHasBeenSet() const
Definition BackupJob.h:82
bool ExpectedCompletionDateHasBeenSet() const
Definition BackupJob.h:430
BackupJob & WithBackupVaultArn(BackupVaultArnT &&value)
Definition BackupJob.h:109
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
Definition BackupJob.h:200
void SetIamRoleArn(IamRoleArnT &&value)
Definition BackupJob.h:389
bool BackupSizeInBytesHasBeenSet() const
Definition BackupJob.h:367
BackupJob & AddBackupOptions(BackupOptionsKeyT &&key, BackupOptionsValueT &&value)
Definition BackupJob.h:528
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:515
BackupJob & WithAccountId(AccountIdT &&value)
Definition BackupJob.h:51
void SetMessageCategory(MessageCategoryT &&value)
Definition BackupJob.h:638
void SetVaultLockState(VaultLockStateT &&value)
Definition BackupJob.h:145
BackupJob & WithBackupSizeInBytes(long long value)
Definition BackupJob.h:372
BackupJob & WithBackupJobId(BackupJobIdT &&value)
Definition BackupJob.h:69
void SetBackupSizeInBytes(long long value)
Definition BackupJob.h:368
void SetResourceType(ResourceTypeT &&value)
Definition BackupJob.h:477
BackupJob & WithCompletionDate(CompletionDateT &&value)
Definition BackupJob.h:284
bool InitiationDateHasBeenSet() const
Definition BackupJob.h:612
BackupJob & WithCreationDate(CreationDateT &&value)
Definition BackupJob.h:263
bool MessageCategoryHasBeenSet() const
Definition BackupJob.h:636
BackupJob & WithVaultType(VaultTypeT &&value)
Definition BackupJob.h:130
void SetRecoveryPointArn(RecoveryPointArnT &&value)
Definition BackupJob.h:164
const Aws::String & GetBackupType() const
Definition BackupJob.h:539
void SetParentJobId(ParentJobIdT &&value)
Definition BackupJob.h:561
const Aws::String & GetStatusMessage() const
Definition BackupJob.h:311
bool ResourceNameHasBeenSet() const
Definition BackupJob.h:594
void SetCreatedBy(CreatedByT &&value)
Definition BackupJob.h:410
BackupJob & WithRecoveryPointLifecycle(RecoveryPointLifecycleT &&value)
Definition BackupJob.h:185
BackupJob & WithParentJobId(ParentJobIdT &&value)
Definition BackupJob.h:566
const RecoveryPointCreator & GetCreatedBy() const
Definition BackupJob.h:407
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:387
bool BackupOptionsHasBeenSet() const
Definition BackupJob.h:516
const Aws::Utils::DateTime & GetStartBy() const
Definition BackupJob.h:453
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:386
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:558
BackupJob & WithCreatedBy(CreatedByT &&value)
Definition BackupJob.h:415
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:456
BackupJob & WithResourceName(ResourceNameT &&value)
Definition BackupJob.h:601
long long GetBytesTransferred() const
Definition BackupJob.h:493
BackupJob & WithIsParent(bool value)
Definition BackupJob.h:583
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:614
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:429
const Lifecycle & GetRecoveryPointLifecycle() const
Definition BackupJob.h:177
const Aws::String & GetVaultType() const
Definition BackupJob.h:122
void SetBackupType(BackupTypeT &&value)
Definition BackupJob.h:542
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:394
bool BackupTypeHasBeenSet() const
Definition BackupJob.h:540
BackupJob & WithBackupOptions(BackupOptionsT &&value)
Definition BackupJob.h:523
long long GetBackupSizeInBytes() const
Definition BackupJob.h:366
BackupJob & WithResourceType(ResourceTypeT &&value)
Definition BackupJob.h:482
void SetResourceName(ResourceNameT &&value)
Definition BackupJob.h:596
void SetCreationDate(CreationDateT &&value)
Definition BackupJob.h:258
BackupJob & WithBytesTransferred(long long value)
Definition BackupJob.h:499
const Aws::String & GetResourceType() const
Definition BackupJob.h:474
void SetBackupJobId(BackupJobIdT &&value)
Definition BackupJob.h:64
bool PercentDoneHasBeenSet() const
Definition BackupJob.h:331
const Aws::Utils::DateTime & GetInitiationDate() const
Definition BackupJob.h:611
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:593
void SetBackupVaultArn(BackupVaultArnT &&value)
Definition BackupJob.h:104
void SetBytesTransferred(long long value)
Definition BackupJob.h:495
BackupJob & WithMessageCategory(MessageCategoryT &&value)
Definition BackupJob.h:643
bool ResourceTypeHasBeenSet() const
Definition BackupJob.h:475
bool ParentJobIdHasBeenSet() const
Definition BackupJob.h:559
const Aws::String & GetResourceArn() const
Definition BackupJob.h:234
void SetBackupOptions(BackupOptionsT &&value)
Definition BackupJob.h:518
void SetExpectedCompletionDate(ExpectedCompletionDateT &&value)
Definition BackupJob.h:432
void SetState(BackupJobState value)
Definition BackupJob.h:296
void SetResourceArn(ResourceArnT &&value)
Definition BackupJob.h:237
const Aws::String & GetMessageCategory() const
Definition BackupJob.h:635
void SetRecoveryPointLifecycle(RecoveryPointLifecycleT &&value)
Definition BackupJob.h:180
BackupJob & WithIsEncrypted(bool value)
Definition BackupJob.h:223
BackupJob & WithExpectedCompletionDate(ExpectedCompletionDateT &&value)
Definition BackupJob.h:437
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:579
BackupJob & WithResourceArn(ResourceArnT &&value)
Definition BackupJob.h:242
BackupJob & WithBackupType(BackupTypeT &&value)
Definition BackupJob.h:547
bool RecoveryPointLifecycleHasBeenSet() const
Definition BackupJob.h:178
bool BytesTransferredHasBeenSet() const
Definition BackupJob.h:494
const Aws::String & GetBackupVaultName() const
Definition BackupJob.h:81
BackupJob & WithInitiationDate(InitiationDateT &&value)
Definition BackupJob.h:619
BackupJob & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
Definition BackupJob.h:205
BackupJob & WithStartBy(StartByT &&value)
Definition BackupJob.h:461
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