7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/lookoutmetrics/model/Action.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lookoutmetrics/model/AlertType.h>
11#include <aws/lookoutmetrics/model/AlertStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/lookoutmetrics/model/AlertFilters.h>
26namespace LookoutMetrics
52 inline void SetAction(
const Action& value) { m_actionHasBeenSet =
true; m_action = value; }
53 inline void SetAction(
Action&& value) { m_actionHasBeenSet =
true; m_action = std::move(value); }
66 inline void SetAlertDescription(
const char* value) { m_alertDescriptionHasBeenSet =
true; m_alertDescription.assign(value); }
80 inline void SetAlertArn(
const char* value) { m_alertArnHasBeenSet =
true; m_alertArn.assign(value); }
94 inline void SetAnomalyDetectorArn(
const char* value) { m_anomalyDetectorArnHasBeenSet =
true; m_anomalyDetectorArn.assign(value); }
108 inline void SetAlertName(
const char* value) { m_alertNameHasBeenSet =
true; m_alertName.assign(value); }
187 bool m_actionHasBeenSet =
false;
190 bool m_alertDescriptionHasBeenSet =
false;
193 bool m_alertArnHasBeenSet =
false;
196 bool m_anomalyDetectorArnHasBeenSet =
false;
199 bool m_alertNameHasBeenSet =
false;
201 int m_alertSensitivityThreshold;
202 bool m_alertSensitivityThresholdHasBeenSet =
false;
205 bool m_alertTypeHasBeenSet =
false;
208 bool m_alertStatusHasBeenSet =
false;
211 bool m_lastModificationTimeHasBeenSet =
false;
214 bool m_creationTimeHasBeenSet =
false;
217 bool m_alertFiltersHasBeenSet =
false;
void SetAction(const Action &value)
void SetAlertArn(Aws::String &&value)
bool LastModificationTimeHasBeenSet() const
Alert & WithAlertName(Aws::String &&value)
void SetLastModificationTime(const Aws::Utils::DateTime &value)
bool AlertTypeHasBeenSet() const
void SetAnomalyDetectorArn(Aws::String &&value)
void SetAlertType(AlertType &&value)
Alert & WithAction(const Action &value)
Alert & WithAlertName(const char *value)
AWS_LOOKOUTMETRICS_API Alert(Aws::Utils::Json::JsonView jsonValue)
void SetAnomalyDetectorArn(const Aws::String &value)
void SetAlertType(const AlertType &value)
const Aws::String & GetAlertArn() const
Alert & WithAlertDescription(const char *value)
const Aws::String & GetAnomalyDetectorArn() const
Alert & WithAlertArn(Aws::String &&value)
Alert & WithAnomalyDetectorArn(const Aws::String &value)
const AlertStatus & GetAlertStatus() const
const AlertFilters & GetAlertFilters() const
Alert & WithAlertName(const Aws::String &value)
const Aws::String & GetAlertName() const
bool AlertStatusHasBeenSet() const
Alert & WithLastModificationTime(const Aws::Utils::DateTime &value)
void SetAlertDescription(Aws::String &&value)
void SetAlertArn(const char *value)
bool AlertSensitivityThresholdHasBeenSet() const
Alert & WithAction(Action &&value)
void SetAlertDescription(const char *value)
void SetAlertDescription(const Aws::String &value)
Alert & WithAlertType(AlertType &&value)
void SetAlertArn(const Aws::String &value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
bool AlertFiltersHasBeenSet() const
const AlertType & GetAlertType() const
const Aws::Utils::DateTime & GetCreationTime() const
bool ActionHasBeenSet() const
bool AlertArnHasBeenSet() const
void SetCreationTime(Aws::Utils::DateTime &&value)
AWS_LOOKOUTMETRICS_API Alert()
Alert & WithAlertSensitivityThreshold(int value)
Alert & WithAlertFilters(AlertFilters &&value)
bool AlertDescriptionHasBeenSet() const
Alert & WithAlertStatus(const AlertStatus &value)
const Action & GetAction() const
const Aws::Utils::DateTime & GetLastModificationTime() const
Alert & WithAnomalyDetectorArn(const char *value)
Alert & WithCreationTime(const Aws::Utils::DateTime &value)
void SetAlertName(const char *value)
Alert & WithAlertArn(const char *value)
Alert & WithAlertDescription(const Aws::String &value)
void SetAction(Action &&value)
void SetAlertName(Aws::String &&value)
bool AlertNameHasBeenSet() const
Alert & WithAlertStatus(AlertStatus &&value)
Alert & WithAlertFilters(const AlertFilters &value)
void SetAlertStatus(AlertStatus &&value)
Alert & WithAnomalyDetectorArn(Aws::String &&value)
bool CreationTimeHasBeenSet() const
Alert & WithAlertDescription(Aws::String &&value)
bool AnomalyDetectorArnHasBeenSet() const
void SetAlertName(const Aws::String &value)
AWS_LOOKOUTMETRICS_API Alert & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAlertFilters(AlertFilters &&value)
Alert & WithLastModificationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
Alert & WithAlertArn(const Aws::String &value)
void SetAnomalyDetectorArn(const char *value)
const Aws::String & GetAlertDescription() const
int GetAlertSensitivityThreshold() const
void SetAlertSensitivityThreshold(int value)
Alert & WithCreationTime(Aws::Utils::DateTime &&value)
void SetLastModificationTime(Aws::Utils::DateTime &&value)
void SetAlertFilters(const AlertFilters &value)
void SetAlertStatus(const AlertStatus &value)
Alert & WithAlertType(const AlertType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue