/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Backup { namespace Model { class DescribeBackupJobResult { public: AWS_BACKUP_API DescribeBackupJobResult(); AWS_BACKUP_API DescribeBackupJobResult(const Aws::AmazonWebServiceResult& result); AWS_BACKUP_API DescribeBackupJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Returns the account ID that owns the backup job.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

Returns the account ID that owns the backup job.

*/ inline void SetAccountId(const Aws::String& value) { m_accountId = value; } /** *

Returns the account ID that owns the backup job.

*/ inline void SetAccountId(Aws::String&& value) { m_accountId = std::move(value); } /** *

Returns the account ID that owns the backup job.

*/ inline void SetAccountId(const char* value) { m_accountId.assign(value); } /** *

Returns the account ID that owns the backup job.

*/ inline DescribeBackupJobResult& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

Returns the account ID that owns the backup job.

*/ inline DescribeBackupJobResult& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

Returns the account ID that owns the backup job.

*/ inline DescribeBackupJobResult& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline const Aws::String& GetBackupJobId() const{ return m_backupJobId; } /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline void SetBackupJobId(const Aws::String& value) { m_backupJobId = value; } /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline void SetBackupJobId(Aws::String&& value) { m_backupJobId = std::move(value); } /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline void SetBackupJobId(const char* value) { m_backupJobId.assign(value); } /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline DescribeBackupJobResult& WithBackupJobId(const Aws::String& value) { SetBackupJobId(value); return *this;} /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline DescribeBackupJobResult& WithBackupJobId(Aws::String&& value) { SetBackupJobId(std::move(value)); return *this;} /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline DescribeBackupJobResult& WithBackupJobId(const char* value) { SetBackupJobId(value); return *this;} /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * Amazon Web Services Region where they are created. They consist of lowercase * letters, numbers, and hyphens.

*/ inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; } /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * Amazon Web Services Region where they are created. They consist of lowercase * letters, numbers, and hyphens.

*/ inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultName = value; } /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * Amazon Web Services Region where they are created. They consist of lowercase * letters, numbers, and hyphens.

*/ inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultName = std::move(value); } /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * Amazon Web Services Region where they are created. They consist of lowercase * letters, numbers, and hyphens.

*/ inline void SetBackupVaultName(const char* value) { m_backupVaultName.assign(value); } /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * Amazon Web Services Region where they are created. They consist of lowercase * letters, numbers, and hyphens.

*/ inline DescribeBackupJobResult& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;} /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * Amazon Web Services Region where they are created. They consist of lowercase * letters, numbers, and hyphens.

*/ inline DescribeBackupJobResult& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;} /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * Amazon Web Services Region where they are created. They consist of lowercase * letters, numbers, and hyphens.

*/ inline DescribeBackupJobResult& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;} /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for * example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

*/ inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; } /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for * example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

*/ inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArn = value; } /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for * example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

*/ inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArn = std::move(value); } /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for * example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

*/ inline void SetBackupVaultArn(const char* value) { m_backupVaultArn.assign(value); } /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for * example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

*/ inline DescribeBackupJobResult& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;} /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for * example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

*/ inline DescribeBackupJobResult& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;} /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for * example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

*/ inline DescribeBackupJobResult& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;} /** *

An ARN that uniquely identifies a recovery point; for example, * arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

*/ inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; } /** *

An ARN that uniquely identifies a recovery point; for example, * arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

*/ inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArn = value; } /** *

An ARN that uniquely identifies a recovery point; for example, * arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

*/ inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArn = std::move(value); } /** *

An ARN that uniquely identifies a recovery point; for example, * arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

*/ inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArn.assign(value); } /** *

An ARN that uniquely identifies a recovery point; for example, * arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

*/ inline DescribeBackupJobResult& WithRecoveryPointArn(const Aws::String& value) { SetRecoveryPointArn(value); return *this;} /** *

An ARN that uniquely identifies a recovery point; for example, * arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

*/ inline DescribeBackupJobResult& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;} /** *

An ARN that uniquely identifies a recovery point; for example, * arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

*/ inline DescribeBackupJobResult& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;} /** *

An ARN that uniquely identifies a saved resource. The format of the ARN * depends on the resource type.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

An ARN that uniquely identifies a saved resource. The format of the ARN * depends on the resource type.

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; } /** *

An ARN that uniquely identifies a saved resource. The format of the ARN * depends on the resource type.

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); } /** *

An ARN that uniquely identifies a saved resource. The format of the ARN * depends on the resource type.

*/ inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } /** *

An ARN that uniquely identifies a saved resource. The format of the ARN * depends on the resource type.

*/ inline DescribeBackupJobResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

An ARN that uniquely identifies a saved resource. The format of the ARN * depends on the resource type.

*/ inline DescribeBackupJobResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

An ARN that uniquely identifies a saved resource. The format of the ARN * depends on the resource type.

*/ inline DescribeBackupJobResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *

The date and time that a backup 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.

*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *

The date and time that a backup 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.

*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; } /** *

The date and time that a backup 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.

*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); } /** *

The date and time that a backup 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.

*/ inline DescribeBackupJobResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *

The date and time that a backup 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.

*/ inline DescribeBackupJobResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *

The date and time that a job to create a backup 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.

*/ inline const Aws::Utils::DateTime& GetCompletionDate() const{ return m_completionDate; } /** *

The date and time that a job to create a backup 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.

*/ inline void SetCompletionDate(const Aws::Utils::DateTime& value) { m_completionDate = value; } /** *

The date and time that a job to create a backup 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.

*/ inline void SetCompletionDate(Aws::Utils::DateTime&& value) { m_completionDate = std::move(value); } /** *

The date and time that a job to create a backup 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.

*/ inline DescribeBackupJobResult& WithCompletionDate(const Aws::Utils::DateTime& value) { SetCompletionDate(value); return *this;} /** *

The date and time that a job to create a backup 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.

*/ inline DescribeBackupJobResult& WithCompletionDate(Aws::Utils::DateTime&& value) { SetCompletionDate(std::move(value)); return *this;} /** *

The current state of a resource recovery point.

*/ inline const BackupJobState& GetState() const{ return m_state; } /** *

The current state of a resource recovery point.

*/ inline void SetState(const BackupJobState& value) { m_state = value; } /** *

The current state of a resource recovery point.

*/ inline void SetState(BackupJobState&& value) { m_state = std::move(value); } /** *

The current state of a resource recovery point.

*/ inline DescribeBackupJobResult& WithState(const BackupJobState& value) { SetState(value); return *this;} /** *

The current state of a resource recovery point.

*/ inline DescribeBackupJobResult& WithState(BackupJobState&& value) { SetState(std::move(value)); return *this;} /** *

A detailed message explaining the status of the job to back up a * resource.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

A detailed message explaining the status of the job to back up a * resource.

*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; } /** *

A detailed message explaining the status of the job to back up a * resource.

*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); } /** *

A detailed message explaining the status of the job to back up a * resource.

*/ inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } /** *

A detailed message explaining the status of the job to back up a * resource.

*/ inline DescribeBackupJobResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

A detailed message explaining the status of the job to back up a * resource.

*/ inline DescribeBackupJobResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

A detailed message explaining the status of the job to back up a * resource.

*/ inline DescribeBackupJobResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *

Contains an estimated percentage that is complete of a job at the time the * job status was queried.

*/ inline const Aws::String& GetPercentDone() const{ return m_percentDone; } /** *

Contains an estimated percentage that is complete of a job at the time the * job status was queried.

*/ inline void SetPercentDone(const Aws::String& value) { m_percentDone = value; } /** *

Contains an estimated percentage that is complete of a job at the time the * job status was queried.

*/ inline void SetPercentDone(Aws::String&& value) { m_percentDone = std::move(value); } /** *

Contains an estimated percentage that is complete of a job at the time the * job status was queried.

*/ inline void SetPercentDone(const char* value) { m_percentDone.assign(value); } /** *

Contains an estimated percentage that is complete of a job at the time the * job status was queried.

*/ inline DescribeBackupJobResult& WithPercentDone(const Aws::String& value) { SetPercentDone(value); return *this;} /** *

Contains an estimated percentage that is complete of a job at the time the * job status was queried.

*/ inline DescribeBackupJobResult& WithPercentDone(Aws::String&& value) { SetPercentDone(std::move(value)); return *this;} /** *

Contains an estimated percentage that is complete of a job at the time the * job status was queried.

*/ inline DescribeBackupJobResult& WithPercentDone(const char* value) { SetPercentDone(value); return *this;} /** *

The size, in bytes, of a backup.

*/ inline long long GetBackupSizeInBytes() const{ return m_backupSizeInBytes; } /** *

The size, in bytes, of a backup.

*/ inline void SetBackupSizeInBytes(long long value) { m_backupSizeInBytes = value; } /** *

The size, in bytes, of a backup.

*/ inline DescribeBackupJobResult& WithBackupSizeInBytes(long long value) { SetBackupSizeInBytes(value); return *this;} /** *

Specifies the IAM role ARN used to create the target recovery point; for * example, arn:aws:iam::123456789012:role/S3Access.

*/ inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; } /** *

Specifies the IAM role ARN used to create the target recovery point; for * example, arn:aws:iam::123456789012:role/S3Access.

*/ inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArn = value; } /** *

Specifies the IAM role ARN used to create the target recovery point; for * example, arn:aws:iam::123456789012:role/S3Access.

*/ inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArn = std::move(value); } /** *

Specifies the IAM role ARN used to create the target recovery point; for * example, arn:aws:iam::123456789012:role/S3Access.

*/ inline void SetIamRoleArn(const char* value) { m_iamRoleArn.assign(value); } /** *

Specifies the IAM role ARN used to create the target recovery point; for * example, arn:aws:iam::123456789012:role/S3Access.

*/ inline DescribeBackupJobResult& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} /** *

Specifies the IAM role ARN used to create the target recovery point; for * example, arn:aws:iam::123456789012:role/S3Access.

*/ inline DescribeBackupJobResult& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} /** *

Specifies the IAM role ARN used to create the target recovery point; for * example, arn:aws:iam::123456789012:role/S3Access.

*/ inline DescribeBackupJobResult& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} /** *

Contains identifying information about the creation of a backup job, * including the BackupPlanArn, BackupPlanId, * BackupPlanVersion, and BackupRuleId of the backup plan * that is used to create it.

*/ inline const RecoveryPointCreator& GetCreatedBy() const{ return m_createdBy; } /** *

Contains identifying information about the creation of a backup job, * including the BackupPlanArn, BackupPlanId, * BackupPlanVersion, and BackupRuleId of the backup plan * that is used to create it.

*/ inline void SetCreatedBy(const RecoveryPointCreator& value) { m_createdBy = value; } /** *

Contains identifying information about the creation of a backup job, * including the BackupPlanArn, BackupPlanId, * BackupPlanVersion, and BackupRuleId of the backup plan * that is used to create it.

*/ inline void SetCreatedBy(RecoveryPointCreator&& value) { m_createdBy = std::move(value); } /** *

Contains identifying information about the creation of a backup job, * including the BackupPlanArn, BackupPlanId, * BackupPlanVersion, and BackupRuleId of the backup plan * that is used to create it.

*/ inline DescribeBackupJobResult& WithCreatedBy(const RecoveryPointCreator& value) { SetCreatedBy(value); return *this;} /** *

Contains identifying information about the creation of a backup job, * including the BackupPlanArn, BackupPlanId, * BackupPlanVersion, and BackupRuleId of the backup plan * that is used to create it.

*/ inline DescribeBackupJobResult& WithCreatedBy(RecoveryPointCreator&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The type of Amazon Web Services resource to be backed up; 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 Amazon Web Services resource to be backed up; 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_resourceType = value; } /** *

The type of Amazon Web Services resource to be backed up; 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_resourceType = std::move(value); } /** *

The type of Amazon Web Services resource to be backed up; 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_resourceType.assign(value); } /** *

The type of Amazon Web Services resource to be backed up; for example, an * Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database * Service (Amazon RDS) database.

*/ inline DescribeBackupJobResult& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** *

The type of Amazon Web Services resource to be backed up; for example, an * Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database * Service (Amazon RDS) database.

*/ inline DescribeBackupJobResult& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** *

The type of Amazon Web Services resource to be backed up; for example, an * Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database * Service (Amazon RDS) database.

*/ inline DescribeBackupJobResult& WithResourceType(const char* value) { SetResourceType(value); return *this;} /** *

The size in bytes transferred to a backup vault at the time that the job * status was queried.

*/ inline long long GetBytesTransferred() const{ return m_bytesTransferred; } /** *

The size in bytes transferred to a backup vault at the time that the job * status was queried.

*/ inline void SetBytesTransferred(long long value) { m_bytesTransferred = value; } /** *

The size in bytes transferred to a backup vault at the time that the job * status was queried.

*/ inline DescribeBackupJobResult& WithBytesTransferred(long long value) { SetBytesTransferred(value); return *this;} /** *

The date and time that a job to back up resources is expected to be * completed, in Unix format and Coordinated Universal Time (UTC). The value of * ExpectedCompletionDate is accurate to milliseconds. For example, * the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 * AM.

*/ inline const Aws::Utils::DateTime& GetExpectedCompletionDate() const{ return m_expectedCompletionDate; } /** *

The date and time that a job to back up resources is expected to be * completed, in Unix format and Coordinated Universal Time (UTC). The value of * ExpectedCompletionDate is accurate to milliseconds. For example, * the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 * AM.

*/ inline void SetExpectedCompletionDate(const Aws::Utils::DateTime& value) { m_expectedCompletionDate = value; } /** *

The date and time that a job to back up resources is expected to be * completed, in Unix format and Coordinated Universal Time (UTC). The value of * ExpectedCompletionDate is accurate to milliseconds. For example, * the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 * AM.

*/ inline void SetExpectedCompletionDate(Aws::Utils::DateTime&& value) { m_expectedCompletionDate = std::move(value); } /** *

The date and time that a job to back up resources is expected to be * completed, in Unix format and Coordinated Universal Time (UTC). The value of * ExpectedCompletionDate is accurate to milliseconds. For example, * the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 * AM.

*/ inline DescribeBackupJobResult& WithExpectedCompletionDate(const Aws::Utils::DateTime& value) { SetExpectedCompletionDate(value); return *this;} /** *

The date and time that a job to back up resources is expected to be * completed, in Unix format and Coordinated Universal Time (UTC). The value of * ExpectedCompletionDate is accurate to milliseconds. For example, * the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 * AM.

*/ inline DescribeBackupJobResult& WithExpectedCompletionDate(Aws::Utils::DateTime&& value) { SetExpectedCompletionDate(std::move(value)); return *this;} /** *

Specifies the time in Unix format and Coordinated Universal Time (UTC) when a * backup job must be started before it is canceled. The value is calculated by * adding the start window to the scheduled time. So if the scheduled time were * 6:00 PM and the start window is 2 hours, the StartBy time would be * 8:00 PM on the date specified. The value of StartBy is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

*/ inline const Aws::Utils::DateTime& GetStartBy() const{ return m_startBy; } /** *

Specifies the time in Unix format and Coordinated Universal Time (UTC) when a * backup job must be started before it is canceled. The value is calculated by * adding the start window to the scheduled time. So if the scheduled time were * 6:00 PM and the start window is 2 hours, the StartBy time would be * 8:00 PM on the date specified. The value of StartBy is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

*/ inline void SetStartBy(const Aws::Utils::DateTime& value) { m_startBy = value; } /** *

Specifies the time in Unix format and Coordinated Universal Time (UTC) when a * backup job must be started before it is canceled. The value is calculated by * adding the start window to the scheduled time. So if the scheduled time were * 6:00 PM and the start window is 2 hours, the StartBy time would be * 8:00 PM on the date specified. The value of StartBy is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

*/ inline void SetStartBy(Aws::Utils::DateTime&& value) { m_startBy = std::move(value); } /** *

Specifies the time in Unix format and Coordinated Universal Time (UTC) when a * backup job must be started before it is canceled. The value is calculated by * adding the start window to the scheduled time. So if the scheduled time were * 6:00 PM and the start window is 2 hours, the StartBy time would be * 8:00 PM on the date specified. The value of StartBy is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

*/ inline DescribeBackupJobResult& WithStartBy(const Aws::Utils::DateTime& value) { SetStartBy(value); return *this;} /** *

Specifies the time in Unix format and Coordinated Universal Time (UTC) when a * backup job must be started before it is canceled. The value is calculated by * adding the start window to the scheduled time. So if the scheduled time were * 6:00 PM and the start window is 2 hours, the StartBy time would be * 8:00 PM on the date specified. The value of StartBy is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

*/ inline DescribeBackupJobResult& WithStartBy(Aws::Utils::DateTime&& value) { SetStartBy(std::move(value)); return *this;} /** *

Represents the options specified as part of backup plan or on-demand backup * job.

*/ inline const Aws::Map& GetBackupOptions() const{ return m_backupOptions; } /** *

Represents the options specified as part of backup plan or on-demand backup * job.

*/ inline void SetBackupOptions(const Aws::Map& value) { m_backupOptions = value; } /** *

Represents the options specified as part of backup plan or on-demand backup * job.

*/ inline void SetBackupOptions(Aws::Map&& value) { m_backupOptions = std::move(value); } /** *

Represents the options specified as part of backup plan or on-demand backup * job.

*/ inline DescribeBackupJobResult& WithBackupOptions(const Aws::Map& value) { SetBackupOptions(value); return *this;} /** *

Represents the options specified as part of backup plan or on-demand backup * job.

*/ inline DescribeBackupJobResult& WithBackupOptions(Aws::Map&& value) { SetBackupOptions(std::move(value)); return *this;} /** *

Represents the options specified as part of backup plan or on-demand backup * job.

*/ inline DescribeBackupJobResult& AddBackupOptions(const Aws::String& key, const Aws::String& value) { m_backupOptions.emplace(key, value); return *this; } /** *

Represents the options specified as part of backup plan or on-demand backup * job.

*/ inline DescribeBackupJobResult& AddBackupOptions(Aws::String&& key, const Aws::String& value) { m_backupOptions.emplace(std::move(key), value); return *this; } /** *

Represents the options specified as part of backup plan or on-demand backup * job.

*/ inline DescribeBackupJobResult& AddBackupOptions(const Aws::String& key, Aws::String&& value) { m_backupOptions.emplace(key, std::move(value)); return *this; } /** *

Represents the options specified as part of backup plan or on-demand backup * job.

*/ inline DescribeBackupJobResult& AddBackupOptions(Aws::String&& key, Aws::String&& value) { m_backupOptions.emplace(std::move(key), std::move(value)); return *this; } /** *

Represents the options specified as part of backup plan or on-demand backup * job.

*/ inline DescribeBackupJobResult& AddBackupOptions(const char* key, Aws::String&& value) { m_backupOptions.emplace(key, std::move(value)); return *this; } /** *

Represents the options specified as part of backup plan or on-demand backup * job.

*/ inline DescribeBackupJobResult& AddBackupOptions(Aws::String&& key, const char* value) { m_backupOptions.emplace(std::move(key), value); return *this; } /** *

Represents the options specified as part of backup plan or on-demand backup * job.

*/ inline DescribeBackupJobResult& AddBackupOptions(const char* key, const char* value) { m_backupOptions.emplace(key, value); return *this; } /** *

Represents the actual backup type selected for a backup job. For example, if * a successful Windows Volume Shadow Copy Service (VSS) backup was taken, * BackupType returns "WindowsVSS". If * BackupType is empty, then the backup type was a regular backup.

*/ inline const Aws::String& GetBackupType() const{ return m_backupType; } /** *

Represents the actual backup type selected for a backup job. For example, if * a successful Windows Volume Shadow Copy Service (VSS) backup was taken, * BackupType returns "WindowsVSS". If * BackupType is empty, then the backup type was a regular backup.

*/ inline void SetBackupType(const Aws::String& value) { m_backupType = value; } /** *

Represents the actual backup type selected for a backup job. For example, if * a successful Windows Volume Shadow Copy Service (VSS) backup was taken, * BackupType returns "WindowsVSS". If * BackupType is empty, then the backup type was a regular backup.

*/ inline void SetBackupType(Aws::String&& value) { m_backupType = std::move(value); } /** *

Represents the actual backup type selected for a backup job. For example, if * a successful Windows Volume Shadow Copy Service (VSS) backup was taken, * BackupType returns "WindowsVSS". If * BackupType is empty, then the backup type was a regular backup.

*/ inline void SetBackupType(const char* value) { m_backupType.assign(value); } /** *

Represents the actual backup type selected for a backup job. For example, if * a successful Windows Volume Shadow Copy Service (VSS) backup was taken, * BackupType returns "WindowsVSS". If * BackupType is empty, then the backup type was a regular backup.

*/ inline DescribeBackupJobResult& WithBackupType(const Aws::String& value) { SetBackupType(value); return *this;} /** *

Represents the actual backup type selected for a backup job. For example, if * a successful Windows Volume Shadow Copy Service (VSS) backup was taken, * BackupType returns "WindowsVSS". If * BackupType is empty, then the backup type was a regular backup.

*/ inline DescribeBackupJobResult& WithBackupType(Aws::String&& value) { SetBackupType(std::move(value)); return *this;} /** *

Represents the actual backup type selected for a backup job. For example, if * a successful Windows Volume Shadow Copy Service (VSS) backup was taken, * BackupType returns "WindowsVSS". If * BackupType is empty, then the backup type was a regular backup.

*/ inline DescribeBackupJobResult& WithBackupType(const char* value) { SetBackupType(value); return *this;} /** *

This returns the parent (composite) resource backup job ID.

*/ inline const Aws::String& GetParentJobId() const{ return m_parentJobId; } /** *

This returns the parent (composite) resource backup job ID.

*/ inline void SetParentJobId(const Aws::String& value) { m_parentJobId = value; } /** *

This returns the parent (composite) resource backup job ID.

*/ inline void SetParentJobId(Aws::String&& value) { m_parentJobId = std::move(value); } /** *

This returns the parent (composite) resource backup job ID.

*/ inline void SetParentJobId(const char* value) { m_parentJobId.assign(value); } /** *

This returns the parent (composite) resource backup job ID.

*/ inline DescribeBackupJobResult& WithParentJobId(const Aws::String& value) { SetParentJobId(value); return *this;} /** *

This returns the parent (composite) resource backup job ID.

*/ inline DescribeBackupJobResult& WithParentJobId(Aws::String&& value) { SetParentJobId(std::move(value)); return *this;} /** *

This returns the parent (composite) resource backup job ID.

*/ inline DescribeBackupJobResult& WithParentJobId(const char* value) { SetParentJobId(value); return *this;} /** *

This returns the boolean value that a backup job is a parent (composite) * job.

*/ inline bool GetIsParent() const{ return m_isParent; } /** *

This returns the boolean value that a backup job is a parent (composite) * job.

*/ inline void SetIsParent(bool value) { m_isParent = value; } /** *

This returns the boolean value that a backup job is a parent (composite) * job.

*/ inline DescribeBackupJobResult& WithIsParent(bool value) { SetIsParent(value); return *this;} /** *

This returns the number of child (nested) backup jobs.

*/ inline long long GetNumberOfChildJobs() const{ return m_numberOfChildJobs; } /** *

This returns the number of child (nested) backup jobs.

*/ inline void SetNumberOfChildJobs(long long value) { m_numberOfChildJobs = value; } /** *

This returns the number of child (nested) backup jobs.

*/ inline DescribeBackupJobResult& WithNumberOfChildJobs(long long value) { SetNumberOfChildJobs(value); return *this;} /** *

This returns the statistics of the included child (nested) backup jobs.

*/ inline const Aws::Map& GetChildJobsInState() const{ return m_childJobsInState; } /** *

This returns the statistics of the included child (nested) backup jobs.

*/ inline void SetChildJobsInState(const Aws::Map& value) { m_childJobsInState = value; } /** *

This returns the statistics of the included child (nested) backup jobs.

*/ inline void SetChildJobsInState(Aws::Map&& value) { m_childJobsInState = std::move(value); } /** *

This returns the statistics of the included child (nested) backup jobs.

*/ inline DescribeBackupJobResult& WithChildJobsInState(const Aws::Map& value) { SetChildJobsInState(value); return *this;} /** *

This returns the statistics of the included child (nested) backup jobs.

*/ inline DescribeBackupJobResult& WithChildJobsInState(Aws::Map&& value) { SetChildJobsInState(std::move(value)); return *this;} /** *

This returns the statistics of the included child (nested) backup jobs.

*/ inline DescribeBackupJobResult& AddChildJobsInState(const BackupJobState& key, long long value) { m_childJobsInState.emplace(key, value); return *this; } /** *

This returns the statistics of the included child (nested) backup jobs.

*/ inline DescribeBackupJobResult& AddChildJobsInState(BackupJobState&& key, long long value) { m_childJobsInState.emplace(std::move(key), value); return *this; } /** *

This is the non-unique name of the resource that belongs to the specified * backup.

*/ inline const Aws::String& GetResourceName() const{ return m_resourceName; } /** *

This is the non-unique name of the resource that belongs to the specified * backup.

*/ inline void SetResourceName(const Aws::String& value) { m_resourceName = value; } /** *

This is the non-unique name of the resource that belongs to the specified * backup.

*/ inline void SetResourceName(Aws::String&& value) { m_resourceName = std::move(value); } /** *

This is the non-unique name of the resource that belongs to the specified * backup.

*/ inline void SetResourceName(const char* value) { m_resourceName.assign(value); } /** *

This is the non-unique name of the resource that belongs to the specified * backup.

*/ inline DescribeBackupJobResult& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;} /** *

This is the non-unique name of the resource that belongs to the specified * backup.

*/ inline DescribeBackupJobResult& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;} /** *

This is the non-unique name of the resource that belongs to the specified * backup.

*/ inline DescribeBackupJobResult& WithResourceName(const char* value) { SetResourceName(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeBackupJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeBackupJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeBackupJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_accountId; Aws::String m_backupJobId; Aws::String m_backupVaultName; Aws::String m_backupVaultArn; Aws::String m_recoveryPointArn; Aws::String m_resourceArn; Aws::Utils::DateTime m_creationDate; Aws::Utils::DateTime m_completionDate; BackupJobState m_state; Aws::String m_statusMessage; Aws::String m_percentDone; long long m_backupSizeInBytes; Aws::String m_iamRoleArn; RecoveryPointCreator m_createdBy; Aws::String m_resourceType; long long m_bytesTransferred; Aws::Utils::DateTime m_expectedCompletionDate; Aws::Utils::DateTime m_startBy; Aws::Map m_backupOptions; Aws::String m_backupType; Aws::String m_parentJobId; bool m_isParent; long long m_numberOfChildJobs; Aws::Map m_childJobsInState; Aws::String m_resourceName; Aws::String m_requestId; }; } // namespace Model } // namespace Backup } // namespace Aws