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

A ProactiveInsight object that represents the requested * insight.

*/ inline const ProactiveInsight& GetProactiveInsight() const{ return m_proactiveInsight; } /** *

A ProactiveInsight object that represents the requested * insight.

*/ inline void SetProactiveInsight(const ProactiveInsight& value) { m_proactiveInsight = value; } /** *

A ProactiveInsight object that represents the requested * insight.

*/ inline void SetProactiveInsight(ProactiveInsight&& value) { m_proactiveInsight = std::move(value); } /** *

A ProactiveInsight object that represents the requested * insight.

*/ inline DescribeInsightResult& WithProactiveInsight(const ProactiveInsight& value) { SetProactiveInsight(value); return *this;} /** *

A ProactiveInsight object that represents the requested * insight.

*/ inline DescribeInsightResult& WithProactiveInsight(ProactiveInsight&& value) { SetProactiveInsight(std::move(value)); return *this;} /** *

A ReactiveInsight object that represents the requested insight. *

*/ inline const ReactiveInsight& GetReactiveInsight() const{ return m_reactiveInsight; } /** *

A ReactiveInsight object that represents the requested insight. *

*/ inline void SetReactiveInsight(const ReactiveInsight& value) { m_reactiveInsight = value; } /** *

A ReactiveInsight object that represents the requested insight. *

*/ inline void SetReactiveInsight(ReactiveInsight&& value) { m_reactiveInsight = std::move(value); } /** *

A ReactiveInsight object that represents the requested insight. *

*/ inline DescribeInsightResult& WithReactiveInsight(const ReactiveInsight& value) { SetReactiveInsight(value); return *this;} /** *

A ReactiveInsight object that represents the requested insight. *

*/ inline DescribeInsightResult& WithReactiveInsight(ReactiveInsight&& value) { SetReactiveInsight(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 DescribeInsightResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeInsightResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeInsightResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ProactiveInsight m_proactiveInsight; ReactiveInsight m_reactiveInsight; Aws::String m_requestId; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws