/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Inspector { namespace Model { /** */ class GetAssessmentReportRequest : public InspectorRequest { public: AWS_INSPECTOR_API GetAssessmentReportRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetAssessmentReport"; } AWS_INSPECTOR_API Aws::String SerializePayload() const override; AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ARN that specifies the assessment run for which you want to generate a * report.

*/ inline const Aws::String& GetAssessmentRunArn() const{ return m_assessmentRunArn; } /** *

The ARN that specifies the assessment run for which you want to generate a * report.

*/ inline bool AssessmentRunArnHasBeenSet() const { return m_assessmentRunArnHasBeenSet; } /** *

The ARN that specifies the assessment run for which you want to generate a * report.

*/ inline void SetAssessmentRunArn(const Aws::String& value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn = value; } /** *

The ARN that specifies the assessment run for which you want to generate a * report.

*/ inline void SetAssessmentRunArn(Aws::String&& value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn = std::move(value); } /** *

The ARN that specifies the assessment run for which you want to generate a * report.

*/ inline void SetAssessmentRunArn(const char* value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn.assign(value); } /** *

The ARN that specifies the assessment run for which you want to generate a * report.

*/ inline GetAssessmentReportRequest& WithAssessmentRunArn(const Aws::String& value) { SetAssessmentRunArn(value); return *this;} /** *

The ARN that specifies the assessment run for which you want to generate a * report.

*/ inline GetAssessmentReportRequest& WithAssessmentRunArn(Aws::String&& value) { SetAssessmentRunArn(std::move(value)); return *this;} /** *

The ARN that specifies the assessment run for which you want to generate a * report.

*/ inline GetAssessmentReportRequest& WithAssessmentRunArn(const char* value) { SetAssessmentRunArn(value); return *this;} /** *

Specifies the file format (html or pdf) of the assessment report that you * want to generate.

*/ inline const ReportFileFormat& GetReportFileFormat() const{ return m_reportFileFormat; } /** *

Specifies the file format (html or pdf) of the assessment report that you * want to generate.

*/ inline bool ReportFileFormatHasBeenSet() const { return m_reportFileFormatHasBeenSet; } /** *

Specifies the file format (html or pdf) of the assessment report that you * want to generate.

*/ inline void SetReportFileFormat(const ReportFileFormat& value) { m_reportFileFormatHasBeenSet = true; m_reportFileFormat = value; } /** *

Specifies the file format (html or pdf) of the assessment report that you * want to generate.

*/ inline void SetReportFileFormat(ReportFileFormat&& value) { m_reportFileFormatHasBeenSet = true; m_reportFileFormat = std::move(value); } /** *

Specifies the file format (html or pdf) of the assessment report that you * want to generate.

*/ inline GetAssessmentReportRequest& WithReportFileFormat(const ReportFileFormat& value) { SetReportFileFormat(value); return *this;} /** *

Specifies the file format (html or pdf) of the assessment report that you * want to generate.

*/ inline GetAssessmentReportRequest& WithReportFileFormat(ReportFileFormat&& value) { SetReportFileFormat(std::move(value)); return *this;} /** *

Specifies the type of the assessment report that you want to generate. There * are two types of assessment reports: a finding report and a full report. For * more information, see Assessment * Reports.

*/ inline const ReportType& GetReportType() const{ return m_reportType; } /** *

Specifies the type of the assessment report that you want to generate. There * are two types of assessment reports: a finding report and a full report. For * more information, see Assessment * Reports.

*/ inline bool ReportTypeHasBeenSet() const { return m_reportTypeHasBeenSet; } /** *

Specifies the type of the assessment report that you want to generate. There * are two types of assessment reports: a finding report and a full report. For * more information, see Assessment * Reports.

*/ inline void SetReportType(const ReportType& value) { m_reportTypeHasBeenSet = true; m_reportType = value; } /** *

Specifies the type of the assessment report that you want to generate. There * are two types of assessment reports: a finding report and a full report. For * more information, see Assessment * Reports.

*/ inline void SetReportType(ReportType&& value) { m_reportTypeHasBeenSet = true; m_reportType = std::move(value); } /** *

Specifies the type of the assessment report that you want to generate. There * are two types of assessment reports: a finding report and a full report. For * more information, see Assessment * Reports.

*/ inline GetAssessmentReportRequest& WithReportType(const ReportType& value) { SetReportType(value); return *this;} /** *

Specifies the type of the assessment report that you want to generate. There * are two types of assessment reports: a finding report and a full report. For * more information, see Assessment * Reports.

*/ inline GetAssessmentReportRequest& WithReportType(ReportType&& value) { SetReportType(std::move(value)); return *this;} private: Aws::String m_assessmentRunArn; bool m_assessmentRunArnHasBeenSet = false; ReportFileFormat m_reportFileFormat; bool m_reportFileFormatHasBeenSet = false; ReportType m_reportType; bool m_reportTypeHasBeenSet = false; }; } // namespace Model } // namespace Inspector } // namespace Aws