/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains detailed information about a backup job.See Also:
* AWS
* API Reference
The account ID that owns the backup job.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The account ID that owns the backup job.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The account ID that owns the backup job.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The account ID that owns the backup job.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The account ID that owns the backup job.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The account ID that owns the backup job.
*/ inline BackupJob& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The account ID that owns the backup job.
*/ inline BackupJob& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The account ID that owns the backup job.
*/ inline BackupJob& 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 bool BackupJobIdHasBeenSet() const { return m_backupJobIdHasBeenSet; } /** *Uniquely identifies a request to Backup to back up a resource.
*/ inline void SetBackupJobId(const Aws::String& value) { m_backupJobIdHasBeenSet = true; m_backupJobId = value; } /** *Uniquely identifies a request to Backup to back up a resource.
*/ inline void SetBackupJobId(Aws::String&& value) { m_backupJobIdHasBeenSet = true; m_backupJobId = std::move(value); } /** *Uniquely identifies a request to Backup to back up a resource.
*/ inline void SetBackupJobId(const char* value) { m_backupJobIdHasBeenSet = true; m_backupJobId.assign(value); } /** *Uniquely identifies a request to Backup to back up a resource.
*/ inline BackupJob& WithBackupJobId(const Aws::String& value) { SetBackupJobId(value); return *this;} /** *Uniquely identifies a request to Backup to back up a resource.
*/ inline BackupJob& WithBackupJobId(Aws::String&& value) { SetBackupJobId(std::move(value)); return *this;} /** *Uniquely identifies a request to Backup to back up a resource.
*/ inline BackupJob& 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 bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; } /** *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_backupVaultNameHasBeenSet = true; 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_backupVaultNameHasBeenSet = true; 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_backupVaultNameHasBeenSet = true; 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 BackupJob& 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 BackupJob& 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 BackupJob& 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
.
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
An ARN that uniquely identifies a recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
An ARN that uniquely identifies a recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
An ARN that uniquely identifies a recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
An ARN that uniquely identifies a recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
An ARN that uniquely identifies a recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
An ARN that uniquely identifies a recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
An ARN that uniquely identifies a recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
An ARN that uniquely identifies a recovery point; for example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
An ARN that uniquely identifies a 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 resource. The format of the ARN depends on * the resource type.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *An ARN that uniquely identifies a resource. The format of the ARN depends on * the resource type.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *An ARN that uniquely identifies a resource. The format of the ARN depends on * the resource type.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *An ARN that uniquely identifies a resource. The format of the ARN depends on * the resource type.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *An ARN that uniquely identifies a resource. The format of the ARN depends on * the resource type.
*/ inline BackupJob& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *An ARN that uniquely identifies a resource. The format of the ARN depends on * the resource type.
*/ inline BackupJob& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *An ARN that uniquely identifies a resource. The format of the ARN depends on * the resource type.
*/ inline BackupJob& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *The date and time 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.
The date and time 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.
The date and time 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.
The date and time 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.
The date and time 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.
The date and time 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.
The date and time 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.
The date and time 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.
The date and time 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.
The date and time 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.
The date and time 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.
The date and time 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.
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 bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The current state of a resource recovery point.
*/ inline void SetState(const BackupJobState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The current state of a resource recovery point.
*/ inline void SetState(BackupJobState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The current state of a resource recovery point.
*/ inline BackupJob& WithState(const BackupJobState& value) { SetState(value); return *this;} /** *The current state of a resource recovery point.
*/ inline BackupJob& 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 bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *A detailed message explaining the status of the job to back up 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 back up 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 back up 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 back up a * resource.
*/ inline BackupJob& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *A detailed message explaining the status of the job to back up a * resource.
*/ inline BackupJob& 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 BackupJob& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *Contains an estimated percentage 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 complete of a job at the time the job status * was queried.
*/ inline bool PercentDoneHasBeenSet() const { return m_percentDoneHasBeenSet; } /** *Contains an estimated percentage complete of a job at the time the job status * was queried.
*/ inline void SetPercentDone(const Aws::String& value) { m_percentDoneHasBeenSet = true; m_percentDone = value; } /** *Contains an estimated percentage complete of a job at the time the job status * was queried.
*/ inline void SetPercentDone(Aws::String&& value) { m_percentDoneHasBeenSet = true; m_percentDone = std::move(value); } /** *Contains an estimated percentage complete of a job at the time the job status * was queried.
*/ inline void SetPercentDone(const char* value) { m_percentDoneHasBeenSet = true; m_percentDone.assign(value); } /** *Contains an estimated percentage complete of a job at the time the job status * was queried.
*/ inline BackupJob& WithPercentDone(const Aws::String& value) { SetPercentDone(value); return *this;} /** *Contains an estimated percentage complete of a job at the time the job status * was queried.
*/ inline BackupJob& WithPercentDone(Aws::String&& value) { SetPercentDone(std::move(value)); return *this;} /** *Contains an estimated percentage complete of a job at the time the job status * was queried.
*/ inline BackupJob& 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 bool BackupSizeInBytesHasBeenSet() const { return m_backupSizeInBytesHasBeenSet; } /** *The size, in bytes, of a backup.
*/ inline void SetBackupSizeInBytes(long long value) { m_backupSizeInBytesHasBeenSet = true; m_backupSizeInBytes = value; } /** *The size, in bytes, of a backup.
*/ inline BackupJob& WithBackupSizeInBytes(long long value) { SetBackupSizeInBytes(value); return *this;} /** *Specifies the IAM role ARN used to create the target recovery point. IAM
* roles other than the default role must include either AWSBackup
or
* AwsBackup
in the role name. For example,
* arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names
* without those strings lack permissions to perform backup jobs.
Specifies the IAM role ARN used to create the target recovery point. IAM
* roles other than the default role must include either AWSBackup
or
* AwsBackup
in the role name. For example,
* arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names
* without those strings lack permissions to perform backup jobs.
Specifies the IAM role ARN used to create the target recovery point. IAM
* roles other than the default role must include either AWSBackup
or
* AwsBackup
in the role name. For example,
* arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names
* without those strings lack permissions to perform backup jobs.
Specifies the IAM role ARN used to create the target recovery point. IAM
* roles other than the default role must include either AWSBackup
or
* AwsBackup
in the role name. For example,
* arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names
* without those strings lack permissions to perform backup jobs.
Specifies the IAM role ARN used to create the target recovery point. IAM
* roles other than the default role must include either AWSBackup
or
* AwsBackup
in the role name. For example,
* arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names
* without those strings lack permissions to perform backup jobs.
Specifies the IAM role ARN used to create the target recovery point. IAM
* roles other than the default role must include either AWSBackup
or
* AwsBackup
in the role name. For example,
* arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names
* without those strings lack permissions to perform backup jobs.
Specifies the IAM role ARN used to create the target recovery point. IAM
* roles other than the default role must include either AWSBackup
or
* AwsBackup
in the role name. For example,
* arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names
* without those strings lack permissions to perform backup jobs.
Specifies the IAM role ARN used to create the target recovery point. IAM
* roles other than the default role must include either AWSBackup
or
* AwsBackup
in the role name. For example,
* arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names
* without those strings lack permissions to perform backup jobs.
Contains identifying information about the creation of a backup job,
* including the BackupPlanArn
, BackupPlanId
,
* BackupPlanVersion
, and BackupRuleId
of the backup plan
* used to create it.
Contains identifying information about the creation of a backup job,
* including the BackupPlanArn
, BackupPlanId
,
* BackupPlanVersion
, and BackupRuleId
of the backup plan
* used to create it.
Contains identifying information about the creation of a backup job,
* including the BackupPlanArn
, BackupPlanId
,
* BackupPlanVersion
, and BackupRuleId
of the backup plan
* used to create it.
Contains identifying information about the creation of a backup job,
* including the BackupPlanArn
, BackupPlanId
,
* BackupPlanVersion
, and BackupRuleId
of the backup plan
* used to create it.
Contains identifying information about the creation of a backup job,
* including the BackupPlanArn
, BackupPlanId
,
* BackupPlanVersion
, and BackupRuleId
of the backup plan
* used to create it.
Contains identifying information about the creation of a backup job,
* including the BackupPlanArn
, BackupPlanId
,
* BackupPlanVersion
, and BackupRuleId
of the backup plan
* used to create it.
The date and time 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.
The date and time 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.
The date and time 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.
The date and time 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.
The date and time 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.
The date and time 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.
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.
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.
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.
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.
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.
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.
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. For Windows Volume Shadow Copy Service (VSS) * backups, the only supported resource type is Amazon EC2.
*/ 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. For Windows Volume Shadow Copy Service (VSS) * backups, the only supported resource type is Amazon EC2.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *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. For Windows Volume Shadow Copy Service (VSS) * backups, the only supported resource type is Amazon EC2.
*/ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; 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. For Windows Volume Shadow Copy Service (VSS) * backups, the only supported resource type is Amazon EC2.
*/ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; 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. For Windows Volume Shadow Copy Service (VSS) * backups, the only supported resource type is Amazon EC2.
*/ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; 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. For Windows Volume Shadow Copy Service (VSS) * backups, the only supported resource type is Amazon EC2.
*/ inline BackupJob& 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. For Windows Volume Shadow Copy Service (VSS) * backups, the only supported resource type is Amazon EC2.
*/ inline BackupJob& 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. For Windows Volume Shadow Copy Service (VSS) * backups, the only supported resource type is Amazon EC2.
*/ inline BackupJob& 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 bool BytesTransferredHasBeenSet() const { return m_bytesTransferredHasBeenSet; } /** *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_bytesTransferredHasBeenSet = true; m_bytesTransferred = value; } /** *The size in bytes transferred to a backup vault at the time that the job * status was queried.
*/ inline BackupJob& WithBytesTransferred(long long value) { SetBytesTransferred(value); return *this;} /** *Specifies the backup option for a selected resource. This option is only * available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid
* values: Set to "WindowsVSS":"enabled"
to enable the
* WindowsVSS
backup option and create a Windows VSS backup. Set to
* "WindowsVSS":"disabled"
to create a regular backup. If you specify
* an invalid option, you get an InvalidParameterValueException
* exception.
Specifies the backup option for a selected resource. This option is only * available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid
* values: Set to "WindowsVSS":"enabled"
to enable the
* WindowsVSS
backup option and create a Windows VSS backup. Set to
* "WindowsVSS":"disabled"
to create a regular backup. If you specify
* an invalid option, you get an InvalidParameterValueException
* exception.
Specifies the backup option for a selected resource. This option is only * available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid
* values: Set to "WindowsVSS":"enabled"
to enable the
* WindowsVSS
backup option and create a Windows VSS backup. Set to
* "WindowsVSS":"disabled"
to create a regular backup. If you specify
* an invalid option, you get an InvalidParameterValueException
* exception.
Specifies the backup option for a selected resource. This option is only * available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid
* values: Set to "WindowsVSS":"enabled"
to enable the
* WindowsVSS
backup option and create a Windows VSS backup. Set to
* "WindowsVSS":"disabled"
to create a regular backup. If you specify
* an invalid option, you get an InvalidParameterValueException
* exception.
Specifies the backup option for a selected resource. This option is only * available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid
* values: Set to "WindowsVSS":"enabled"
to enable the
* WindowsVSS
backup option and create a Windows VSS backup. Set to
* "WindowsVSS":"disabled"
to create a regular backup. If you specify
* an invalid option, you get an InvalidParameterValueException
* exception.
Specifies the backup option for a selected resource. This option is only * available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid
* values: Set to "WindowsVSS":"enabled"
to enable the
* WindowsVSS
backup option and create a Windows VSS backup. Set to
* "WindowsVSS":"disabled"
to create a regular backup. If you specify
* an invalid option, you get an InvalidParameterValueException
* exception.
Specifies the backup option for a selected resource. This option is only * available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid
* values: Set to "WindowsVSS":"enabled"
to enable the
* WindowsVSS
backup option and create a Windows VSS backup. Set to
* "WindowsVSS":"disabled"
to create a regular backup. If you specify
* an invalid option, you get an InvalidParameterValueException
* exception.
Specifies the backup option for a selected resource. This option is only * available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid
* values: Set to "WindowsVSS":"enabled"
to enable the
* WindowsVSS
backup option and create a Windows VSS backup. Set to
* "WindowsVSS":"disabled"
to create a regular backup. If you specify
* an invalid option, you get an InvalidParameterValueException
* exception.
Specifies the backup option for a selected resource. This option is only * available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid
* values: Set to "WindowsVSS":"enabled"
to enable the
* WindowsVSS
backup option and create a Windows VSS backup. Set to
* "WindowsVSS":"disabled"
to create a regular backup. If you specify
* an invalid option, you get an InvalidParameterValueException
* exception.
Specifies the backup option for a selected resource. This option is only * available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid
* values: Set to "WindowsVSS":"enabled"
to enable the
* WindowsVSS
backup option and create a Windows VSS backup. Set to
* "WindowsVSS":"disabled"
to create a regular backup. If you specify
* an invalid option, you get an InvalidParameterValueException
* exception.
Specifies the backup option for a selected resource. This option is only * available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid
* values: Set to "WindowsVSS":"enabled"
to enable the
* WindowsVSS
backup option and create a Windows VSS backup. Set to
* "WindowsVSS":"disabled"
to create a regular backup. If you specify
* an invalid option, you get an InvalidParameterValueException
* exception.
Specifies the backup option for a selected resource. This option is only * available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid
* values: Set to "WindowsVSS":"enabled"
to enable the
* WindowsVSS
backup option and create a Windows VSS backup. Set to
* "WindowsVSS":"disabled"
to create a regular backup. If you specify
* an invalid option, you get an InvalidParameterValueException
* exception.
Specifies the backup option for a selected resource. This option is only * available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid
* values: Set to "WindowsVSS":"enabled"
to enable the
* WindowsVSS
backup option and create a Windows VSS backup. Set to
* "WindowsVSS":"disabled"
to create a regular backup. If you specify
* an invalid option, you get an InvalidParameterValueException
* exception.
Represents the type of backup for a backup job.
*/ inline const Aws::String& GetBackupType() const{ return m_backupType; } /** *Represents the type of backup for a backup job.
*/ inline bool BackupTypeHasBeenSet() const { return m_backupTypeHasBeenSet; } /** *Represents the type of backup for a backup job.
*/ inline void SetBackupType(const Aws::String& value) { m_backupTypeHasBeenSet = true; m_backupType = value; } /** *Represents the type of backup for a backup job.
*/ inline void SetBackupType(Aws::String&& value) { m_backupTypeHasBeenSet = true; m_backupType = std::move(value); } /** *Represents the type of backup for a backup job.
*/ inline void SetBackupType(const char* value) { m_backupTypeHasBeenSet = true; m_backupType.assign(value); } /** *Represents the type of backup for a backup job.
*/ inline BackupJob& WithBackupType(const Aws::String& value) { SetBackupType(value); return *this;} /** *Represents the type of backup for a backup job.
*/ inline BackupJob& WithBackupType(Aws::String&& value) { SetBackupType(std::move(value)); return *this;} /** *Represents the type of backup for a backup job.
*/ inline BackupJob& WithBackupType(const char* value) { SetBackupType(value); return *this;} /** *This uniquely identifies a request to Backup to back up a resource. The * return will be the parent (composite) job ID.
*/ inline const Aws::String& GetParentJobId() const{ return m_parentJobId; } /** *This uniquely identifies a request to Backup to back up a resource. The * return will be the parent (composite) job ID.
*/ inline bool ParentJobIdHasBeenSet() const { return m_parentJobIdHasBeenSet; } /** *This uniquely identifies a request to Backup to back up a resource. The * return will be the parent (composite) job ID.
*/ inline void SetParentJobId(const Aws::String& value) { m_parentJobIdHasBeenSet = true; m_parentJobId = value; } /** *This uniquely identifies a request to Backup to back up a resource. The * return will be the parent (composite) job ID.
*/ inline void SetParentJobId(Aws::String&& value) { m_parentJobIdHasBeenSet = true; m_parentJobId = std::move(value); } /** *This uniquely identifies a request to Backup to back up a resource. The * return will be the parent (composite) job ID.
*/ inline void SetParentJobId(const char* value) { m_parentJobIdHasBeenSet = true; m_parentJobId.assign(value); } /** *This uniquely identifies a request to Backup to back up a resource. The * return will be the parent (composite) job ID.
*/ inline BackupJob& WithParentJobId(const Aws::String& value) { SetParentJobId(value); return *this;} /** *This uniquely identifies a request to Backup to back up a resource. The * return will be the parent (composite) job ID.
*/ inline BackupJob& WithParentJobId(Aws::String&& value) { SetParentJobId(std::move(value)); return *this;} /** *This uniquely identifies a request to Backup to back up a resource. The * return will be the parent (composite) job ID.
*/ inline BackupJob& WithParentJobId(const char* value) { SetParentJobId(value); return *this;} /** *This is a boolean value indicating this is a parent (composite) backup * job.
*/ inline bool GetIsParent() const{ return m_isParent; } /** *This is a boolean value indicating this is a parent (composite) backup * job.
*/ inline bool IsParentHasBeenSet() const { return m_isParentHasBeenSet; } /** *This is a boolean value indicating this is a parent (composite) backup * job.
*/ inline void SetIsParent(bool value) { m_isParentHasBeenSet = true; m_isParent = value; } /** *This is a boolean value indicating this is a parent (composite) backup * job.
*/ inline BackupJob& WithIsParent(bool value) { SetIsParent(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 bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } /** *This is the non-unique name of the resource that belongs to the specified * backup.
*/ inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; 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_resourceNameHasBeenSet = true; 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_resourceNameHasBeenSet = true; m_resourceName.assign(value); } /** *This is the non-unique name of the resource that belongs to the specified * backup.
*/ inline BackupJob& 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 BackupJob& 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 BackupJob& WithResourceName(const char* value) { SetResourceName(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_backupJobId; bool m_backupJobIdHasBeenSet = false; Aws::String m_backupVaultName; bool m_backupVaultNameHasBeenSet = false; Aws::String m_backupVaultArn; bool m_backupVaultArnHasBeenSet = false; Aws::String m_recoveryPointArn; bool m_recoveryPointArnHasBeenSet = false; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; Aws::Utils::DateTime m_completionDate; bool m_completionDateHasBeenSet = false; BackupJobState m_state; bool m_stateHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; Aws::String m_percentDone; bool m_percentDoneHasBeenSet = false; long long m_backupSizeInBytes; bool m_backupSizeInBytesHasBeenSet = false; Aws::String m_iamRoleArn; bool m_iamRoleArnHasBeenSet = false; RecoveryPointCreator m_createdBy; bool m_createdByHasBeenSet = false; Aws::Utils::DateTime m_expectedCompletionDate; bool m_expectedCompletionDateHasBeenSet = false; Aws::Utils::DateTime m_startBy; bool m_startByHasBeenSet = false; Aws::String m_resourceType; bool m_resourceTypeHasBeenSet = false; long long m_bytesTransferred; bool m_bytesTransferredHasBeenSet = false; Aws::Map