/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains detailed information about a report job. A report job compiles a
* report based on a report plan and publishes it to Amazon S3.See
* Also:
AWS
* API Reference
The identifier for a report job. A unique, randomly generated, Unicode, UTF-8 * encoded string that is at most 1,024 bytes long. Report job IDs cannot be * edited.
*/ inline const Aws::String& GetReportJobId() const{ return m_reportJobId; } /** *The identifier for a report job. A unique, randomly generated, Unicode, UTF-8 * encoded string that is at most 1,024 bytes long. Report job IDs cannot be * edited.
*/ inline bool ReportJobIdHasBeenSet() const { return m_reportJobIdHasBeenSet; } /** *The identifier for a report job. A unique, randomly generated, Unicode, UTF-8 * encoded string that is at most 1,024 bytes long. Report job IDs cannot be * edited.
*/ inline void SetReportJobId(const Aws::String& value) { m_reportJobIdHasBeenSet = true; m_reportJobId = value; } /** *The identifier for a report job. A unique, randomly generated, Unicode, UTF-8 * encoded string that is at most 1,024 bytes long. Report job IDs cannot be * edited.
*/ inline void SetReportJobId(Aws::String&& value) { m_reportJobIdHasBeenSet = true; m_reportJobId = std::move(value); } /** *The identifier for a report job. A unique, randomly generated, Unicode, UTF-8 * encoded string that is at most 1,024 bytes long. Report job IDs cannot be * edited.
*/ inline void SetReportJobId(const char* value) { m_reportJobIdHasBeenSet = true; m_reportJobId.assign(value); } /** *The identifier for a report job. A unique, randomly generated, Unicode, UTF-8 * encoded string that is at most 1,024 bytes long. Report job IDs cannot be * edited.
*/ inline ReportJob& WithReportJobId(const Aws::String& value) { SetReportJobId(value); return *this;} /** *The identifier for a report job. A unique, randomly generated, Unicode, UTF-8 * encoded string that is at most 1,024 bytes long. Report job IDs cannot be * edited.
*/ inline ReportJob& WithReportJobId(Aws::String&& value) { SetReportJobId(std::move(value)); return *this;} /** *The identifier for a report job. A unique, randomly generated, Unicode, UTF-8 * encoded string that is at most 1,024 bytes long. Report job IDs cannot be * edited.
*/ inline ReportJob& WithReportJobId(const char* value) { SetReportJobId(value); return *this;} /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline const Aws::String& GetReportPlanArn() const{ return m_reportPlanArn; } /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline bool ReportPlanArnHasBeenSet() const { return m_reportPlanArnHasBeenSet; } /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline void SetReportPlanArn(const Aws::String& value) { m_reportPlanArnHasBeenSet = true; m_reportPlanArn = value; } /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline void SetReportPlanArn(Aws::String&& value) { m_reportPlanArnHasBeenSet = true; m_reportPlanArn = std::move(value); } /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline void SetReportPlanArn(const char* value) { m_reportPlanArnHasBeenSet = true; m_reportPlanArn.assign(value); } /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline ReportJob& WithReportPlanArn(const Aws::String& value) { SetReportPlanArn(value); return *this;} /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline ReportJob& WithReportPlanArn(Aws::String&& value) { SetReportPlanArn(std::move(value)); return *this;} /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline ReportJob& WithReportPlanArn(const char* value) { SetReportPlanArn(value); return *this;} /** *Identifies the report template for the report. Reports are built using a * report template. The report templates are:
* RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT
* | COPY_JOB_REPORT | RESTORE_JOB_REPORT
Identifies the report template for the report. Reports are built using a * report template. The report templates are:
* RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT
* | COPY_JOB_REPORT | RESTORE_JOB_REPORT
Identifies the report template for the report. Reports are built using a * report template. The report templates are:
* RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT
* | COPY_JOB_REPORT | RESTORE_JOB_REPORT
Identifies the report template for the report. Reports are built using a * report template. The report templates are:
* RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT
* | COPY_JOB_REPORT | RESTORE_JOB_REPORT
Identifies the report template for the report. Reports are built using a * report template. The report templates are:
* RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT
* | COPY_JOB_REPORT | RESTORE_JOB_REPORT
Identifies the report template for the report. Reports are built using a * report template. The report templates are:
* RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT
* | COPY_JOB_REPORT | RESTORE_JOB_REPORT
Identifies the report template for the report. Reports are built using a * report template. The report templates are:
* RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT
* | COPY_JOB_REPORT | RESTORE_JOB_REPORT
Identifies the report template for the report. Reports are built using a * report template. The report templates are:
* RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT
* | COPY_JOB_REPORT | RESTORE_JOB_REPORT
The date and time that a report job is created, in Unix format and
* Coordinated Universal Time (UTC). The value of CreationTime
is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time that a report job is created, in Unix format and
* Coordinated Universal Time (UTC). The value of CreationTime
is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time that a report job is created, in Unix format and
* Coordinated Universal Time (UTC). The value of CreationTime
is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time that a report job is created, in Unix format and
* Coordinated Universal Time (UTC). The value of CreationTime
is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time that a report job is created, in Unix format and
* Coordinated Universal Time (UTC). The value of CreationTime
is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time that a report job is created, in Unix format and
* Coordinated Universal Time (UTC). The value of CreationTime
is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time that a report job is completed, in Unix format and
* Coordinated Universal Time (UTC). The value of CompletionTime
is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time that a report job is completed, in Unix format and
* Coordinated Universal Time (UTC). The value of CompletionTime
is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time that a report job is completed, in Unix format and
* Coordinated Universal Time (UTC). The value of CompletionTime
is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time that a report job is completed, in Unix format and
* Coordinated Universal Time (UTC). The value of CompletionTime
is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time that a report job is completed, in Unix format and
* Coordinated Universal Time (UTC). The value of CompletionTime
is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time that a report job is completed, in Unix format and
* Coordinated Universal Time (UTC). The value of CompletionTime
is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The status of a report job. The statuses are:
CREATED | RUNNING
* | COMPLETED | FAILED
COMPLETED
means that the
* report is available for your review at your designated destination. If the
* status is FAILED
, review the StatusMessage
for the
* reason.
The status of a report job. The statuses are:
CREATED | RUNNING
* | COMPLETED | FAILED
COMPLETED
means that the
* report is available for your review at your designated destination. If the
* status is FAILED
, review the StatusMessage
for the
* reason.
The status of a report job. The statuses are:
CREATED | RUNNING
* | COMPLETED | FAILED
COMPLETED
means that the
* report is available for your review at your designated destination. If the
* status is FAILED
, review the StatusMessage
for the
* reason.
The status of a report job. The statuses are:
CREATED | RUNNING
* | COMPLETED | FAILED
COMPLETED
means that the
* report is available for your review at your designated destination. If the
* status is FAILED
, review the StatusMessage
for the
* reason.
The status of a report job. The statuses are:
CREATED | RUNNING
* | COMPLETED | FAILED
COMPLETED
means that the
* report is available for your review at your designated destination. If the
* status is FAILED
, review the StatusMessage
for the
* reason.
The status of a report job. The statuses are:
CREATED | RUNNING
* | COMPLETED | FAILED
COMPLETED
means that the
* report is available for your review at your designated destination. If the
* status is FAILED
, review the StatusMessage
for the
* reason.
The status of a report job. The statuses are:
CREATED | RUNNING
* | COMPLETED | FAILED
COMPLETED
means that the
* report is available for your review at your designated destination. If the
* status is FAILED
, review the StatusMessage
for the
* reason.
The status of a report job. The statuses are:
CREATED | RUNNING
* | COMPLETED | FAILED
COMPLETED
means that the
* report is available for your review at your designated destination. If the
* status is FAILED
, review the StatusMessage
for the
* reason.
A message explaining the status of the report job.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *A message explaining the status of the report job.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *A message explaining the status of the report job.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *A message explaining the status of the report job.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *A message explaining the status of the report job.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *A message explaining the status of the report job.
*/ inline ReportJob& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *A message explaining the status of the report job.
*/ inline ReportJob& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *A message explaining the status of the report job.
*/ inline ReportJob& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *The S3 bucket name and S3 keys for the destination where the report job * publishes the report.
*/ inline const ReportDestination& GetReportDestination() const{ return m_reportDestination; } /** *The S3 bucket name and S3 keys for the destination where the report job * publishes the report.
*/ inline bool ReportDestinationHasBeenSet() const { return m_reportDestinationHasBeenSet; } /** *The S3 bucket name and S3 keys for the destination where the report job * publishes the report.
*/ inline void SetReportDestination(const ReportDestination& value) { m_reportDestinationHasBeenSet = true; m_reportDestination = value; } /** *The S3 bucket name and S3 keys for the destination where the report job * publishes the report.
*/ inline void SetReportDestination(ReportDestination&& value) { m_reportDestinationHasBeenSet = true; m_reportDestination = std::move(value); } /** *The S3 bucket name and S3 keys for the destination where the report job * publishes the report.
*/ inline ReportJob& WithReportDestination(const ReportDestination& value) { SetReportDestination(value); return *this;} /** *The S3 bucket name and S3 keys for the destination where the report job * publishes the report.
*/ inline ReportJob& WithReportDestination(ReportDestination&& value) { SetReportDestination(std::move(value)); return *this;} private: Aws::String m_reportJobId; bool m_reportJobIdHasBeenSet = false; Aws::String m_reportPlanArn; bool m_reportPlanArnHasBeenSet = false; Aws::String m_reportTemplate; bool m_reportTemplateHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_completionTime; bool m_completionTimeHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; ReportDestination m_reportDestination; bool m_reportDestinationHasBeenSet = false; }; } // namespace Model } // namespace Backup } // namespace Aws