/** * 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 DescribeAnomalyResult { public: AWS_DEVOPSGURU_API DescribeAnomalyResult(); AWS_DEVOPSGURU_API DescribeAnomalyResult(const Aws::AmazonWebServiceResult& result); AWS_DEVOPSGURU_API DescribeAnomalyResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A ProactiveAnomaly object that represents the requested * anomaly.

*/ inline const ProactiveAnomaly& GetProactiveAnomaly() const{ return m_proactiveAnomaly; } /** *

A ProactiveAnomaly object that represents the requested * anomaly.

*/ inline void SetProactiveAnomaly(const ProactiveAnomaly& value) { m_proactiveAnomaly = value; } /** *

A ProactiveAnomaly object that represents the requested * anomaly.

*/ inline void SetProactiveAnomaly(ProactiveAnomaly&& value) { m_proactiveAnomaly = std::move(value); } /** *

A ProactiveAnomaly object that represents the requested * anomaly.

*/ inline DescribeAnomalyResult& WithProactiveAnomaly(const ProactiveAnomaly& value) { SetProactiveAnomaly(value); return *this;} /** *

A ProactiveAnomaly object that represents the requested * anomaly.

*/ inline DescribeAnomalyResult& WithProactiveAnomaly(ProactiveAnomaly&& value) { SetProactiveAnomaly(std::move(value)); return *this;} /** *

A ReactiveAnomaly object that represents the requested anomaly. *

*/ inline const ReactiveAnomaly& GetReactiveAnomaly() const{ return m_reactiveAnomaly; } /** *

A ReactiveAnomaly object that represents the requested anomaly. *

*/ inline void SetReactiveAnomaly(const ReactiveAnomaly& value) { m_reactiveAnomaly = value; } /** *

A ReactiveAnomaly object that represents the requested anomaly. *

*/ inline void SetReactiveAnomaly(ReactiveAnomaly&& value) { m_reactiveAnomaly = std::move(value); } /** *

A ReactiveAnomaly object that represents the requested anomaly. *

*/ inline DescribeAnomalyResult& WithReactiveAnomaly(const ReactiveAnomaly& value) { SetReactiveAnomaly(value); return *this;} /** *

A ReactiveAnomaly object that represents the requested anomaly. *

*/ inline DescribeAnomalyResult& WithReactiveAnomaly(ReactiveAnomaly&& value) { SetReactiveAnomaly(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 DescribeAnomalyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAnomalyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAnomalyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ProactiveAnomaly m_proactiveAnomaly; ReactiveAnomaly m_reactiveAnomaly; Aws::String m_requestId; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws