/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Feedback for an anomalous metric.See Also:
AWS
* API Reference
The ID of the anomaly group.
*/ inline const Aws::String& GetAnomalyGroupId() const{ return m_anomalyGroupId; } /** *The ID of the anomaly group.
*/ inline bool AnomalyGroupIdHasBeenSet() const { return m_anomalyGroupIdHasBeenSet; } /** *The ID of the anomaly group.
*/ inline void SetAnomalyGroupId(const Aws::String& value) { m_anomalyGroupIdHasBeenSet = true; m_anomalyGroupId = value; } /** *The ID of the anomaly group.
*/ inline void SetAnomalyGroupId(Aws::String&& value) { m_anomalyGroupIdHasBeenSet = true; m_anomalyGroupId = std::move(value); } /** *The ID of the anomaly group.
*/ inline void SetAnomalyGroupId(const char* value) { m_anomalyGroupIdHasBeenSet = true; m_anomalyGroupId.assign(value); } /** *The ID of the anomaly group.
*/ inline AnomalyGroupTimeSeriesFeedback& WithAnomalyGroupId(const Aws::String& value) { SetAnomalyGroupId(value); return *this;} /** *The ID of the anomaly group.
*/ inline AnomalyGroupTimeSeriesFeedback& WithAnomalyGroupId(Aws::String&& value) { SetAnomalyGroupId(std::move(value)); return *this;} /** *The ID of the anomaly group.
*/ inline AnomalyGroupTimeSeriesFeedback& WithAnomalyGroupId(const char* value) { SetAnomalyGroupId(value); return *this;} /** *The ID of the metric.
*/ inline const Aws::String& GetTimeSeriesId() const{ return m_timeSeriesId; } /** *The ID of the metric.
*/ inline bool TimeSeriesIdHasBeenSet() const { return m_timeSeriesIdHasBeenSet; } /** *The ID of the metric.
*/ inline void SetTimeSeriesId(const Aws::String& value) { m_timeSeriesIdHasBeenSet = true; m_timeSeriesId = value; } /** *The ID of the metric.
*/ inline void SetTimeSeriesId(Aws::String&& value) { m_timeSeriesIdHasBeenSet = true; m_timeSeriesId = std::move(value); } /** *The ID of the metric.
*/ inline void SetTimeSeriesId(const char* value) { m_timeSeriesIdHasBeenSet = true; m_timeSeriesId.assign(value); } /** *The ID of the metric.
*/ inline AnomalyGroupTimeSeriesFeedback& WithTimeSeriesId(const Aws::String& value) { SetTimeSeriesId(value); return *this;} /** *The ID of the metric.
*/ inline AnomalyGroupTimeSeriesFeedback& WithTimeSeriesId(Aws::String&& value) { SetTimeSeriesId(std::move(value)); return *this;} /** *The ID of the metric.
*/ inline AnomalyGroupTimeSeriesFeedback& WithTimeSeriesId(const char* value) { SetTimeSeriesId(value); return *this;} /** *Feedback on whether the metric is a legitimate anomaly.
*/ inline bool GetIsAnomaly() const{ return m_isAnomaly; } /** *Feedback on whether the metric is a legitimate anomaly.
*/ inline bool IsAnomalyHasBeenSet() const { return m_isAnomalyHasBeenSet; } /** *Feedback on whether the metric is a legitimate anomaly.
*/ inline void SetIsAnomaly(bool value) { m_isAnomalyHasBeenSet = true; m_isAnomaly = value; } /** *Feedback on whether the metric is a legitimate anomaly.
*/ inline AnomalyGroupTimeSeriesFeedback& WithIsAnomaly(bool value) { SetIsAnomaly(value); return *this;} private: Aws::String m_anomalyGroupId; bool m_anomalyGroupIdHasBeenSet = false; Aws::String m_timeSeriesId; bool m_timeSeriesIdHasBeenSet = false; bool m_isAnomaly; bool m_isAnomalyHasBeenSet = false; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws