/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains detailed information about a copy job.See Also:
AWS API
* Reference
The account ID that owns the copy job.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The account ID that owns the copy job.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The account ID that owns the copy job.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The account ID that owns the copy job.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The account ID that owns the copy job.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The account ID that owns the copy job.
*/ inline CopyJob& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The account ID that owns the copy job.
*/ inline CopyJob& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The account ID that owns the copy job.
*/ inline CopyJob& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *Uniquely identifies a copy job.
*/ inline const Aws::String& GetCopyJobId() const{ return m_copyJobId; } /** *Uniquely identifies a copy job.
*/ inline bool CopyJobIdHasBeenSet() const { return m_copyJobIdHasBeenSet; } /** *Uniquely identifies a copy job.
*/ inline void SetCopyJobId(const Aws::String& value) { m_copyJobIdHasBeenSet = true; m_copyJobId = value; } /** *Uniquely identifies a copy job.
*/ inline void SetCopyJobId(Aws::String&& value) { m_copyJobIdHasBeenSet = true; m_copyJobId = std::move(value); } /** *Uniquely identifies a copy job.
*/ inline void SetCopyJobId(const char* value) { m_copyJobIdHasBeenSet = true; m_copyJobId.assign(value); } /** *Uniquely identifies a copy job.
*/ inline CopyJob& WithCopyJobId(const Aws::String& value) { SetCopyJobId(value); return *this;} /** *Uniquely identifies a copy job.
*/ inline CopyJob& WithCopyJobId(Aws::String&& value) { SetCopyJobId(std::move(value)); return *this;} /** *Uniquely identifies a copy job.
*/ inline CopyJob& WithCopyJobId(const char* value) { SetCopyJobId(value); return *this;} /** *An Amazon Resource Name (ARN) that uniquely identifies a source copy vault;
* for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An Amazon Resource Name (ARN) that uniquely identifies a source copy vault;
* for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An Amazon Resource Name (ARN) that uniquely identifies a source copy vault;
* for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An Amazon Resource Name (ARN) that uniquely identifies a source copy vault;
* for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An Amazon Resource Name (ARN) that uniquely identifies a source copy vault;
* for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An Amazon Resource Name (ARN) that uniquely identifies a source copy vault;
* for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An Amazon Resource Name (ARN) that uniquely identifies a source copy vault;
* for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An Amazon Resource Name (ARN) that uniquely identifies a source copy vault;
* for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An ARN that uniquely identifies a source recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An ARN that uniquely identifies a source recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An ARN that uniquely identifies a source recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An ARN that uniquely identifies a source recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An ARN that uniquely identifies a source recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An ARN that uniquely identifies a source recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An ARN that uniquely identifies a source recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An ARN that uniquely identifies a source recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An Amazon Resource Name (ARN) that uniquely identifies a destination copy
* vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An Amazon Resource Name (ARN) that uniquely identifies a destination copy
* vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An Amazon Resource Name (ARN) that uniquely identifies a destination copy
* vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An Amazon Resource Name (ARN) that uniquely identifies a destination copy
* vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An Amazon Resource Name (ARN) that uniquely identifies a destination copy
* vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An Amazon Resource Name (ARN) that uniquely identifies a destination copy
* vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An Amazon Resource Name (ARN) that uniquely identifies a destination copy
* vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An Amazon Resource Name (ARN) that uniquely identifies a destination copy
* vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An ARN that uniquely identifies a destination recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An ARN that uniquely identifies a destination recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An ARN that uniquely identifies a destination recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An ARN that uniquely identifies a destination recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An ARN that uniquely identifies a destination recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An ARN that uniquely identifies a destination recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An ARN that uniquely identifies a destination recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An ARN that uniquely identifies a destination recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
The AWS resource to be copied; for example, an Amazon Elastic Block Store * (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *The AWS resource to be copied; for example, an Amazon Elastic Block Store * (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *The AWS resource to be copied; for example, an Amazon Elastic Block Store * (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *The AWS resource to be copied; for example, an Amazon Elastic Block Store * (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *The AWS resource to be copied; for example, an Amazon Elastic Block Store * (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *The AWS resource to be copied; for example, an Amazon Elastic Block Store * (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline CopyJob& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *The AWS resource to be copied; for example, an Amazon Elastic Block Store * (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline CopyJob& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *The AWS resource to be copied; for example, an Amazon Elastic Block Store * (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline CopyJob& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *The date and time a copy job is created, in Unix format and Coordinated
* Universal Time (UTC). The value of CreationDate is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.
The date and time a copy job is created, in Unix format and Coordinated
* Universal Time (UTC). The value of CreationDate is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.
The date and time a copy job is created, in Unix format and Coordinated
* Universal Time (UTC). The value of CreationDate is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.
The date and time a copy job is created, in Unix format and Coordinated
* Universal Time (UTC). The value of CreationDate is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.
The date and time a copy job is created, in Unix format and Coordinated
* Universal Time (UTC). The value of CreationDate is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.
The date and time a copy job is created, in Unix format and Coordinated
* Universal Time (UTC). The value of CreationDate is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.
The date and time a copy job is completed, in Unix format and Coordinated
* Universal Time (UTC). The value of CompletionDate is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.
The date and time a copy job is completed, in Unix format and Coordinated
* Universal Time (UTC). The value of CompletionDate is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.
The date and time a copy job is completed, in Unix format and Coordinated
* Universal Time (UTC). The value of CompletionDate is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.
The date and time a copy job is completed, in Unix format and Coordinated
* Universal Time (UTC). The value of CompletionDate is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.
The date and time a copy job is completed, in Unix format and Coordinated
* Universal Time (UTC). The value of CompletionDate is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.
The date and time a copy job is completed, in Unix format and Coordinated
* Universal Time (UTC). The value of CompletionDate is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.
The current state of a copy job.
*/ inline const CopyJobState& GetState() const{ return m_state; } /** *The current state of a copy job.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The current state of a copy job.
*/ inline void SetState(const CopyJobState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The current state of a copy job.
*/ inline void SetState(CopyJobState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The current state of a copy job.
*/ inline CopyJob& WithState(const CopyJobState& value) { SetState(value); return *this;} /** *The current state of a copy job.
*/ inline CopyJob& WithState(CopyJobState&& value) { SetState(std::move(value)); return *this;} /** *A detailed message explaining the status of the job to copy a resource.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *A detailed message explaining the status of the job to copy a resource.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *A detailed message explaining the status of the job to copy a resource.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *A detailed message explaining the status of the job to copy a resource.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *A detailed message explaining the status of the job to copy a resource.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *A detailed message explaining the status of the job to copy a resource.
*/ inline CopyJob& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *A detailed message explaining the status of the job to copy a resource.
*/ inline CopyJob& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *A detailed message explaining the status of the job to copy a resource.
*/ inline CopyJob& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *The size, in bytes, of a copy job.
*/ inline long long GetBackupSizeInBytes() const{ return m_backupSizeInBytes; } /** *The size, in bytes, of a copy job.
*/ inline bool BackupSizeInBytesHasBeenSet() const { return m_backupSizeInBytesHasBeenSet; } /** *The size, in bytes, of a copy job.
*/ inline void SetBackupSizeInBytes(long long value) { m_backupSizeInBytesHasBeenSet = true; m_backupSizeInBytes = value; } /** *The size, in bytes, of a copy job.
*/ inline CopyJob& WithBackupSizeInBytes(long long value) { SetBackupSizeInBytes(value); return *this;} /** *Specifies the IAM role ARN used to copy the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
Specifies the IAM role ARN used to copy the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
Specifies the IAM role ARN used to copy the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
Specifies the IAM role ARN used to copy the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
Specifies the IAM role ARN used to copy the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
Specifies the IAM role ARN used to copy the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
Specifies the IAM role ARN used to copy the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
Specifies the IAM role ARN used to copy the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
The type of AWS resource to be copied; for example, an Amazon Elastic Block * Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline const Aws::String& GetResourceType() const{ return m_resourceType; } /** *The type of AWS resource to be copied; for example, an Amazon Elastic Block * Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The type of AWS resource to be copied; for example, an Amazon Elastic Block * Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The type of AWS resource to be copied; for example, an Amazon Elastic Block * Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The type of AWS resource to be copied; for example, an Amazon Elastic Block * Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } /** *The type of AWS resource to be copied; for example, an Amazon Elastic Block * Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline CopyJob& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** *The type of AWS resource to be copied; for example, an Amazon Elastic Block * Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline CopyJob& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** *The type of AWS resource to be copied; for example, an Amazon Elastic Block * Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) * database.
*/ inline CopyJob& WithResourceType(const char* value) { SetResourceType(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet; Aws::String m_copyJobId; bool m_copyJobIdHasBeenSet; Aws::String m_sourceBackupVaultArn; bool m_sourceBackupVaultArnHasBeenSet; Aws::String m_sourceRecoveryPointArn; bool m_sourceRecoveryPointArnHasBeenSet; Aws::String m_destinationBackupVaultArn; bool m_destinationBackupVaultArnHasBeenSet; Aws::String m_destinationRecoveryPointArn; bool m_destinationRecoveryPointArnHasBeenSet; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet; Aws::Utils::DateTime m_completionDate; bool m_completionDateHasBeenSet; CopyJobState m_state; bool m_stateHasBeenSet; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet; long long m_backupSizeInBytes; bool m_backupSizeInBytesHasBeenSet; Aws::String m_iamRoleArn; bool m_iamRoleArnHasBeenSet; RecoveryPointCreator m_createdBy; bool m_createdByHasBeenSet; Aws::String m_resourceType; bool m_resourceTypeHasBeenSet; }; } // namespace Model } // namespace Backup } // namespace Aws