This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-backup/include/aws/backup/model/DescribeBackupJobResult.h

809 lines
34 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/backup/Backup_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <aws/backup/model/BackupJobState.h>
#include <aws/backup/model/RecoveryPointCreator.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Backup
{
namespace Model
{
class AWS_BACKUP_API DescribeBackupJobResult
{
public:
DescribeBackupJobResult();
DescribeBackupJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeBackupJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Returns the account ID that owns the backup job.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>Returns the account ID that owns the backup job.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountId = value; }
/**
* <p>Returns the account ID that owns the backup job.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountId = std::move(value); }
/**
* <p>Returns the account ID that owns the backup job.</p>
*/
inline void SetAccountId(const char* value) { m_accountId.assign(value); }
/**
* <p>Returns the account ID that owns the backup job.</p>
*/
inline DescribeBackupJobResult& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>Returns the account ID that owns the backup job.</p>
*/
inline DescribeBackupJobResult& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>Returns the account ID that owns the backup job.</p>
*/
inline DescribeBackupJobResult& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>Uniquely identifies a request to AWS Backup to back up a resource.</p>
*/
inline const Aws::String& GetBackupJobId() const{ return m_backupJobId; }
/**
* <p>Uniquely identifies a request to AWS Backup to back up a resource.</p>
*/
inline void SetBackupJobId(const Aws::String& value) { m_backupJobId = value; }
/**
* <p>Uniquely identifies a request to AWS Backup to back up a resource.</p>
*/
inline void SetBackupJobId(Aws::String&& value) { m_backupJobId = std::move(value); }
/**
* <p>Uniquely identifies a request to AWS Backup to back up a resource.</p>
*/
inline void SetBackupJobId(const char* value) { m_backupJobId.assign(value); }
/**
* <p>Uniquely identifies a request to AWS Backup to back up a resource.</p>
*/
inline DescribeBackupJobResult& WithBackupJobId(const Aws::String& value) { SetBackupJobId(value); return *this;}
/**
* <p>Uniquely identifies a request to AWS Backup to back up a resource.</p>
*/
inline DescribeBackupJobResult& WithBackupJobId(Aws::String&& value) { SetBackupJobId(std::move(value)); return *this;}
/**
* <p>Uniquely identifies a request to AWS Backup to back up a resource.</p>
*/
inline DescribeBackupJobResult& WithBackupJobId(const char* value) { SetBackupJobId(value); return *this;}
/**
* <p>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
* AWS Region where they are created. They consist of lowercase letters, numbers,
* and hyphens.</p>
*/
inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
/**
* <p>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
* AWS Region where they are created. They consist of lowercase letters, numbers,
* and hyphens.</p>
*/
inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultName = value; }
/**
* <p>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
* AWS Region where they are created. They consist of lowercase letters, numbers,
* and hyphens.</p>
*/
inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultName = std::move(value); }
/**
* <p>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
* AWS Region where they are created. They consist of lowercase letters, numbers,
* and hyphens.</p>
*/
inline void SetBackupVaultName(const char* value) { m_backupVaultName.assign(value); }
/**
* <p>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
* AWS Region where they are created. They consist of lowercase letters, numbers,
* and hyphens.</p>
*/
inline DescribeBackupJobResult& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;}
/**
* <p>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
* AWS Region where they are created. They consist of lowercase letters, numbers,
* and hyphens.</p>
*/
inline DescribeBackupJobResult& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
/**
* <p>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
* AWS Region where they are created. They consist of lowercase letters, numbers,
* and hyphens.</p>
*/
inline DescribeBackupJobResult& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
/**
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
*/
inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
/**
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
*/
inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArn = value; }
/**
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
*/
inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArn = std::move(value); }
/**
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
*/
inline void SetBackupVaultArn(const char* value) { m_backupVaultArn.assign(value); }
/**
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
*/
inline DescribeBackupJobResult& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;}
/**
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
*/
inline DescribeBackupJobResult& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
/**
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
*/
inline DescribeBackupJobResult& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
/**
* <p>An ARN that uniquely identifies a recovery point; for example,
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
*/
inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; }
/**
* <p>An ARN that uniquely identifies a recovery point; for example,
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
*/
inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArn = value; }
/**
* <p>An ARN that uniquely identifies a recovery point; for example,
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
*/
inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArn = std::move(value); }
/**
* <p>An ARN that uniquely identifies a recovery point; for example,
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
*/
inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArn.assign(value); }
/**
* <p>An ARN that uniquely identifies a recovery point; for example,
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
*/
inline DescribeBackupJobResult& WithRecoveryPointArn(const Aws::String& value) { SetRecoveryPointArn(value); return *this;}
/**
* <p>An ARN that uniquely identifies a recovery point; for example,
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
*/
inline DescribeBackupJobResult& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;}
/**
* <p>An ARN that uniquely identifies a recovery point; for example,
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
*/
inline DescribeBackupJobResult& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;}
/**
* <p>An ARN that uniquely identifies a saved resource. The format of the ARN
* depends on the resource type.</p>
*/
inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
/**
* <p>An ARN that uniquely identifies a saved resource. The format of the ARN
* depends on the resource type.</p>
*/
inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
/**
* <p>An ARN that uniquely identifies a saved resource. The format of the ARN
* depends on the resource type.</p>
*/
inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
/**
* <p>An ARN that uniquely identifies a saved resource. The format of the ARN
* depends on the resource type.</p>
*/
inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
/**
* <p>An ARN that uniquely identifies a saved resource. The format of the ARN
* depends on the resource type.</p>
*/
inline DescribeBackupJobResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
/**
* <p>An ARN that uniquely identifies a saved resource. The format of the ARN
* depends on the resource type.</p>
*/
inline DescribeBackupJobResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
/**
* <p>An ARN that uniquely identifies a saved resource. The format of the ARN
* depends on the resource type.</p>
*/
inline DescribeBackupJobResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
/**
* <p>The date and time that a backup job is created, in Unix format and
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
/**
* <p>The date and time that a backup job is created, in Unix format and
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
/**
* <p>The date and time that a backup job is created, in Unix format and
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
/**
* <p>The date and time that a backup job is created, in Unix format and
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline DescribeBackupJobResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
/**
* <p>The date and time that a backup job is created, in Unix format and
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline DescribeBackupJobResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
/**
* <p>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
* <code>CompletionDate</code> is accurate to milliseconds. For example, the value
* 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline const Aws::Utils::DateTime& GetCompletionDate() const{ return m_completionDate; }
/**
* <p>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
* <code>CompletionDate</code> is accurate to milliseconds. For example, the value
* 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline void SetCompletionDate(const Aws::Utils::DateTime& value) { m_completionDate = value; }
/**
* <p>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
* <code>CompletionDate</code> is accurate to milliseconds. For example, the value
* 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline void SetCompletionDate(Aws::Utils::DateTime&& value) { m_completionDate = std::move(value); }
/**
* <p>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
* <code>CompletionDate</code> is accurate to milliseconds. For example, the value
* 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline DescribeBackupJobResult& WithCompletionDate(const Aws::Utils::DateTime& value) { SetCompletionDate(value); return *this;}
/**
* <p>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
* <code>CompletionDate</code> is accurate to milliseconds. For example, the value
* 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline DescribeBackupJobResult& WithCompletionDate(Aws::Utils::DateTime&& value) { SetCompletionDate(std::move(value)); return *this;}
/**
* <p>The current state of a resource recovery point.</p>
*/
inline const BackupJobState& GetState() const{ return m_state; }
/**
* <p>The current state of a resource recovery point.</p>
*/
inline void SetState(const BackupJobState& value) { m_state = value; }
/**
* <p>The current state of a resource recovery point.</p>
*/
inline void SetState(BackupJobState&& value) { m_state = std::move(value); }
/**
* <p>The current state of a resource recovery point.</p>
*/
inline DescribeBackupJobResult& WithState(const BackupJobState& value) { SetState(value); return *this;}
/**
* <p>The current state of a resource recovery point.</p>
*/
inline DescribeBackupJobResult& WithState(BackupJobState&& value) { SetState(std::move(value)); return *this;}
/**
* <p>A detailed message explaining the status of the job to back up a
* resource.</p>
*/
inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
/**
* <p>A detailed message explaining the status of the job to back up a
* resource.</p>
*/
inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
/**
* <p>A detailed message explaining the status of the job to back up a
* resource.</p>
*/
inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
/**
* <p>A detailed message explaining the status of the job to back up a
* resource.</p>
*/
inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
/**
* <p>A detailed message explaining the status of the job to back up a
* resource.</p>
*/
inline DescribeBackupJobResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
/**
* <p>A detailed message explaining the status of the job to back up a
* resource.</p>
*/
inline DescribeBackupJobResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
/**
* <p>A detailed message explaining the status of the job to back up a
* resource.</p>
*/
inline DescribeBackupJobResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
/**
* <p>Contains an estimated percentage that is complete of a job at the time the
* job status was queried.</p>
*/
inline const Aws::String& GetPercentDone() const{ return m_percentDone; }
/**
* <p>Contains an estimated percentage that is complete of a job at the time the
* job status was queried.</p>
*/
inline void SetPercentDone(const Aws::String& value) { m_percentDone = value; }
/**
* <p>Contains an estimated percentage that is complete of a job at the time the
* job status was queried.</p>
*/
inline void SetPercentDone(Aws::String&& value) { m_percentDone = std::move(value); }
/**
* <p>Contains an estimated percentage that is complete of a job at the time the
* job status was queried.</p>
*/
inline void SetPercentDone(const char* value) { m_percentDone.assign(value); }
/**
* <p>Contains an estimated percentage that is complete of a job at the time the
* job status was queried.</p>
*/
inline DescribeBackupJobResult& WithPercentDone(const Aws::String& value) { SetPercentDone(value); return *this;}
/**
* <p>Contains an estimated percentage that is complete of a job at the time the
* job status was queried.</p>
*/
inline DescribeBackupJobResult& WithPercentDone(Aws::String&& value) { SetPercentDone(std::move(value)); return *this;}
/**
* <p>Contains an estimated percentage that is complete of a job at the time the
* job status was queried.</p>
*/
inline DescribeBackupJobResult& WithPercentDone(const char* value) { SetPercentDone(value); return *this;}
/**
* <p>The size, in bytes, of a backup.</p>
*/
inline long long GetBackupSizeInBytes() const{ return m_backupSizeInBytes; }
/**
* <p>The size, in bytes, of a backup.</p>
*/
inline void SetBackupSizeInBytes(long long value) { m_backupSizeInBytes = value; }
/**
* <p>The size, in bytes, of a backup.</p>
*/
inline DescribeBackupJobResult& WithBackupSizeInBytes(long long value) { SetBackupSizeInBytes(value); return *this;}
/**
* <p>Specifies the IAM role ARN used to create the target recovery point; for
* example, <code>arn:aws:iam::123456789012:role/S3Access</code>.</p>
*/
inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
/**
* <p>Specifies the IAM role ARN used to create the target recovery point; for
* example, <code>arn:aws:iam::123456789012:role/S3Access</code>.</p>
*/
inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArn = value; }
/**
* <p>Specifies the IAM role ARN used to create the target recovery point; for
* example, <code>arn:aws:iam::123456789012:role/S3Access</code>.</p>
*/
inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArn = std::move(value); }
/**
* <p>Specifies the IAM role ARN used to create the target recovery point; for
* example, <code>arn:aws:iam::123456789012:role/S3Access</code>.</p>
*/
inline void SetIamRoleArn(const char* value) { m_iamRoleArn.assign(value); }
/**
* <p>Specifies the IAM role ARN used to create the target recovery point; for
* example, <code>arn:aws:iam::123456789012:role/S3Access</code>.</p>
*/
inline DescribeBackupJobResult& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
/**
* <p>Specifies the IAM role ARN used to create the target recovery point; for
* example, <code>arn:aws:iam::123456789012:role/S3Access</code>.</p>
*/
inline DescribeBackupJobResult& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
/**
* <p>Specifies the IAM role ARN used to create the target recovery point; for
* example, <code>arn:aws:iam::123456789012:role/S3Access</code>.</p>
*/
inline DescribeBackupJobResult& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
/**
* <p>Contains identifying information about the creation of a backup job,
* including the <code>BackupPlanArn</code>, <code>BackupPlanId</code>,
* <code>BackupPlanVersion</code>, and <code>BackupRuleId</code> of the backup plan
* that is used to create it.</p>
*/
inline const RecoveryPointCreator& GetCreatedBy() const{ return m_createdBy; }
/**
* <p>Contains identifying information about the creation of a backup job,
* including the <code>BackupPlanArn</code>, <code>BackupPlanId</code>,
* <code>BackupPlanVersion</code>, and <code>BackupRuleId</code> of the backup plan
* that is used to create it.</p>
*/
inline void SetCreatedBy(const RecoveryPointCreator& value) { m_createdBy = value; }
/**
* <p>Contains identifying information about the creation of a backup job,
* including the <code>BackupPlanArn</code>, <code>BackupPlanId</code>,
* <code>BackupPlanVersion</code>, and <code>BackupRuleId</code> of the backup plan
* that is used to create it.</p>
*/
inline void SetCreatedBy(RecoveryPointCreator&& value) { m_createdBy = std::move(value); }
/**
* <p>Contains identifying information about the creation of a backup job,
* including the <code>BackupPlanArn</code>, <code>BackupPlanId</code>,
* <code>BackupPlanVersion</code>, and <code>BackupRuleId</code> of the backup plan
* that is used to create it.</p>
*/
inline DescribeBackupJobResult& WithCreatedBy(const RecoveryPointCreator& value) { SetCreatedBy(value); return *this;}
/**
* <p>Contains identifying information about the creation of a backup job,
* including the <code>BackupPlanArn</code>, <code>BackupPlanId</code>,
* <code>BackupPlanVersion</code>, and <code>BackupRuleId</code> of the backup plan
* that is used to create it.</p>
*/
inline DescribeBackupJobResult& WithCreatedBy(RecoveryPointCreator&& value) { SetCreatedBy(std::move(value)); return *this;}
/**
* <p>The type of AWS resource to be backed up; for example, an Amazon Elastic
* Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon
* RDS) database.</p>
*/
inline const Aws::String& GetResourceType() const{ return m_resourceType; }
/**
* <p>The type of AWS resource to be backed up; for example, an Amazon Elastic
* Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon
* RDS) database.</p>
*/
inline void SetResourceType(const Aws::String& value) { m_resourceType = value; }
/**
* <p>The type of AWS resource to be backed up; for example, an Amazon Elastic
* Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon
* RDS) database.</p>
*/
inline void SetResourceType(Aws::String&& value) { m_resourceType = std::move(value); }
/**
* <p>The type of AWS resource to be backed up; for example, an Amazon Elastic
* Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon
* RDS) database.</p>
*/
inline void SetResourceType(const char* value) { m_resourceType.assign(value); }
/**
* <p>The type of AWS resource to be backed up; for example, an Amazon Elastic
* Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon
* RDS) database.</p>
*/
inline DescribeBackupJobResult& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
/**
* <p>The type of AWS resource to be backed up; for example, an Amazon Elastic
* Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon
* RDS) database.</p>
*/
inline DescribeBackupJobResult& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
/**
* <p>The type of AWS resource to be backed up; for example, an Amazon Elastic
* Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon
* RDS) database.</p>
*/
inline DescribeBackupJobResult& WithResourceType(const char* value) { SetResourceType(value); return *this;}
/**
* <p>The size in bytes transferred to a backup vault at the time that the job
* status was queried.</p>
*/
inline long long GetBytesTransferred() const{ return m_bytesTransferred; }
/**
* <p>The size in bytes transferred to a backup vault at the time that the job
* status was queried.</p>
*/
inline void SetBytesTransferred(long long value) { m_bytesTransferred = value; }
/**
* <p>The size in bytes transferred to a backup vault at the time that the job
* status was queried.</p>
*/
inline DescribeBackupJobResult& WithBytesTransferred(long long value) { SetBytesTransferred(value); return *this;}
/**
* <p>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
* <code>ExpectedCompletionDate</code> is accurate to milliseconds. For example,
* the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
* AM.</p>
*/
inline const Aws::Utils::DateTime& GetExpectedCompletionDate() const{ return m_expectedCompletionDate; }
/**
* <p>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
* <code>ExpectedCompletionDate</code> is accurate to milliseconds. For example,
* the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
* AM.</p>
*/
inline void SetExpectedCompletionDate(const Aws::Utils::DateTime& value) { m_expectedCompletionDate = value; }
/**
* <p>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
* <code>ExpectedCompletionDate</code> is accurate to milliseconds. For example,
* the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
* AM.</p>
*/
inline void SetExpectedCompletionDate(Aws::Utils::DateTime&& value) { m_expectedCompletionDate = std::move(value); }
/**
* <p>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
* <code>ExpectedCompletionDate</code> is accurate to milliseconds. For example,
* the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
* AM.</p>
*/
inline DescribeBackupJobResult& WithExpectedCompletionDate(const Aws::Utils::DateTime& value) { SetExpectedCompletionDate(value); return *this;}
/**
* <p>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
* <code>ExpectedCompletionDate</code> is accurate to milliseconds. For example,
* the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
* AM.</p>
*/
inline DescribeBackupJobResult& WithExpectedCompletionDate(Aws::Utils::DateTime&& value) { SetExpectedCompletionDate(std::move(value)); return *this;}
/**
* <p>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 <code>StartBy</code> time would be
* 8:00 PM on the date specified. The value of <code>StartBy</code> is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.</p>
*/
inline const Aws::Utils::DateTime& GetStartBy() const{ return m_startBy; }
/**
* <p>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 <code>StartBy</code> time would be
* 8:00 PM on the date specified. The value of <code>StartBy</code> is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.</p>
*/
inline void SetStartBy(const Aws::Utils::DateTime& value) { m_startBy = value; }
/**
* <p>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 <code>StartBy</code> time would be
* 8:00 PM on the date specified. The value of <code>StartBy</code> is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.</p>
*/
inline void SetStartBy(Aws::Utils::DateTime&& value) { m_startBy = std::move(value); }
/**
* <p>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 <code>StartBy</code> time would be
* 8:00 PM on the date specified. The value of <code>StartBy</code> is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.</p>
*/
inline DescribeBackupJobResult& WithStartBy(const Aws::Utils::DateTime& value) { SetStartBy(value); return *this;}
/**
* <p>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 <code>StartBy</code> time would be
* 8:00 PM on the date specified. The value of <code>StartBy</code> is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January
* 26, 2018 12:11:30.087 AM.</p>
*/
inline DescribeBackupJobResult& WithStartBy(Aws::Utils::DateTime&& value) { SetStartBy(std::move(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;
};
} // namespace Model
} // namespace Backup
} // namespace Aws