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

The ID of the report.

*/ inline const Aws::String& GetReportId() const{ return m_reportId; } /** *

The ID of the report.

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

The ID of the report.

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

The ID of the report.

*/ inline void SetReportId(const char* value) { m_reportId.assign(value); } /** *

The ID of the report.

*/ inline CreateFindingsReportResult& WithReportId(const Aws::String& value) { SetReportId(value); return *this;} /** *

The ID of the report.

*/ inline CreateFindingsReportResult& WithReportId(Aws::String&& value) { SetReportId(std::move(value)); return *this;} /** *

The ID of the report.

*/ inline CreateFindingsReportResult& WithReportId(const char* value) { SetReportId(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 CreateFindingsReportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateFindingsReportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateFindingsReportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_reportId; Aws::String m_requestId; }; } // namespace Model } // namespace Inspector2 } // namespace Aws