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

The summary information of an insight.

*/ inline const Insight& GetInsight() const{ return m_insight; } /** *

The summary information of an insight.

*/ inline void SetInsight(const Insight& value) { m_insight = value; } /** *

The summary information of an insight.

*/ inline void SetInsight(Insight&& value) { m_insight = std::move(value); } /** *

The summary information of an insight.

*/ inline GetInsightResult& WithInsight(const Insight& value) { SetInsight(value); return *this;} /** *

The summary information of an insight.

*/ inline GetInsightResult& WithInsight(Insight&& value) { SetInsight(std::move(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 GetInsightResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetInsightResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetInsightResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Insight m_insight; Aws::String m_requestId; }; } // namespace Model } // namespace XRay } // namespace Aws