7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lookoutmetrics/model/MetricLevelImpact.h>
23namespace LookoutMetrics
48 template<
typename StartTimeT = Aws::String>
49 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
50 template<
typename StartTimeT = Aws::String>
60 template<
typename EndTimeT = Aws::String>
61 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
62 template<
typename EndTimeT = Aws::String>
72 template<
typename AnomalyGroupIdT = Aws::String>
73 void SetAnomalyGroupId(AnomalyGroupIdT&& value) { m_anomalyGroupIdHasBeenSet =
true; m_anomalyGroupId = std::forward<AnomalyGroupIdT>(value); }
74 template<
typename AnomalyGroupIdT = Aws::String>
84 inline void SetAnomalyGroupScore(
double value) { m_anomalyGroupScoreHasBeenSet =
true; m_anomalyGroupScore = value; }
94 template<
typename PrimaryMetricNameT = Aws::String>
95 void SetPrimaryMetricName(PrimaryMetricNameT&& value) { m_primaryMetricNameHasBeenSet =
true; m_primaryMetricName = std::forward<PrimaryMetricNameT>(value); }
96 template<
typename PrimaryMetricNameT = Aws::String>
106 template<
typename MetricLevelImpactListT = Aws::Vector<MetricLevelImpact>>
107 void SetMetricLevelImpactList(MetricLevelImpactListT&& value) { m_metricLevelImpactListHasBeenSet =
true; m_metricLevelImpactList = std::forward<MetricLevelImpactListT>(value); }
108 template<
typename MetricLevelImpactListT = Aws::Vector<MetricLevelImpact>>
110 template<
typename MetricLevelImpactListT = MetricLevelImpact>
111 AnomalyGroup&
AddMetricLevelImpactList(MetricLevelImpactListT&& value) { m_metricLevelImpactListHasBeenSet =
true; m_metricLevelImpactList.emplace_back(std::forward<MetricLevelImpactListT>(value));
return *
this; }
116 bool m_startTimeHasBeenSet =
false;
119 bool m_endTimeHasBeenSet =
false;
122 bool m_anomalyGroupIdHasBeenSet =
false;
124 double m_anomalyGroupScore{0.0};
125 bool m_anomalyGroupScoreHasBeenSet =
false;
128 bool m_primaryMetricNameHasBeenSet =
false;
131 bool m_metricLevelImpactListHasBeenSet =
false;
void SetPrimaryMetricName(PrimaryMetricNameT &&value)
bool PrimaryMetricNameHasBeenSet() const
AnomalyGroup & WithStartTime(StartTimeT &&value)
void SetEndTime(EndTimeT &&value)
const Aws::String & GetAnomalyGroupId() const
bool AnomalyGroupIdHasBeenSet() const
bool MetricLevelImpactListHasBeenSet() const
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StartTimeHasBeenSet() const
AWS_LOOKOUTMETRICS_API AnomalyGroup()=default
void SetAnomalyGroupScore(double value)
double GetAnomalyGroupScore() const
AnomalyGroup & WithPrimaryMetricName(PrimaryMetricNameT &&value)
const Aws::String & GetEndTime() const
AnomalyGroup & WithAnomalyGroupScore(double value)
AnomalyGroup & WithEndTime(EndTimeT &&value)
bool AnomalyGroupScoreHasBeenSet() const
AWS_LOOKOUTMETRICS_API AnomalyGroup(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MetricLevelImpact > & GetMetricLevelImpactList() const
bool EndTimeHasBeenSet() const
const Aws::String & GetPrimaryMetricName() const
AnomalyGroup & WithMetricLevelImpactList(MetricLevelImpactListT &&value)
const Aws::String & GetStartTime() const
void SetStartTime(StartTimeT &&value)
AnomalyGroup & AddMetricLevelImpactList(MetricLevelImpactListT &&value)
AWS_LOOKOUTMETRICS_API AnomalyGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAnomalyGroupId(AnomalyGroupIdT &&value)
AnomalyGroup & WithAnomalyGroupId(AnomalyGroupIdT &&value)
void SetMetricLevelImpactList(MetricLevelImpactListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue