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
43 template<
typename AlertArnT = Aws::String>
44 void SetAlertArn(AlertArnT&& value) { m_alertArnHasBeenSet =
true; m_alertArn = std::forward<AlertArnT>(value); }
45 template<
typename AlertArnT = Aws::String>
55 template<
typename AlertDescriptionT = Aws::String>
56 void SetAlertDescription(AlertDescriptionT&& value) { m_alertDescriptionHasBeenSet =
true; m_alertDescription = std::forward<AlertDescriptionT>(value); }
57 template<
typename AlertDescriptionT = Aws::String>
77 template<
typename ActionT = Action>
78 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
79 template<
typename ActionT = Action>
90 template<
typename AlertFiltersT = AlertFilters>
91 void SetAlertFilters(AlertFiltersT&& value) { m_alertFiltersHasBeenSet =
true; m_alertFilters = std::forward<AlertFiltersT>(value); }
92 template<
typename AlertFiltersT = AlertFilters>
98 bool m_alertArnHasBeenSet =
false;
101 bool m_alertDescriptionHasBeenSet =
false;
103 int m_alertSensitivityThreshold{0};
104 bool m_alertSensitivityThresholdHasBeenSet =
false;
107 bool m_actionHasBeenSet =
false;
109 AlertFilters m_alertFilters;
110 bool m_alertFiltersHasBeenSet =
false;
UpdateAlertRequest & WithAction(ActionT &&value)
const AlertFilters & GetAlertFilters() const
AWS_LOOKOUTMETRICS_API UpdateAlertRequest()=default
int GetAlertSensitivityThreshold() const
UpdateAlertRequest & WithAlertFilters(AlertFiltersT &&value)
void SetAlertSensitivityThreshold(int value)
bool ActionHasBeenSet() const
const Action & GetAction() const
UpdateAlertRequest & WithAlertDescription(AlertDescriptionT &&value)
bool AlertSensitivityThresholdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAlertDescription() const
UpdateAlertRequest & WithAlertSensitivityThreshold(int value)
bool AlertArnHasBeenSet() const
UpdateAlertRequest & WithAlertArn(AlertArnT &&value)
const Aws::String & GetAlertArn() const
void SetAlertFilters(AlertFiltersT &&value)
void SetAlertArn(AlertArnT &&value)
AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override
void SetAction(ActionT &&value)
bool AlertDescriptionHasBeenSet() const
bool AlertFiltersHasBeenSet() const
void SetAlertDescription(AlertDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String