/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the results from running a series of test cases during the
* run of a build project. The test cases are specified in the buildspec for the
* build project using one or more paths to the test case files. You can specify
* any type of tests you want, such as unit tests, integration tests, and
* functional tests. See Also:
AWS
* API Reference
The ARN of the report run.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the report run.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the report run.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the report run.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the report run.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the report run.
*/ inline Report& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the report run.
*/ inline Report& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the report run.
*/ inline Report& WithArn(const char* value) { SetArn(value); return *this;} /** *The type of the report that was run.
A code coverage report.
A test report.
*The type of the report that was run.
A code coverage report.
A test report.
*The type of the report that was run.
A code coverage report.
A test report.
*The type of the report that was run.
A code coverage report.
A test report.
*The type of the report that was run.
A code coverage report.
A test report.
*The type of the report that was run.
A code coverage report.
A test report.
*The name of the report that was run.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the report that was run.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the report that was run.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the report that was run.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the report that was run.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the report that was run.
*/ inline Report& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the report that was run.
*/ inline Report& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the report that was run.
*/ inline Report& WithName(const char* value) { SetName(value); return *this;} /** *The ARN of the report group associated with this report.
*/ inline const Aws::String& GetReportGroupArn() const{ return m_reportGroupArn; } /** *The ARN of the report group associated with this report.
*/ inline bool ReportGroupArnHasBeenSet() const { return m_reportGroupArnHasBeenSet; } /** *The ARN of the report group associated with this report.
*/ inline void SetReportGroupArn(const Aws::String& value) { m_reportGroupArnHasBeenSet = true; m_reportGroupArn = value; } /** *The ARN of the report group associated with this report.
*/ inline void SetReportGroupArn(Aws::String&& value) { m_reportGroupArnHasBeenSet = true; m_reportGroupArn = std::move(value); } /** *The ARN of the report group associated with this report.
*/ inline void SetReportGroupArn(const char* value) { m_reportGroupArnHasBeenSet = true; m_reportGroupArn.assign(value); } /** *The ARN of the report group associated with this report.
*/ inline Report& WithReportGroupArn(const Aws::String& value) { SetReportGroupArn(value); return *this;} /** *The ARN of the report group associated with this report.
*/ inline Report& WithReportGroupArn(Aws::String&& value) { SetReportGroupArn(std::move(value)); return *this;} /** *The ARN of the report group associated with this report.
*/ inline Report& WithReportGroupArn(const char* value) { SetReportGroupArn(value); return *this;} /** *The ARN of the build run that generated this report.
*/ inline const Aws::String& GetExecutionId() const{ return m_executionId; } /** *The ARN of the build run that generated this report.
*/ inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; } /** *The ARN of the build run that generated this report.
*/ inline void SetExecutionId(const Aws::String& value) { m_executionIdHasBeenSet = true; m_executionId = value; } /** *The ARN of the build run that generated this report.
*/ inline void SetExecutionId(Aws::String&& value) { m_executionIdHasBeenSet = true; m_executionId = std::move(value); } /** *The ARN of the build run that generated this report.
*/ inline void SetExecutionId(const char* value) { m_executionIdHasBeenSet = true; m_executionId.assign(value); } /** *The ARN of the build run that generated this report.
*/ inline Report& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;} /** *The ARN of the build run that generated this report.
*/ inline Report& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;} /** *The ARN of the build run that generated this report.
*/ inline Report& WithExecutionId(const char* value) { SetExecutionId(value); return *this;} /** *The status of this report.
*/ inline const ReportStatusType& GetStatus() const{ return m_status; } /** *The status of this report.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of this report.
*/ inline void SetStatus(const ReportStatusType& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of this report.
*/ inline void SetStatus(ReportStatusType&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of this report.
*/ inline Report& WithStatus(const ReportStatusType& value) { SetStatus(value); return *this;} /** *The status of this report.
*/ inline Report& WithStatus(ReportStatusType&& value) { SetStatus(std::move(value)); return *this;} /** *The date and time this report run occurred.
*/ inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; } /** *The date and time this report run occurred.
*/ inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; } /** *The date and time this report run occurred.
*/ inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; } /** *The date and time this report run occurred.
*/ inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); } /** *The date and time this report run occurred.
*/ inline Report& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *The date and time this report run occurred.
*/ inline Report& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;} /** *The date and time a report expires. A report expires 30 days after it is * created. An expired report is not available to view in CodeBuild.
*/ inline const Aws::Utils::DateTime& GetExpired() const{ return m_expired; } /** *The date and time a report expires. A report expires 30 days after it is * created. An expired report is not available to view in CodeBuild.
*/ inline bool ExpiredHasBeenSet() const { return m_expiredHasBeenSet; } /** *The date and time a report expires. A report expires 30 days after it is * created. An expired report is not available to view in CodeBuild.
*/ inline void SetExpired(const Aws::Utils::DateTime& value) { m_expiredHasBeenSet = true; m_expired = value; } /** *The date and time a report expires. A report expires 30 days after it is * created. An expired report is not available to view in CodeBuild.
*/ inline void SetExpired(Aws::Utils::DateTime&& value) { m_expiredHasBeenSet = true; m_expired = std::move(value); } /** *The date and time a report expires. A report expires 30 days after it is * created. An expired report is not available to view in CodeBuild.
*/ inline Report& WithExpired(const Aws::Utils::DateTime& value) { SetExpired(value); return *this;} /** *The date and time a report expires. A report expires 30 days after it is * created. An expired report is not available to view in CodeBuild.
*/ inline Report& WithExpired(Aws::Utils::DateTime&& value) { SetExpired(std::move(value)); return *this;} /** *Information about where the raw data used to generate this report was * exported.
*/ inline const ReportExportConfig& GetExportConfig() const{ return m_exportConfig; } /** *Information about where the raw data used to generate this report was * exported.
*/ inline bool ExportConfigHasBeenSet() const { return m_exportConfigHasBeenSet; } /** *Information about where the raw data used to generate this report was * exported.
*/ inline void SetExportConfig(const ReportExportConfig& value) { m_exportConfigHasBeenSet = true; m_exportConfig = value; } /** *Information about where the raw data used to generate this report was * exported.
*/ inline void SetExportConfig(ReportExportConfig&& value) { m_exportConfigHasBeenSet = true; m_exportConfig = std::move(value); } /** *Information about where the raw data used to generate this report was * exported.
*/ inline Report& WithExportConfig(const ReportExportConfig& value) { SetExportConfig(value); return *this;} /** *Information about where the raw data used to generate this report was * exported.
*/ inline Report& WithExportConfig(ReportExportConfig&& value) { SetExportConfig(std::move(value)); return *this;} /** *A boolean that specifies if this report run is truncated. The list of test * cases is truncated after the maximum number of test cases is reached.
*/ inline bool GetTruncated() const{ return m_truncated; } /** *A boolean that specifies if this report run is truncated. The list of test * cases is truncated after the maximum number of test cases is reached.
*/ inline bool TruncatedHasBeenSet() const { return m_truncatedHasBeenSet; } /** *A boolean that specifies if this report run is truncated. The list of test * cases is truncated after the maximum number of test cases is reached.
*/ inline void SetTruncated(bool value) { m_truncatedHasBeenSet = true; m_truncated = value; } /** *A boolean that specifies if this report run is truncated. The list of test * cases is truncated after the maximum number of test cases is reached.
*/ inline Report& WithTruncated(bool value) { SetTruncated(value); return *this;} /** * A TestReportSummary
object that contains information about this
* test report.
A TestReportSummary
object that contains information about this
* test report.
A TestReportSummary
object that contains information about this
* test report.
A TestReportSummary
object that contains information about this
* test report.
A TestReportSummary
object that contains information about this
* test report.
A TestReportSummary
object that contains information about this
* test report.
A CodeCoverageReportSummary
object that contains a code coverage
* summary for this report.
A CodeCoverageReportSummary
object that contains a code coverage
* summary for this report.
A CodeCoverageReportSummary
object that contains a code coverage
* summary for this report.
A CodeCoverageReportSummary
object that contains a code coverage
* summary for this report.
A CodeCoverageReportSummary
object that contains a code coverage
* summary for this report.
A CodeCoverageReportSummary
object that contains a code coverage
* summary for this report.