/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Inspector { namespace Model { class GetAssessmentReportResult { public: AWS_INSPECTOR_API GetAssessmentReportResult(); AWS_INSPECTOR_API GetAssessmentReportResult(const Aws::AmazonWebServiceResult& result); AWS_INSPECTOR_API GetAssessmentReportResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Specifies the status of the request to generate an assessment report.

*/ inline const ReportStatus& GetStatus() const{ return m_status; } /** *

Specifies the status of the request to generate an assessment report.

*/ inline void SetStatus(const ReportStatus& value) { m_status = value; } /** *

Specifies the status of the request to generate an assessment report.

*/ inline void SetStatus(ReportStatus&& value) { m_status = std::move(value); } /** *

Specifies the status of the request to generate an assessment report.

*/ inline GetAssessmentReportResult& WithStatus(const ReportStatus& value) { SetStatus(value); return *this;} /** *

Specifies the status of the request to generate an assessment report.

*/ inline GetAssessmentReportResult& WithStatus(ReportStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

Specifies the URL where you can find the generated assessment report. This * parameter is only returned if the report is successfully generated.

*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *

Specifies the URL where you can find the generated assessment report. This * parameter is only returned if the report is successfully generated.

*/ inline void SetUrl(const Aws::String& value) { m_url = value; } /** *

Specifies the URL where you can find the generated assessment report. This * parameter is only returned if the report is successfully generated.

*/ inline void SetUrl(Aws::String&& value) { m_url = std::move(value); } /** *

Specifies the URL where you can find the generated assessment report. This * parameter is only returned if the report is successfully generated.

*/ inline void SetUrl(const char* value) { m_url.assign(value); } /** *

Specifies the URL where you can find the generated assessment report. This * parameter is only returned if the report is successfully generated.

*/ inline GetAssessmentReportResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *

Specifies the URL where you can find the generated assessment report. This * parameter is only returned if the report is successfully generated.

*/ inline GetAssessmentReportResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *

Specifies the URL where you can find the generated assessment report. This * parameter is only returned if the report is successfully generated.

*/ inline GetAssessmentReportResult& WithUrl(const char* value) { SetUrl(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetAssessmentReportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAssessmentReportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAssessmentReportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ReportStatus m_status; Aws::String m_url; Aws::String m_requestId; }; } // namespace Model } // namespace Inspector } // namespace Aws