/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a group of anomalous metrics.See Also:
AWS
* API Reference
The start time for the group.
*/ inline const Aws::String& GetStartTime() const{ return m_startTime; } /** *The start time for the group.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The start time for the group.
*/ inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The start time for the group.
*/ inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The start time for the group.
*/ inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); } /** *The start time for the group.
*/ inline AnomalyGroupSummary& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;} /** *The start time for the group.
*/ inline AnomalyGroupSummary& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;} /** *The start time for the group.
*/ inline AnomalyGroupSummary& WithStartTime(const char* value) { SetStartTime(value); return *this;} /** *The end time for the group.
*/ inline const Aws::String& GetEndTime() const{ return m_endTime; } /** *The end time for the group.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The end time for the group.
*/ inline void SetEndTime(const Aws::String& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The end time for the group.
*/ inline void SetEndTime(Aws::String&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The end time for the group.
*/ inline void SetEndTime(const char* value) { m_endTimeHasBeenSet = true; m_endTime.assign(value); } /** *The end time for the group.
*/ inline AnomalyGroupSummary& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;} /** *The end time for the group.
*/ inline AnomalyGroupSummary& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;} /** *The end time for the group.
*/ inline AnomalyGroupSummary& WithEndTime(const char* value) { SetEndTime(value); return *this;} /** *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 AnomalyGroupSummary& WithAnomalyGroupId(const Aws::String& value) { SetAnomalyGroupId(value); return *this;} /** *The ID of the anomaly group.
*/ inline AnomalyGroupSummary& WithAnomalyGroupId(Aws::String&& value) { SetAnomalyGroupId(std::move(value)); return *this;} /** *The ID of the anomaly group.
*/ inline AnomalyGroupSummary& WithAnomalyGroupId(const char* value) { SetAnomalyGroupId(value); return *this;} /** *The severity score of the group.
*/ inline double GetAnomalyGroupScore() const{ return m_anomalyGroupScore; } /** *The severity score of the group.
*/ inline bool AnomalyGroupScoreHasBeenSet() const { return m_anomalyGroupScoreHasBeenSet; } /** *The severity score of the group.
*/ inline void SetAnomalyGroupScore(double value) { m_anomalyGroupScoreHasBeenSet = true; m_anomalyGroupScore = value; } /** *The severity score of the group.
*/ inline AnomalyGroupSummary& WithAnomalyGroupScore(double value) { SetAnomalyGroupScore(value); return *this;} /** *The name of the primary affected measure for the group.
*/ inline const Aws::String& GetPrimaryMetricName() const{ return m_primaryMetricName; } /** *The name of the primary affected measure for the group.
*/ inline bool PrimaryMetricNameHasBeenSet() const { return m_primaryMetricNameHasBeenSet; } /** *The name of the primary affected measure for the group.
*/ inline void SetPrimaryMetricName(const Aws::String& value) { m_primaryMetricNameHasBeenSet = true; m_primaryMetricName = value; } /** *The name of the primary affected measure for the group.
*/ inline void SetPrimaryMetricName(Aws::String&& value) { m_primaryMetricNameHasBeenSet = true; m_primaryMetricName = std::move(value); } /** *The name of the primary affected measure for the group.
*/ inline void SetPrimaryMetricName(const char* value) { m_primaryMetricNameHasBeenSet = true; m_primaryMetricName.assign(value); } /** *The name of the primary affected measure for the group.
*/ inline AnomalyGroupSummary& WithPrimaryMetricName(const Aws::String& value) { SetPrimaryMetricName(value); return *this;} /** *The name of the primary affected measure for the group.
*/ inline AnomalyGroupSummary& WithPrimaryMetricName(Aws::String&& value) { SetPrimaryMetricName(std::move(value)); return *this;} /** *The name of the primary affected measure for the group.
*/ inline AnomalyGroupSummary& WithPrimaryMetricName(const char* value) { SetPrimaryMetricName(value); return *this;} private: Aws::String m_startTime; bool m_startTimeHasBeenSet = false; Aws::String m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_anomalyGroupId; bool m_anomalyGroupIdHasBeenSet = false; double m_anomalyGroupScore; bool m_anomalyGroupScoreHasBeenSet = false; Aws::String m_primaryMetricName; bool m_primaryMetricNameHasBeenSet = false; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws