/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CodeBuild { namespace Model { /** *

Contains the unmodified data for the report. For more information, see * .

See Also:

AWS * API Reference

*/ class ReportWithRawData { public: AWS_CODEBUILD_API ReportWithRawData(); AWS_CODEBUILD_API ReportWithRawData(Aws::Utils::Json::JsonView jsonValue); AWS_CODEBUILD_API ReportWithRawData& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ARN of the report.

*/ inline const Aws::String& GetReportArn() const{ return m_reportArn; } /** *

The ARN of the report.

*/ inline bool ReportArnHasBeenSet() const { return m_reportArnHasBeenSet; } /** *

The ARN of the report.

*/ inline void SetReportArn(const Aws::String& value) { m_reportArnHasBeenSet = true; m_reportArn = value; } /** *

The ARN of the report.

*/ inline void SetReportArn(Aws::String&& value) { m_reportArnHasBeenSet = true; m_reportArn = std::move(value); } /** *

The ARN of the report.

*/ inline void SetReportArn(const char* value) { m_reportArnHasBeenSet = true; m_reportArn.assign(value); } /** *

The ARN of the report.

*/ inline ReportWithRawData& WithReportArn(const Aws::String& value) { SetReportArn(value); return *this;} /** *

The ARN of the report.

*/ inline ReportWithRawData& WithReportArn(Aws::String&& value) { SetReportArn(std::move(value)); return *this;} /** *

The ARN of the report.

*/ inline ReportWithRawData& WithReportArn(const char* value) { SetReportArn(value); return *this;} /** *

The value of the requested data field from the report.

*/ inline const Aws::String& GetData() const{ return m_data; } /** *

The value of the requested data field from the report.

*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *

The value of the requested data field from the report.

*/ inline void SetData(const Aws::String& value) { m_dataHasBeenSet = true; m_data = value; } /** *

The value of the requested data field from the report.

*/ inline void SetData(Aws::String&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** *

The value of the requested data field from the report.

*/ inline void SetData(const char* value) { m_dataHasBeenSet = true; m_data.assign(value); } /** *

The value of the requested data field from the report.

*/ inline ReportWithRawData& WithData(const Aws::String& value) { SetData(value); return *this;} /** *

The value of the requested data field from the report.

*/ inline ReportWithRawData& WithData(Aws::String&& value) { SetData(std::move(value)); return *this;} /** *

The value of the requested data field from the report.

*/ inline ReportWithRawData& WithData(const char* value) { SetData(value); return *this;} private: Aws::String m_reportArn; bool m_reportArnHasBeenSet = false; Aws::String m_data; bool m_dataHasBeenSet = false; }; } // namespace Model } // namespace CodeBuild } // namespace Aws