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

Details about the anomaly group.

*/ inline const AnomalyGroup& GetAnomalyGroup() const{ return m_anomalyGroup; } /** *

Details about the anomaly group.

*/ inline void SetAnomalyGroup(const AnomalyGroup& value) { m_anomalyGroup = value; } /** *

Details about the anomaly group.

*/ inline void SetAnomalyGroup(AnomalyGroup&& value) { m_anomalyGroup = std::move(value); } /** *

Details about the anomaly group.

*/ inline GetAnomalyGroupResult& WithAnomalyGroup(const AnomalyGroup& value) { SetAnomalyGroup(value); return *this;} /** *

Details about the anomaly group.

*/ inline GetAnomalyGroupResult& WithAnomalyGroup(AnomalyGroup&& value) { SetAnomalyGroup(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 GetAnomalyGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAnomalyGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAnomalyGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AnomalyGroup m_anomalyGroup; Aws::String m_requestId; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws