7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/lookoutmetrics/LookoutMetricsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lookoutmetrics/model/Action.h>
11#include <aws/lookoutmetrics/model/AlertFilters.h>
16namespace LookoutMetrics
45 inline void SetAlertArn(
const char* value) { m_alertArnHasBeenSet =
true; m_alertArn.assign(value); }
59 inline void SetAlertDescription(
const char* value) { m_alertDescriptionHasBeenSet =
true; m_alertDescription.assign(value); }
81 inline void SetAction(
const Action& value) { m_actionHasBeenSet =
true; m_action = value; }
82 inline void SetAction(
Action&& value) { m_actionHasBeenSet =
true; m_action = std::move(value); }
102 bool m_alertArnHasBeenSet =
false;
105 bool m_alertDescriptionHasBeenSet =
false;
107 int m_alertSensitivityThreshold;
108 bool m_alertSensitivityThresholdHasBeenSet =
false;
111 bool m_actionHasBeenSet =
false;
114 bool m_alertFiltersHasBeenSet =
false;
const AlertFilters & GetAlertFilters() const
int GetAlertSensitivityThreshold() const
void SetAlertDescription(const char *value)
void SetAlertSensitivityThreshold(int value)
bool ActionHasBeenSet() const
void SetAlertArn(const Aws::String &value)
const Action & GetAction() const
bool AlertSensitivityThresholdHasBeenSet() const
UpdateAlertRequest & WithAlertDescription(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_LOOKOUTMETRICS_API UpdateAlertRequest()
void SetAlertDescription(const Aws::String &value)
void SetAlertFilters(const AlertFilters &value)
const Aws::String & GetAlertDescription() const
void SetAlertDescription(Aws::String &&value)
UpdateAlertRequest & WithAlertFilters(AlertFilters &&value)
UpdateAlertRequest & WithAlertSensitivityThreshold(int value)
bool AlertArnHasBeenSet() const
void SetAction(Action &&value)
UpdateAlertRequest & WithAlertDescription(Aws::String &&value)
void SetAlertArn(Aws::String &&value)
UpdateAlertRequest & WithAlertDescription(const Aws::String &value)
const Aws::String & GetAlertArn() const
UpdateAlertRequest & WithAlertArn(const Aws::String &value)
UpdateAlertRequest & WithAlertArn(Aws::String &&value)
AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override
void SetAction(const Action &value)
UpdateAlertRequest & WithAction(const Action &value)
bool AlertDescriptionHasBeenSet() const
UpdateAlertRequest & WithAlertFilters(const AlertFilters &value)
bool AlertFiltersHasBeenSet() const
UpdateAlertRequest & WithAlertArn(const char *value)
void SetAlertArn(const char *value)
UpdateAlertRequest & WithAction(Action &&value)
void SetAlertFilters(AlertFilters &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String