7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace LookoutMetrics
46 template<
typename StartTimeT = Aws::String>
47 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
48 template<
typename StartTimeT = Aws::String>
58 template<
typename EndTimeT = Aws::String>
59 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
60 template<
typename EndTimeT = Aws::String>
70 template<
typename AnomalyGroupIdT = Aws::String>
71 void SetAnomalyGroupId(AnomalyGroupIdT&& value) { m_anomalyGroupIdHasBeenSet =
true; m_anomalyGroupId = std::forward<AnomalyGroupIdT>(value); }
72 template<
typename AnomalyGroupIdT = Aws::String>
82 inline void SetAnomalyGroupScore(
double value) { m_anomalyGroupScoreHasBeenSet =
true; m_anomalyGroupScore = value; }
92 template<
typename PrimaryMetricNameT = Aws::String>
93 void SetPrimaryMetricName(PrimaryMetricNameT&& value) { m_primaryMetricNameHasBeenSet =
true; m_primaryMetricName = std::forward<PrimaryMetricNameT>(value); }
94 template<
typename PrimaryMetricNameT = Aws::String>
100 bool m_startTimeHasBeenSet =
false;
103 bool m_endTimeHasBeenSet =
false;
106 bool m_anomalyGroupIdHasBeenSet =
false;
108 double m_anomalyGroupScore{0.0};
109 bool m_anomalyGroupScoreHasBeenSet =
false;
112 bool m_primaryMetricNameHasBeenSet =
false;
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
bool AnomalyGroupScoreHasBeenSet() const
AWS_LOOKOUTMETRICS_API AnomalyGroupSummary(Aws::Utils::Json::JsonView jsonValue)
AnomalyGroupSummary & WithEndTime(EndTimeT &&value)
double GetAnomalyGroupScore() const
void SetAnomalyGroupScore(double value)
AnomalyGroupSummary & WithAnomalyGroupScore(double value)
bool EndTimeHasBeenSet() const
AnomalyGroupSummary & WithStartTime(StartTimeT &&value)
AnomalyGroupSummary & WithAnomalyGroupId(AnomalyGroupIdT &&value)
const Aws::String & GetAnomalyGroupId() const
AWS_LOOKOUTMETRICS_API AnomalyGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndTime(EndTimeT &&value)
bool AnomalyGroupIdHasBeenSet() const
bool StartTimeHasBeenSet() const
bool PrimaryMetricNameHasBeenSet() const
const Aws::String & GetPrimaryMetricName() const
AWS_LOOKOUTMETRICS_API AnomalyGroupSummary()=default
const Aws::String & GetStartTime() const
void SetPrimaryMetricName(PrimaryMetricNameT &&value)
void SetStartTime(StartTimeT &&value)
AnomalyGroupSummary & WithPrimaryMetricName(PrimaryMetricNameT &&value)
const Aws::String & GetEndTime() const
void SetAnomalyGroupId(AnomalyGroupIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue