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>
45 template <
typename AccountIdT = Aws::String>
47 m_accountIdHasBeenSet =
true;
48 m_accountId = std::forward<AccountIdT>(value);
50 template <
typename AccountIdT = Aws::String>
63 template <
typename CopyJobIdT = Aws::String>
65 m_copyJobIdHasBeenSet =
true;
66 m_copyJobId = std::forward<CopyJobIdT>(value);
68 template <
typename CopyJobIdT = Aws::String>
84 template <
typename SourceBackupVaultArnT = Aws::String>
86 m_sourceBackupVaultArnHasBeenSet =
true;
87 m_sourceBackupVaultArn = std::forward<SourceBackupVaultArnT>(value);
89 template <
typename SourceBackupVaultArnT = Aws::String>
103 template <
typename SourceRecoveryPo
intArnT = Aws::String>
105 m_sourceRecoveryPointArnHasBeenSet =
true;
106 m_sourceRecoveryPointArn = std::forward<SourceRecoveryPointArnT>(value);
108 template <
typename SourceRecoveryPo
intArnT = Aws::String>
123 template <
typename DestinationBackupVaultArnT = Aws::String>
125 m_destinationBackupVaultArnHasBeenSet =
true;
126 m_destinationBackupVaultArn = std::forward<DestinationBackupVaultArnT>(value);
128 template <
typename DestinationBackupVaultArnT = Aws::String>
144 template <
typename DestinationVaultTypeT = Aws::String>
146 m_destinationVaultTypeHasBeenSet =
true;
147 m_destinationVaultType = std::forward<DestinationVaultTypeT>(value);
149 template <
typename DestinationVaultTypeT = Aws::String>
164 template <
typename DestinationVaultLockStateT = Aws::String>
166 m_destinationVaultLockStateHasBeenSet =
true;
167 m_destinationVaultLockState = std::forward<DestinationVaultLockStateT>(value);
169 template <
typename DestinationVaultLockStateT = Aws::String>
183 template <
typename DestinationRecoveryPo
intArnT = Aws::String>
185 m_destinationRecoveryPointArnHasBeenSet =
true;
186 m_destinationRecoveryPointArn = std::forward<DestinationRecoveryPointArnT>(value);
188 template <
typename DestinationRecoveryPo
intArnT = Aws::String>
203 template <
typename DestinationEncryptionKeyArnT = Aws::String>
205 m_destinationEncryptionKeyArnHasBeenSet =
true;
206 m_destinationEncryptionKeyArn = std::forward<DestinationEncryptionKeyArnT>(value);
208 template <
typename DestinationEncryptionKeyArnT = Aws::String>
219 template <
typename DestinationRecoveryPo
intLifecycleT = Lifecycle>
221 m_destinationRecoveryPointLifecycleHasBeenSet =
true;
222 m_destinationRecoveryPointLifecycle = std::forward<DestinationRecoveryPointLifecycleT>(value);
224 template <
typename DestinationRecoveryPo
intLifecycleT = Lifecycle>
239 template <
typename ResourceArnT = Aws::String>
241 m_resourceArnHasBeenSet =
true;
242 m_resourceArn = std::forward<ResourceArnT>(value);
244 template <
typename ResourceArnT = Aws::String>
260 template <
typename CreationDateT = Aws::Utils::DateTime>
262 m_creationDateHasBeenSet =
true;
263 m_creationDate = std::forward<CreationDateT>(value);
265 template <
typename CreationDateT = Aws::Utils::DateTime>
281 template <
typename CompletionDateT = Aws::Utils::DateTime>
283 m_completionDateHasBeenSet =
true;
284 m_completionDate = std::forward<CompletionDateT>(value);
286 template <
typename CompletionDateT = Aws::Utils::DateTime>
300 m_stateHasBeenSet =
true;
315 template <
typename StatusMessageT = Aws::String>
317 m_statusMessageHasBeenSet =
true;
318 m_statusMessage = std::forward<StatusMessageT>(value);
320 template <
typename StatusMessageT = Aws::String>
334 m_backupSizeInBytesHasBeenSet =
true;
335 m_backupSizeInBytes = value;
350 template <
typename IamRoleArnT = Aws::String>
352 m_iamRoleArnHasBeenSet =
true;
353 m_iamRoleArn = std::forward<IamRoleArnT>(value);
355 template <
typename IamRoleArnT = Aws::String>
366 template <
typename CreatedByT = RecoveryPo
intCreator>
368 m_createdByHasBeenSet =
true;
369 m_createdBy = std::forward<CreatedByT>(value);
371 template <
typename CreatedByT = RecoveryPo
intCreator>
385 template <
typename CreatedByBackupJobIdT = Aws::String>
387 m_createdByBackupJobIdHasBeenSet =
true;
388 m_createdByBackupJobId = std::forward<CreatedByBackupJobIdT>(value);
390 template <
typename CreatedByBackupJobIdT = Aws::String>
405 template <
typename ResourceTypeT = Aws::String>
407 m_resourceTypeHasBeenSet =
true;
408 m_resourceType = std::forward<ResourceTypeT>(value);
410 template <
typename ResourceTypeT = Aws::String>
424 template <
typename ParentJobIdT = Aws::String>
426 m_parentJobIdHasBeenSet =
true;
427 m_parentJobId = std::forward<ParentJobIdT>(value);
429 template <
typename ParentJobIdT = Aws::String>
443 m_isParentHasBeenSet =
true;
462 template <
typename CompositeMemberIdentifierT = Aws::String>
464 m_compositeMemberIdentifierHasBeenSet =
true;
465 m_compositeMemberIdentifier = std::forward<CompositeMemberIdentifierT>(value);
467 template <
typename CompositeMemberIdentifierT = Aws::String>
481 m_numberOfChildJobsHasBeenSet =
true;
482 m_numberOfChildJobs = value;
496 template <
typename ChildJobsInStateT = Aws::Map<CopyJobState,
long long>>
498 m_childJobsInStateHasBeenSet =
true;
499 m_childJobsInState = std::forward<ChildJobsInStateT>(value);
501 template <
typename ChildJobsInStateT = Aws::Map<CopyJobState,
long long>>
507 m_childJobsInStateHasBeenSet =
true;
508 m_childJobsInState.emplace(key, value);
519 template <
typename ResourceNameT = Aws::String>
521 m_resourceNameHasBeenSet =
true;
522 m_resourceName = std::forward<ResourceNameT>(value);
524 template <
typename ResourceNameT = Aws::String>
543 template <
typename MessageCategoryT = Aws::String>
545 m_messageCategoryHasBeenSet =
true;
546 m_messageCategory = std::forward<MessageCategoryT>(value);
548 template <
typename MessageCategoryT = Aws::String>
573 Lifecycle m_destinationRecoveryPointLifecycle;
585 long long m_backupSizeInBytes{0};
589 RecoveryPointCreator m_createdBy;
597 bool m_isParent{
false};
601 long long m_numberOfChildJobs{0};
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;
void SetCreatedByBackupJobId(CreatedByBackupJobIdT &&value)
void SetDestinationRecoveryPointArn(DestinationRecoveryPointArnT &&value)
CopyJob & WithBackupSizeInBytes(long long value)
CopyJob & WithCompletionDate(CompletionDateT &&value)
void SetIsParent(bool value)
const Aws::String & GetResourceType() const
const Aws::Utils::DateTime & GetCreationDate() const
void SetMessageCategory(MessageCategoryT &&value)
const Aws::String & GetIamRoleArn() const
void SetResourceArn(ResourceArnT &&value)
void SetCreatedBy(CreatedByT &&value)
bool CopyJobIdHasBeenSet() const
const Lifecycle & GetDestinationRecoveryPointLifecycle() const
void SetSourceRecoveryPointArn(SourceRecoveryPointArnT &&value)
CopyJob & WithDestinationBackupVaultArn(DestinationBackupVaultArnT &&value)
AWS_BACKUP_API CopyJob & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceArnHasBeenSet() const
void SetDestinationEncryptionKeyArn(DestinationEncryptionKeyArnT &&value)
void SetDestinationVaultLockState(DestinationVaultLockStateT &&value)
bool NumberOfChildJobsHasBeenSet() const
CopyJob & WithResourceName(ResourceNameT &&value)
void SetResourceType(ResourceTypeT &&value)
bool ChildJobsInStateHasBeenSet() const
const Aws::String & GetCompositeMemberIdentifier() const
bool SourceRecoveryPointArnHasBeenSet() const
void SetCompositeMemberIdentifier(CompositeMemberIdentifierT &&value)
bool DestinationVaultLockStateHasBeenSet() const
void SetCompletionDate(CompletionDateT &&value)
bool CreationDateHasBeenSet() const
bool ResourceTypeHasBeenSet() const
CopyJob & WithSourceBackupVaultArn(SourceBackupVaultArnT &&value)
bool IsParentHasBeenSet() const
CopyJob & AddChildJobsInState(CopyJobState key, long long value)
CopyJob & WithDestinationVaultType(DestinationVaultTypeT &&value)
bool DestinationEncryptionKeyArnHasBeenSet() const
CopyJobState GetState() const
const Aws::Map< CopyJobState, long long > & GetChildJobsInState() const
CopyJob & WithIsParent(bool value)
void SetBackupSizeInBytes(long long value)
CopyJob & WithDestinationRecoveryPointLifecycle(DestinationRecoveryPointLifecycleT &&value)
AWS_BACKUP_API CopyJob()=default
CopyJob & WithIamRoleArn(IamRoleArnT &&value)
long long GetNumberOfChildJobs() const
CopyJob & WithStatusMessage(StatusMessageT &&value)
bool CompositeMemberIdentifierHasBeenSet() const
CopyJob & WithState(CopyJobState value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResourceArn() const
const Aws::String & GetDestinationRecoveryPointArn() const
const RecoveryPointCreator & GetCreatedBy() const
bool DestinationBackupVaultArnHasBeenSet() const
long long GetBackupSizeInBytes() const
const Aws::String & GetDestinationVaultType() const
const Aws::String & GetCopyJobId() const
void SetChildJobsInState(ChildJobsInStateT &&value)
void SetStatusMessage(StatusMessageT &&value)
const Aws::String & GetCreatedByBackupJobId() const
void SetParentJobId(ParentJobIdT &&value)
const Aws::String & GetDestinationVaultLockState() const
void SetCopyJobId(CopyJobIdT &&value)
CopyJob & WithDestinationRecoveryPointArn(DestinationRecoveryPointArnT &&value)
void SetNumberOfChildJobs(long long value)
void SetDestinationVaultType(DestinationVaultTypeT &&value)
bool DestinationRecoveryPointLifecycleHasBeenSet() const
bool ResourceNameHasBeenSet() const
CopyJob & WithResourceArn(ResourceArnT &&value)
void SetSourceBackupVaultArn(SourceBackupVaultArnT &&value)
bool StatusMessageHasBeenSet() const
const Aws::String & GetMessageCategory() const
void SetDestinationBackupVaultArn(DestinationBackupVaultArnT &&value)
bool CreatedByBackupJobIdHasBeenSet() const
const Aws::String & GetSourceRecoveryPointArn() const
bool AccountIdHasBeenSet() const
const Aws::String & GetStatusMessage() const
bool CreatedByHasBeenSet() const
bool ParentJobIdHasBeenSet() const
CopyJob & WithDestinationEncryptionKeyArn(DestinationEncryptionKeyArnT &&value)
void SetState(CopyJobState value)
CopyJob & WithResourceType(ResourceTypeT &&value)
void SetDestinationRecoveryPointLifecycle(DestinationRecoveryPointLifecycleT &&value)
CopyJob & WithMessageCategory(MessageCategoryT &&value)
bool MessageCategoryHasBeenSet() const
CopyJob & WithChildJobsInState(ChildJobsInStateT &&value)
void SetAccountId(AccountIdT &&value)
CopyJob & WithCreatedByBackupJobId(CreatedByBackupJobIdT &&value)
const Aws::String & GetSourceBackupVaultArn() const
CopyJob & WithSourceRecoveryPointArn(SourceRecoveryPointArnT &&value)
void SetCreationDate(CreationDateT &&value)
const Aws::String & GetDestinationBackupVaultArn() const
void SetResourceName(ResourceNameT &&value)
AWS_BACKUP_API CopyJob(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCompletionDate() const
void SetIamRoleArn(IamRoleArnT &&value)
const Aws::String & GetParentJobId() const
bool StateHasBeenSet() const
bool DestinationRecoveryPointArnHasBeenSet() const
const Aws::String & GetDestinationEncryptionKeyArn() const
CopyJob & WithCreationDate(CreationDateT &&value)
const Aws::String & GetAccountId() const
CopyJob & WithCompositeMemberIdentifier(CompositeMemberIdentifierT &&value)
CopyJob & WithAccountId(AccountIdT &&value)
bool BackupSizeInBytesHasBeenSet() const
bool CompletionDateHasBeenSet() const
CopyJob & WithParentJobId(ParentJobIdT &&value)
CopyJob & WithCreatedBy(CreatedByT &&value)
bool IamRoleArnHasBeenSet() const
CopyJob & WithNumberOfChildJobs(long long value)
bool SourceBackupVaultArnHasBeenSet() const
CopyJob & WithCopyJobId(CopyJobIdT &&value)
bool DestinationVaultTypeHasBeenSet() const
const Aws::String & GetResourceName() const
CopyJob & WithDestinationVaultLockState(DestinationVaultLockStateT &&value)
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