7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutmetrics/model/AlertType.h>
10#include <aws/lookoutmetrics/model/AlertStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
25namespace LookoutMetrics
50 template<
typename AlertArnT = Aws::String>
51 void SetAlertArn(AlertArnT&& value) { m_alertArnHasBeenSet =
true; m_alertArn = std::forward<AlertArnT>(value); }
52 template<
typename AlertArnT = Aws::String>
62 template<
typename AnomalyDetectorArnT = Aws::String>
63 void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { m_anomalyDetectorArnHasBeenSet =
true; m_anomalyDetectorArn = std::forward<AnomalyDetectorArnT>(value); }
64 template<
typename AnomalyDetectorArnT = Aws::String>
74 template<
typename AlertNameT = Aws::String>
75 void SetAlertName(AlertNameT&& value) { m_alertNameHasBeenSet =
true; m_alertName = std::forward<AlertNameT>(value); }
76 template<
typename AlertNameT = Aws::String>
116 template<
typename LastModificationTimeT = Aws::Utils::DateTime>
117 void SetLastModificationTime(LastModificationTimeT&& value) { m_lastModificationTimeHasBeenSet =
true; m_lastModificationTime = std::forward<LastModificationTimeT>(value); }
118 template<
typename LastModificationTimeT = Aws::Utils::DateTime>
128 template<
typename CreationTimeT = Aws::Utils::DateTime>
129 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
130 template<
typename CreationTimeT = Aws::Utils::DateTime>
141 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
143 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
147 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
153 bool m_alertArnHasBeenSet =
false;
156 bool m_anomalyDetectorArnHasBeenSet =
false;
159 bool m_alertNameHasBeenSet =
false;
161 int m_alertSensitivityThreshold{0};
162 bool m_alertSensitivityThresholdHasBeenSet =
false;
165 bool m_alertTypeHasBeenSet =
false;
168 bool m_alertStatusHasBeenSet =
false;
171 bool m_lastModificationTimeHasBeenSet =
false;
174 bool m_creationTimeHasBeenSet =
false;
177 bool m_tagsHasBeenSet =
false;
bool AlertSensitivityThresholdHasBeenSet() const
const Aws::String & GetAnomalyDetectorArn() const
void SetTags(TagsT &&value)
AlertSummary & WithLastModificationTime(LastModificationTimeT &&value)
AlertSummary & WithAlertArn(AlertArnT &&value)
void SetAlertArn(AlertArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AlertSummary & WithAlertName(AlertNameT &&value)
void SetAlertSensitivityThreshold(int value)
AlertSummary & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
void SetAlertType(AlertType value)
AWS_LOOKOUTMETRICS_API AlertSummary(Aws::Utils::Json::JsonView jsonValue)
AlertSummary & WithTags(TagsT &&value)
bool AlertArnHasBeenSet() const
AlertStatus GetAlertStatus() const
AlertSummary & WithAlertType(AlertType value)
void SetAlertStatus(AlertStatus value)
void SetLastModificationTime(LastModificationTimeT &&value)
bool CreationTimeHasBeenSet() const
const Aws::String & GetAlertName() const
void SetAlertName(AlertNameT &&value)
bool AlertTypeHasBeenSet() const
bool AnomalyDetectorArnHasBeenSet() const
int GetAlertSensitivityThreshold() const
AlertSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
bool AlertStatusHasBeenSet() const
bool AlertNameHasBeenSet() const
AlertSummary & WithAlertSensitivityThreshold(int value)
AlertType GetAlertType() const
const Aws::String & GetAlertArn() const
void SetCreationTime(CreationTimeT &&value)
void SetAnomalyDetectorArn(AnomalyDetectorArnT &&value)
AlertSummary & WithAnomalyDetectorArn(AnomalyDetectorArnT &&value)
AWS_LOOKOUTMETRICS_API AlertSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
bool TagsHasBeenSet() const
bool LastModificationTimeHasBeenSet() const
AlertSummary & WithAlertStatus(AlertStatus value)
AWS_LOOKOUTMETRICS_API AlertSummary()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue