7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace LookoutMetrics
48 inline void SetStartTime(
const char* value) { m_startTimeHasBeenSet =
true; m_startTime.assign(value); }
62 inline void SetEndTime(
const char* value) { m_endTimeHasBeenSet =
true; m_endTime.assign(value); }
76 inline void SetAnomalyGroupId(
const char* value) { m_anomalyGroupIdHasBeenSet =
true; m_anomalyGroupId.assign(value); }
88 inline void SetAnomalyGroupScore(
double value) { m_anomalyGroupScoreHasBeenSet =
true; m_anomalyGroupScore = value; }
100 inline void SetPrimaryMetricName(
const char* value) { m_primaryMetricNameHasBeenSet =
true; m_primaryMetricName.assign(value); }
108 bool m_startTimeHasBeenSet =
false;
111 bool m_endTimeHasBeenSet =
false;
114 bool m_anomalyGroupIdHasBeenSet =
false;
116 double m_anomalyGroupScore;
117 bool m_anomalyGroupScoreHasBeenSet =
false;
120 bool m_primaryMetricNameHasBeenSet =
false;
AnomalyGroupSummary & WithEndTime(const char *value)
AnomalyGroupSummary & WithPrimaryMetricName(const Aws::String &value)
AWS_LOOKOUTMETRICS_API AnomalyGroupSummary()
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
bool AnomalyGroupScoreHasBeenSet() const
AWS_LOOKOUTMETRICS_API AnomalyGroupSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStartTime(Aws::String &&value)
double GetAnomalyGroupScore() const
AnomalyGroupSummary & WithPrimaryMetricName(const char *value)
void SetAnomalyGroupScore(double value)
void SetAnomalyGroupId(const char *value)
void SetEndTime(Aws::String &&value)
void SetEndTime(const Aws::String &value)
AnomalyGroupSummary & WithAnomalyGroupScore(double value)
AnomalyGroupSummary & WithAnomalyGroupId(const char *value)
AnomalyGroupSummary & WithStartTime(const Aws::String &value)
void SetStartTime(const Aws::String &value)
AnomalyGroupSummary & WithStartTime(Aws::String &&value)
void SetPrimaryMetricName(const Aws::String &value)
AnomalyGroupSummary & WithAnomalyGroupId(Aws::String &&value)
AnomalyGroupSummary & WithEndTime(const Aws::String &value)
bool EndTimeHasBeenSet() const
const Aws::String & GetAnomalyGroupId() const
AWS_LOOKOUTMETRICS_API AnomalyGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AnomalyGroupSummary & WithPrimaryMetricName(Aws::String &&value)
void SetAnomalyGroupId(Aws::String &&value)
void SetStartTime(const char *value)
AnomalyGroupSummary & WithStartTime(const char *value)
bool AnomalyGroupIdHasBeenSet() const
bool StartTimeHasBeenSet() const
bool PrimaryMetricNameHasBeenSet() const
const Aws::String & GetPrimaryMetricName() const
const Aws::String & GetStartTime() const
void SetEndTime(const char *value)
const Aws::String & GetEndTime() const
AnomalyGroupSummary & WithEndTime(Aws::String &&value)
void SetPrimaryMetricName(Aws::String &&value)
void SetAnomalyGroupId(const Aws::String &value)
AnomalyGroupSummary & WithAnomalyGroupId(const Aws::String &value)
void SetPrimaryMetricName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue