/** * 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 SecurityHub { namespace Model { class AWS_SECURITYHUB_API GetInsightResultsResult { public: GetInsightResultsResult(); GetInsightResultsResult(const Aws::AmazonWebServiceResult& result); GetInsightResultsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The insight results returned by the operation.

*/ inline const InsightResults& GetInsightResults() const{ return m_insightResults; } /** *

The insight results returned by the operation.

*/ inline void SetInsightResults(const InsightResults& value) { m_insightResults = value; } /** *

The insight results returned by the operation.

*/ inline void SetInsightResults(InsightResults&& value) { m_insightResults = std::move(value); } /** *

The insight results returned by the operation.

*/ inline GetInsightResultsResult& WithInsightResults(const InsightResults& value) { SetInsightResults(value); return *this;} /** *

The insight results returned by the operation.

*/ inline GetInsightResultsResult& WithInsightResults(InsightResults&& value) { SetInsightResults(std::move(value)); return *this;} private: InsightResults m_insightResults; }; } // namespace Model } // namespace SecurityHub } // namespace Aws