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
50 inline void SetStartTime(
const char* value) { m_startTimeHasBeenSet =
true; m_startTime.assign(value); }
64 inline void SetEndTime(
const char* value) { m_endTimeHasBeenSet =
true; m_endTime.assign(value); }
78 inline void SetAnomalyGroupId(
const char* value) { m_anomalyGroupIdHasBeenSet =
true; m_anomalyGroupId.assign(value); }
90 inline void SetAnomalyGroupScore(
double value) { m_anomalyGroupScoreHasBeenSet =
true; m_anomalyGroupScore = value; }
102 inline void SetPrimaryMetricName(
const char* value) { m_primaryMetricNameHasBeenSet =
true; m_primaryMetricName.assign(value); }
124 bool m_startTimeHasBeenSet =
false;
127 bool m_endTimeHasBeenSet =
false;
130 bool m_anomalyGroupIdHasBeenSet =
false;
132 double m_anomalyGroupScore;
133 bool m_anomalyGroupScoreHasBeenSet =
false;
136 bool m_primaryMetricNameHasBeenSet =
false;
139 bool m_metricLevelImpactListHasBeenSet =
false;
AnomalyGroup & WithAnomalyGroupId(const char *value)
AnomalyGroup & WithMetricLevelImpactList(Aws::Vector< MetricLevelImpact > &&value)
AnomalyGroup & WithEndTime(const char *value)
bool PrimaryMetricNameHasBeenSet() const
AnomalyGroup & WithEndTime(Aws::String &&value)
const Aws::String & GetAnomalyGroupId() const
void SetAnomalyGroupId(Aws::String &&value)
void SetMetricLevelImpactList(Aws::Vector< MetricLevelImpact > &&value)
AnomalyGroup & WithStartTime(Aws::String &&value)
void SetStartTime(const char *value)
bool AnomalyGroupIdHasBeenSet() const
AnomalyGroup & AddMetricLevelImpactList(MetricLevelImpact &&value)
bool MetricLevelImpactListHasBeenSet() const
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
AnomalyGroup & WithAnomalyGroupId(const Aws::String &value)
AnomalyGroup & WithMetricLevelImpactList(const Aws::Vector< MetricLevelImpact > &value)
void SetStartTime(Aws::String &&value)
bool StartTimeHasBeenSet() const
AnomalyGroup & WithStartTime(const Aws::String &value)
void SetAnomalyGroupScore(double value)
AnomalyGroup & WithAnomalyGroupId(Aws::String &&value)
double GetAnomalyGroupScore() const
const Aws::String & GetEndTime() const
void SetPrimaryMetricName(Aws::String &&value)
AnomalyGroup & WithAnomalyGroupScore(double value)
AnomalyGroup & WithPrimaryMetricName(const char *value)
void SetEndTime(Aws::String &&value)
void SetMetricLevelImpactList(const Aws::Vector< MetricLevelImpact > &value)
void SetPrimaryMetricName(const char *value)
void SetStartTime(const Aws::String &value)
void SetEndTime(const char *value)
AnomalyGroup & WithPrimaryMetricName(Aws::String &&value)
void SetAnomalyGroupId(const char *value)
void SetAnomalyGroupId(const Aws::String &value)
AnomalyGroup & WithStartTime(const char *value)
bool AnomalyGroupScoreHasBeenSet() const
AWS_LOOKOUTMETRICS_API AnomalyGroup(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MetricLevelImpact > & GetMetricLevelImpactList() const
void SetEndTime(const Aws::String &value)
AnomalyGroup & AddMetricLevelImpactList(const MetricLevelImpact &value)
bool EndTimeHasBeenSet() const
const Aws::String & GetPrimaryMetricName() const
const Aws::String & GetStartTime() const
AWS_LOOKOUTMETRICS_API AnomalyGroup()
AWS_LOOKOUTMETRICS_API AnomalyGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AnomalyGroup & WithPrimaryMetricName(const Aws::String &value)
void SetPrimaryMetricName(const Aws::String &value)
AnomalyGroup & WithEndTime(const Aws::String &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