AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
CopyJob.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/CopyJobState.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 CopyJob {
33 public:
34 AWS_BACKUP_API CopyJob() = default;
35 AWS_BACKUP_API CopyJob(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BACKUP_API CopyJob& operator=(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 CopyJob& WithAccountId(AccountIdT&& value) {
52 SetAccountId(std::forward<AccountIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetCopyJobId() const { return m_copyJobId; }
62 inline bool CopyJobIdHasBeenSet() const { return m_copyJobIdHasBeenSet; }
63 template <typename CopyJobIdT = Aws::String>
64 void SetCopyJobId(CopyJobIdT&& value) {
65 m_copyJobIdHasBeenSet = true;
66 m_copyJobId = std::forward<CopyJobIdT>(value);
67 }
68 template <typename CopyJobIdT = Aws::String>
69 CopyJob& WithCopyJobId(CopyJobIdT&& value) {
70 SetCopyJobId(std::forward<CopyJobIdT>(value));
71 return *this;
72 }
74
76
82 inline const Aws::String& GetSourceBackupVaultArn() const { return m_sourceBackupVaultArn; }
83 inline bool SourceBackupVaultArnHasBeenSet() const { return m_sourceBackupVaultArnHasBeenSet; }
84 template <typename SourceBackupVaultArnT = Aws::String>
85 void SetSourceBackupVaultArn(SourceBackupVaultArnT&& value) {
86 m_sourceBackupVaultArnHasBeenSet = true;
87 m_sourceBackupVaultArn = std::forward<SourceBackupVaultArnT>(value);
88 }
89 template <typename SourceBackupVaultArnT = Aws::String>
90 CopyJob& WithSourceBackupVaultArn(SourceBackupVaultArnT&& value) {
91 SetSourceBackupVaultArn(std::forward<SourceBackupVaultArnT>(value));
92 return *this;
93 }
95
97
101 inline const Aws::String& GetSourceRecoveryPointArn() const { return m_sourceRecoveryPointArn; }
102 inline bool SourceRecoveryPointArnHasBeenSet() const { return m_sourceRecoveryPointArnHasBeenSet; }
103 template <typename SourceRecoveryPointArnT = Aws::String>
104 void SetSourceRecoveryPointArn(SourceRecoveryPointArnT&& value) {
105 m_sourceRecoveryPointArnHasBeenSet = true;
106 m_sourceRecoveryPointArn = std::forward<SourceRecoveryPointArnT>(value);
107 }
108 template <typename SourceRecoveryPointArnT = Aws::String>
109 CopyJob& WithSourceRecoveryPointArn(SourceRecoveryPointArnT&& value) {
110 SetSourceRecoveryPointArn(std::forward<SourceRecoveryPointArnT>(value));
111 return *this;
112 }
114
116
121 inline const Aws::String& GetDestinationBackupVaultArn() const { return m_destinationBackupVaultArn; }
122 inline bool DestinationBackupVaultArnHasBeenSet() const { return m_destinationBackupVaultArnHasBeenSet; }
123 template <typename DestinationBackupVaultArnT = Aws::String>
124 void SetDestinationBackupVaultArn(DestinationBackupVaultArnT&& value) {
125 m_destinationBackupVaultArnHasBeenSet = true;
126 m_destinationBackupVaultArn = std::forward<DestinationBackupVaultArnT>(value);
127 }
128 template <typename DestinationBackupVaultArnT = Aws::String>
129 CopyJob& WithDestinationBackupVaultArn(DestinationBackupVaultArnT&& value) {
130 SetDestinationBackupVaultArn(std::forward<DestinationBackupVaultArnT>(value));
131 return *this;
132 }
134
136
142 inline const Aws::String& GetDestinationVaultType() const { return m_destinationVaultType; }
143 inline bool DestinationVaultTypeHasBeenSet() const { return m_destinationVaultTypeHasBeenSet; }
144 template <typename DestinationVaultTypeT = Aws::String>
145 void SetDestinationVaultType(DestinationVaultTypeT&& value) {
146 m_destinationVaultTypeHasBeenSet = true;
147 m_destinationVaultType = std::forward<DestinationVaultTypeT>(value);
148 }
149 template <typename DestinationVaultTypeT = Aws::String>
150 CopyJob& WithDestinationVaultType(DestinationVaultTypeT&& value) {
151 SetDestinationVaultType(std::forward<DestinationVaultTypeT>(value));
152 return *this;
153 }
155
157
162 inline const Aws::String& GetDestinationVaultLockState() const { return m_destinationVaultLockState; }
163 inline bool DestinationVaultLockStateHasBeenSet() const { return m_destinationVaultLockStateHasBeenSet; }
164 template <typename DestinationVaultLockStateT = Aws::String>
165 void SetDestinationVaultLockState(DestinationVaultLockStateT&& value) {
166 m_destinationVaultLockStateHasBeenSet = true;
167 m_destinationVaultLockState = std::forward<DestinationVaultLockStateT>(value);
168 }
169 template <typename DestinationVaultLockStateT = Aws::String>
170 CopyJob& WithDestinationVaultLockState(DestinationVaultLockStateT&& value) {
171 SetDestinationVaultLockState(std::forward<DestinationVaultLockStateT>(value));
172 return *this;
173 }
175
177
181 inline const Aws::String& GetDestinationRecoveryPointArn() const { return m_destinationRecoveryPointArn; }
182 inline bool DestinationRecoveryPointArnHasBeenSet() const { return m_destinationRecoveryPointArnHasBeenSet; }
183 template <typename DestinationRecoveryPointArnT = Aws::String>
184 void SetDestinationRecoveryPointArn(DestinationRecoveryPointArnT&& value) {
185 m_destinationRecoveryPointArnHasBeenSet = true;
186 m_destinationRecoveryPointArn = std::forward<DestinationRecoveryPointArnT>(value);
187 }
188 template <typename DestinationRecoveryPointArnT = Aws::String>
189 CopyJob& WithDestinationRecoveryPointArn(DestinationRecoveryPointArnT&& value) {
190 SetDestinationRecoveryPointArn(std::forward<DestinationRecoveryPointArnT>(value));
191 return *this;
192 }
194
196
201 inline const Aws::String& GetDestinationEncryptionKeyArn() const { return m_destinationEncryptionKeyArn; }
202 inline bool DestinationEncryptionKeyArnHasBeenSet() const { return m_destinationEncryptionKeyArnHasBeenSet; }
203 template <typename DestinationEncryptionKeyArnT = Aws::String>
204 void SetDestinationEncryptionKeyArn(DestinationEncryptionKeyArnT&& value) {
205 m_destinationEncryptionKeyArnHasBeenSet = true;
206 m_destinationEncryptionKeyArn = std::forward<DestinationEncryptionKeyArnT>(value);
207 }
208 template <typename DestinationEncryptionKeyArnT = Aws::String>
209 CopyJob& WithDestinationEncryptionKeyArn(DestinationEncryptionKeyArnT&& value) {
210 SetDestinationEncryptionKeyArn(std::forward<DestinationEncryptionKeyArnT>(value));
211 return *this;
212 }
214
216
217 inline const Lifecycle& GetDestinationRecoveryPointLifecycle() const { return m_destinationRecoveryPointLifecycle; }
218 inline bool DestinationRecoveryPointLifecycleHasBeenSet() const { return m_destinationRecoveryPointLifecycleHasBeenSet; }
219 template <typename DestinationRecoveryPointLifecycleT = Lifecycle>
220 void SetDestinationRecoveryPointLifecycle(DestinationRecoveryPointLifecycleT&& value) {
221 m_destinationRecoveryPointLifecycleHasBeenSet = true;
222 m_destinationRecoveryPointLifecycle = std::forward<DestinationRecoveryPointLifecycleT>(value);
223 }
224 template <typename DestinationRecoveryPointLifecycleT = Lifecycle>
225 CopyJob& WithDestinationRecoveryPointLifecycle(DestinationRecoveryPointLifecycleT&& value) {
226 SetDestinationRecoveryPointLifecycle(std::forward<DestinationRecoveryPointLifecycleT>(value));
227 return *this;
228 }
230
232
237 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
238 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
239 template <typename ResourceArnT = Aws::String>
240 void SetResourceArn(ResourceArnT&& value) {
241 m_resourceArnHasBeenSet = true;
242 m_resourceArn = std::forward<ResourceArnT>(value);
243 }
244 template <typename ResourceArnT = Aws::String>
245 CopyJob& WithResourceArn(ResourceArnT&& value) {
246 SetResourceArn(std::forward<ResourceArnT>(value));
247 return *this;
248 }
250
252
258 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
259 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
260 template <typename CreationDateT = Aws::Utils::DateTime>
261 void SetCreationDate(CreationDateT&& value) {
262 m_creationDateHasBeenSet = true;
263 m_creationDate = std::forward<CreationDateT>(value);
264 }
265 template <typename CreationDateT = Aws::Utils::DateTime>
266 CopyJob& WithCreationDate(CreationDateT&& value) {
267 SetCreationDate(std::forward<CreationDateT>(value));
268 return *this;
269 }
271
273
279 inline const Aws::Utils::DateTime& GetCompletionDate() const { return m_completionDate; }
280 inline bool CompletionDateHasBeenSet() const { return m_completionDateHasBeenSet; }
281 template <typename CompletionDateT = Aws::Utils::DateTime>
282 void SetCompletionDate(CompletionDateT&& value) {
283 m_completionDateHasBeenSet = true;
284 m_completionDate = std::forward<CompletionDateT>(value);
285 }
286 template <typename CompletionDateT = Aws::Utils::DateTime>
287 CopyJob& WithCompletionDate(CompletionDateT&& value) {
288 SetCompletionDate(std::forward<CompletionDateT>(value));
289 return *this;
290 }
292
294
297 inline CopyJobState GetState() const { return m_state; }
298 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
299 inline void SetState(CopyJobState value) {
300 m_stateHasBeenSet = true;
301 m_state = value;
302 }
304 SetState(value);
305 return *this;
306 }
308
310
313 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
314 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
315 template <typename StatusMessageT = Aws::String>
316 void SetStatusMessage(StatusMessageT&& value) {
317 m_statusMessageHasBeenSet = true;
318 m_statusMessage = std::forward<StatusMessageT>(value);
319 }
320 template <typename StatusMessageT = Aws::String>
321 CopyJob& WithStatusMessage(StatusMessageT&& value) {
322 SetStatusMessage(std::forward<StatusMessageT>(value));
323 return *this;
324 }
326
328
331 inline long long GetBackupSizeInBytes() const { return m_backupSizeInBytes; }
332 inline bool BackupSizeInBytesHasBeenSet() const { return m_backupSizeInBytesHasBeenSet; }
333 inline void SetBackupSizeInBytes(long long value) {
334 m_backupSizeInBytesHasBeenSet = true;
335 m_backupSizeInBytes = value;
336 }
337 inline CopyJob& WithBackupSizeInBytes(long long value) {
339 return *this;
340 }
342
344
348 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
349 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
350 template <typename IamRoleArnT = Aws::String>
351 void SetIamRoleArn(IamRoleArnT&& value) {
352 m_iamRoleArnHasBeenSet = true;
353 m_iamRoleArn = std::forward<IamRoleArnT>(value);
354 }
355 template <typename IamRoleArnT = Aws::String>
356 CopyJob& WithIamRoleArn(IamRoleArnT&& value) {
357 SetIamRoleArn(std::forward<IamRoleArnT>(value));
358 return *this;
359 }
361
363
364 inline const RecoveryPointCreator& GetCreatedBy() const { return m_createdBy; }
365 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
366 template <typename CreatedByT = RecoveryPointCreator>
367 void SetCreatedBy(CreatedByT&& value) {
368 m_createdByHasBeenSet = true;
369 m_createdBy = std::forward<CreatedByT>(value);
370 }
371 template <typename CreatedByT = RecoveryPointCreator>
372 CopyJob& WithCreatedBy(CreatedByT&& value) {
373 SetCreatedBy(std::forward<CreatedByT>(value));
374 return *this;
375 }
377
379
383 inline const Aws::String& GetCreatedByBackupJobId() const { return m_createdByBackupJobId; }
384 inline bool CreatedByBackupJobIdHasBeenSet() const { return m_createdByBackupJobIdHasBeenSet; }
385 template <typename CreatedByBackupJobIdT = Aws::String>
386 void SetCreatedByBackupJobId(CreatedByBackupJobIdT&& value) {
387 m_createdByBackupJobIdHasBeenSet = true;
388 m_createdByBackupJobId = std::forward<CreatedByBackupJobIdT>(value);
389 }
390 template <typename CreatedByBackupJobIdT = Aws::String>
391 CopyJob& WithCreatedByBackupJobId(CreatedByBackupJobIdT&& value) {
392 SetCreatedByBackupJobId(std::forward<CreatedByBackupJobIdT>(value));
393 return *this;
394 }
396
398
403 inline const Aws::String& GetResourceType() const { return m_resourceType; }
404 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
405 template <typename ResourceTypeT = Aws::String>
406 void SetResourceType(ResourceTypeT&& value) {
407 m_resourceTypeHasBeenSet = true;
408 m_resourceType = std::forward<ResourceTypeT>(value);
409 }
410 template <typename ResourceTypeT = Aws::String>
411 CopyJob& WithResourceType(ResourceTypeT&& value) {
412 SetResourceType(std::forward<ResourceTypeT>(value));
413 return *this;
414 }
416
418
422 inline const Aws::String& GetParentJobId() const { return m_parentJobId; }
423 inline bool ParentJobIdHasBeenSet() const { return m_parentJobIdHasBeenSet; }
424 template <typename ParentJobIdT = Aws::String>
425 void SetParentJobId(ParentJobIdT&& value) {
426 m_parentJobIdHasBeenSet = true;
427 m_parentJobId = std::forward<ParentJobIdT>(value);
428 }
429 template <typename ParentJobIdT = Aws::String>
430 CopyJob& WithParentJobId(ParentJobIdT&& value) {
431 SetParentJobId(std::forward<ParentJobIdT>(value));
432 return *this;
433 }
435
437
440 inline bool GetIsParent() const { return m_isParent; }
441 inline bool IsParentHasBeenSet() const { return m_isParentHasBeenSet; }
442 inline void SetIsParent(bool value) {
443 m_isParentHasBeenSet = true;
444 m_isParent = value;
445 }
446 inline CopyJob& WithIsParent(bool value) {
447 SetIsParent(value);
448 return *this;
449 }
451
453
460 inline const Aws::String& GetCompositeMemberIdentifier() const { return m_compositeMemberIdentifier; }
461 inline bool CompositeMemberIdentifierHasBeenSet() const { return m_compositeMemberIdentifierHasBeenSet; }
462 template <typename CompositeMemberIdentifierT = Aws::String>
463 void SetCompositeMemberIdentifier(CompositeMemberIdentifierT&& value) {
464 m_compositeMemberIdentifierHasBeenSet = true;
465 m_compositeMemberIdentifier = std::forward<CompositeMemberIdentifierT>(value);
466 }
467 template <typename CompositeMemberIdentifierT = Aws::String>
468 CopyJob& WithCompositeMemberIdentifier(CompositeMemberIdentifierT&& value) {
469 SetCompositeMemberIdentifier(std::forward<CompositeMemberIdentifierT>(value));
470 return *this;
471 }
473
475
478 inline long long GetNumberOfChildJobs() const { return m_numberOfChildJobs; }
479 inline bool NumberOfChildJobsHasBeenSet() const { return m_numberOfChildJobsHasBeenSet; }
480 inline void SetNumberOfChildJobs(long long value) {
481 m_numberOfChildJobsHasBeenSet = true;
482 m_numberOfChildJobs = value;
483 }
484 inline CopyJob& WithNumberOfChildJobs(long long value) {
486 return *this;
487 }
489
491
494 inline const Aws::Map<CopyJobState, long long>& GetChildJobsInState() const { return m_childJobsInState; }
495 inline bool ChildJobsInStateHasBeenSet() const { return m_childJobsInStateHasBeenSet; }
496 template <typename ChildJobsInStateT = Aws::Map<CopyJobState, long long>>
497 void SetChildJobsInState(ChildJobsInStateT&& value) {
498 m_childJobsInStateHasBeenSet = true;
499 m_childJobsInState = std::forward<ChildJobsInStateT>(value);
500 }
501 template <typename ChildJobsInStateT = Aws::Map<CopyJobState, long long>>
502 CopyJob& WithChildJobsInState(ChildJobsInStateT&& value) {
503 SetChildJobsInState(std::forward<ChildJobsInStateT>(value));
504 return *this;
505 }
506 inline CopyJob& AddChildJobsInState(CopyJobState key, long long value) {
507 m_childJobsInStateHasBeenSet = true;
508 m_childJobsInState.emplace(key, value);
509 return *this;
510 }
512
514
517 inline const Aws::String& GetResourceName() const { return m_resourceName; }
518 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
519 template <typename ResourceNameT = Aws::String>
520 void SetResourceName(ResourceNameT&& value) {
521 m_resourceNameHasBeenSet = true;
522 m_resourceName = std::forward<ResourceNameT>(value);
523 }
524 template <typename ResourceNameT = Aws::String>
525 CopyJob& WithResourceName(ResourceNameT&& value) {
526 SetResourceName(std::forward<ResourceNameT>(value));
527 return *this;
528 }
530
532
541 inline const Aws::String& GetMessageCategory() const { return m_messageCategory; }
542 inline bool MessageCategoryHasBeenSet() const { return m_messageCategoryHasBeenSet; }
543 template <typename MessageCategoryT = Aws::String>
544 void SetMessageCategory(MessageCategoryT&& value) {
545 m_messageCategoryHasBeenSet = true;
546 m_messageCategory = std::forward<MessageCategoryT>(value);
547 }
548 template <typename MessageCategoryT = Aws::String>
549 CopyJob& WithMessageCategory(MessageCategoryT&& value) {
550 SetMessageCategory(std::forward<MessageCategoryT>(value));
551 return *this;
552 }
554 private:
555 Aws::String m_accountId;
556
557 Aws::String m_copyJobId;
558
559 Aws::String m_sourceBackupVaultArn;
560
561 Aws::String m_sourceRecoveryPointArn;
562
563 Aws::String m_destinationBackupVaultArn;
564
565 Aws::String m_destinationVaultType;
566
567 Aws::String m_destinationVaultLockState;
568
569 Aws::String m_destinationRecoveryPointArn;
570
571 Aws::String m_destinationEncryptionKeyArn;
572
573 Lifecycle m_destinationRecoveryPointLifecycle;
574
575 Aws::String m_resourceArn;
576
577 Aws::Utils::DateTime m_creationDate{};
578
579 Aws::Utils::DateTime m_completionDate{};
580
582
583 Aws::String m_statusMessage;
584
585 long long m_backupSizeInBytes{0};
586
587 Aws::String m_iamRoleArn;
588
589 RecoveryPointCreator m_createdBy;
590
591 Aws::String m_createdByBackupJobId;
592
593 Aws::String m_resourceType;
594
595 Aws::String m_parentJobId;
596
597 bool m_isParent{false};
598
599 Aws::String m_compositeMemberIdentifier;
600
601 long long m_numberOfChildJobs{0};
602
603 Aws::Map<CopyJobState, long long> m_childJobsInState;
604
605 Aws::String m_resourceName;
606
607 Aws::String m_messageCategory;
608 bool m_accountIdHasBeenSet = false;
609 bool m_copyJobIdHasBeenSet = false;
610 bool m_sourceBackupVaultArnHasBeenSet = false;
611 bool m_sourceRecoveryPointArnHasBeenSet = false;
612 bool m_destinationBackupVaultArnHasBeenSet = false;
613 bool m_destinationVaultTypeHasBeenSet = false;
614 bool m_destinationVaultLockStateHasBeenSet = false;
615 bool m_destinationRecoveryPointArnHasBeenSet = false;
616 bool m_destinationEncryptionKeyArnHasBeenSet = false;
617 bool m_destinationRecoveryPointLifecycleHasBeenSet = false;
618 bool m_resourceArnHasBeenSet = false;
619 bool m_creationDateHasBeenSet = false;
620 bool m_completionDateHasBeenSet = false;
621 bool m_stateHasBeenSet = false;
622 bool m_statusMessageHasBeenSet = false;
623 bool m_backupSizeInBytesHasBeenSet = false;
624 bool m_iamRoleArnHasBeenSet = false;
625 bool m_createdByHasBeenSet = false;
626 bool m_createdByBackupJobIdHasBeenSet = false;
627 bool m_resourceTypeHasBeenSet = false;
628 bool m_parentJobIdHasBeenSet = false;
629 bool m_isParentHasBeenSet = false;
630 bool m_compositeMemberIdentifierHasBeenSet = false;
631 bool m_numberOfChildJobsHasBeenSet = false;
632 bool m_childJobsInStateHasBeenSet = false;
633 bool m_resourceNameHasBeenSet = false;
634 bool m_messageCategoryHasBeenSet = false;
635};
636
637} // namespace Model
638} // namespace Backup
639} // namespace Aws
void SetCreatedByBackupJobId(CreatedByBackupJobIdT &&value)
Definition CopyJob.h:386
void SetDestinationRecoveryPointArn(DestinationRecoveryPointArnT &&value)
Definition CopyJob.h:184
CopyJob & WithBackupSizeInBytes(long long value)
Definition CopyJob.h:337
CopyJob & WithCompletionDate(CompletionDateT &&value)
Definition CopyJob.h:287
void SetIsParent(bool value)
Definition CopyJob.h:442
const Aws::String & GetResourceType() const
Definition CopyJob.h:403
const Aws::Utils::DateTime & GetCreationDate() const
Definition CopyJob.h:258
void SetMessageCategory(MessageCategoryT &&value)
Definition CopyJob.h:544
const Aws::String & GetIamRoleArn() const
Definition CopyJob.h:348
void SetResourceArn(ResourceArnT &&value)
Definition CopyJob.h:240
void SetCreatedBy(CreatedByT &&value)
Definition CopyJob.h:367
bool CopyJobIdHasBeenSet() const
Definition CopyJob.h:62
const Lifecycle & GetDestinationRecoveryPointLifecycle() const
Definition CopyJob.h:217
void SetSourceRecoveryPointArn(SourceRecoveryPointArnT &&value)
Definition CopyJob.h:104
CopyJob & WithDestinationBackupVaultArn(DestinationBackupVaultArnT &&value)
Definition CopyJob.h:129
AWS_BACKUP_API CopyJob & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceArnHasBeenSet() const
Definition CopyJob.h:238
void SetDestinationEncryptionKeyArn(DestinationEncryptionKeyArnT &&value)
Definition CopyJob.h:204
void SetDestinationVaultLockState(DestinationVaultLockStateT &&value)
Definition CopyJob.h:165
bool NumberOfChildJobsHasBeenSet() const
Definition CopyJob.h:479
CopyJob & WithResourceName(ResourceNameT &&value)
Definition CopyJob.h:525
void SetResourceType(ResourceTypeT &&value)
Definition CopyJob.h:406
bool ChildJobsInStateHasBeenSet() const
Definition CopyJob.h:495
const Aws::String & GetCompositeMemberIdentifier() const
Definition CopyJob.h:460
bool SourceRecoveryPointArnHasBeenSet() const
Definition CopyJob.h:102
void SetCompositeMemberIdentifier(CompositeMemberIdentifierT &&value)
Definition CopyJob.h:463
bool DestinationVaultLockStateHasBeenSet() const
Definition CopyJob.h:163
void SetCompletionDate(CompletionDateT &&value)
Definition CopyJob.h:282
bool CreationDateHasBeenSet() const
Definition CopyJob.h:259
bool ResourceTypeHasBeenSet() const
Definition CopyJob.h:404
CopyJob & WithSourceBackupVaultArn(SourceBackupVaultArnT &&value)
Definition CopyJob.h:90
bool IsParentHasBeenSet() const
Definition CopyJob.h:441
CopyJob & AddChildJobsInState(CopyJobState key, long long value)
Definition CopyJob.h:506
CopyJob & WithDestinationVaultType(DestinationVaultTypeT &&value)
Definition CopyJob.h:150
bool DestinationEncryptionKeyArnHasBeenSet() const
Definition CopyJob.h:202
CopyJobState GetState() const
Definition CopyJob.h:297
const Aws::Map< CopyJobState, long long > & GetChildJobsInState() const
Definition CopyJob.h:494
CopyJob & WithIsParent(bool value)
Definition CopyJob.h:446
void SetBackupSizeInBytes(long long value)
Definition CopyJob.h:333
CopyJob & WithDestinationRecoveryPointLifecycle(DestinationRecoveryPointLifecycleT &&value)
Definition CopyJob.h:225
AWS_BACKUP_API CopyJob()=default
CopyJob & WithIamRoleArn(IamRoleArnT &&value)
Definition CopyJob.h:356
long long GetNumberOfChildJobs() const
Definition CopyJob.h:478
CopyJob & WithStatusMessage(StatusMessageT &&value)
Definition CopyJob.h:321
bool CompositeMemberIdentifierHasBeenSet() const
Definition CopyJob.h:461
CopyJob & WithState(CopyJobState value)
Definition CopyJob.h:303
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResourceArn() const
Definition CopyJob.h:237
const Aws::String & GetDestinationRecoveryPointArn() const
Definition CopyJob.h:181
const RecoveryPointCreator & GetCreatedBy() const
Definition CopyJob.h:364
bool DestinationBackupVaultArnHasBeenSet() const
Definition CopyJob.h:122
long long GetBackupSizeInBytes() const
Definition CopyJob.h:331
const Aws::String & GetDestinationVaultType() const
Definition CopyJob.h:142
const Aws::String & GetCopyJobId() const
Definition CopyJob.h:61
void SetChildJobsInState(ChildJobsInStateT &&value)
Definition CopyJob.h:497
void SetStatusMessage(StatusMessageT &&value)
Definition CopyJob.h:316
const Aws::String & GetCreatedByBackupJobId() const
Definition CopyJob.h:383
void SetParentJobId(ParentJobIdT &&value)
Definition CopyJob.h:425
const Aws::String & GetDestinationVaultLockState() const
Definition CopyJob.h:162
void SetCopyJobId(CopyJobIdT &&value)
Definition CopyJob.h:64
CopyJob & WithDestinationRecoveryPointArn(DestinationRecoveryPointArnT &&value)
Definition CopyJob.h:189
void SetNumberOfChildJobs(long long value)
Definition CopyJob.h:480
void SetDestinationVaultType(DestinationVaultTypeT &&value)
Definition CopyJob.h:145
bool DestinationRecoveryPointLifecycleHasBeenSet() const
Definition CopyJob.h:218
bool ResourceNameHasBeenSet() const
Definition CopyJob.h:518
CopyJob & WithResourceArn(ResourceArnT &&value)
Definition CopyJob.h:245
void SetSourceBackupVaultArn(SourceBackupVaultArnT &&value)
Definition CopyJob.h:85
bool StatusMessageHasBeenSet() const
Definition CopyJob.h:314
const Aws::String & GetMessageCategory() const
Definition CopyJob.h:541
void SetDestinationBackupVaultArn(DestinationBackupVaultArnT &&value)
Definition CopyJob.h:124
bool CreatedByBackupJobIdHasBeenSet() const
Definition CopyJob.h:384
const Aws::String & GetSourceRecoveryPointArn() const
Definition CopyJob.h:101
bool AccountIdHasBeenSet() const
Definition CopyJob.h:44
const Aws::String & GetStatusMessage() const
Definition CopyJob.h:313
bool CreatedByHasBeenSet() const
Definition CopyJob.h:365
bool ParentJobIdHasBeenSet() const
Definition CopyJob.h:423
CopyJob & WithDestinationEncryptionKeyArn(DestinationEncryptionKeyArnT &&value)
Definition CopyJob.h:209
void SetState(CopyJobState value)
Definition CopyJob.h:299
CopyJob & WithResourceType(ResourceTypeT &&value)
Definition CopyJob.h:411
void SetDestinationRecoveryPointLifecycle(DestinationRecoveryPointLifecycleT &&value)
Definition CopyJob.h:220
CopyJob & WithMessageCategory(MessageCategoryT &&value)
Definition CopyJob.h:549
bool MessageCategoryHasBeenSet() const
Definition CopyJob.h:542
CopyJob & WithChildJobsInState(ChildJobsInStateT &&value)
Definition CopyJob.h:502
void SetAccountId(AccountIdT &&value)
Definition CopyJob.h:46
CopyJob & WithCreatedByBackupJobId(CreatedByBackupJobIdT &&value)
Definition CopyJob.h:391
const Aws::String & GetSourceBackupVaultArn() const
Definition CopyJob.h:82
CopyJob & WithSourceRecoveryPointArn(SourceRecoveryPointArnT &&value)
Definition CopyJob.h:109
void SetCreationDate(CreationDateT &&value)
Definition CopyJob.h:261
const Aws::String & GetDestinationBackupVaultArn() const
Definition CopyJob.h:121
void SetResourceName(ResourceNameT &&value)
Definition CopyJob.h:520
AWS_BACKUP_API CopyJob(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCompletionDate() const
Definition CopyJob.h:279
void SetIamRoleArn(IamRoleArnT &&value)
Definition CopyJob.h:351
const Aws::String & GetParentJobId() const
Definition CopyJob.h:422
bool StateHasBeenSet() const
Definition CopyJob.h:298
bool DestinationRecoveryPointArnHasBeenSet() const
Definition CopyJob.h:182
const Aws::String & GetDestinationEncryptionKeyArn() const
Definition CopyJob.h:201
CopyJob & WithCreationDate(CreationDateT &&value)
Definition CopyJob.h:266
const Aws::String & GetAccountId() const
Definition CopyJob.h:43
CopyJob & WithCompositeMemberIdentifier(CompositeMemberIdentifierT &&value)
Definition CopyJob.h:468
CopyJob & WithAccountId(AccountIdT &&value)
Definition CopyJob.h:51
bool BackupSizeInBytesHasBeenSet() const
Definition CopyJob.h:332
bool CompletionDateHasBeenSet() const
Definition CopyJob.h:280
CopyJob & WithParentJobId(ParentJobIdT &&value)
Definition CopyJob.h:430
CopyJob & WithCreatedBy(CreatedByT &&value)
Definition CopyJob.h:372
bool IamRoleArnHasBeenSet() const
Definition CopyJob.h:349
CopyJob & WithNumberOfChildJobs(long long value)
Definition CopyJob.h:484
bool SourceBackupVaultArnHasBeenSet() const
Definition CopyJob.h:83
CopyJob & WithCopyJobId(CopyJobIdT &&value)
Definition CopyJob.h:69
bool DestinationVaultTypeHasBeenSet() const
Definition CopyJob.h:143
const Aws::String & GetResourceName() const
Definition CopyJob.h:517
CopyJob & WithDestinationVaultLockState(DestinationVaultLockStateT &&value)
Definition CopyJob.h:170
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