7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10#include <aws/logs/model/SuppressionPeriod.h>
11#include <aws/logs/model/SuppressionType.h>
16namespace CloudWatchLogs {
44 template <
typename AnomalyIdT = Aws::String>
46 m_anomalyIdHasBeenSet =
true;
47 m_anomalyId = std::forward<AnomalyIdT>(value);
49 template <
typename AnomalyIdT = Aws::String>
65 template <
typename PatternIdT = Aws::String>
67 m_patternIdHasBeenSet =
true;
68 m_patternId = std::forward<PatternIdT>(value);
70 template <
typename PatternIdT = Aws::String>
83 template <
typename AnomalyDetectorArnT = Aws::String>
85 m_anomalyDetectorArnHasBeenSet =
true;
86 m_anomalyDetectorArn = std::forward<AnomalyDetectorArnT>(value);
88 template <
typename AnomalyDetectorArnT = Aws::String>
105 m_suppressionTypeHasBeenSet =
true;
106 m_suppressionType = value;
121 template <
typename SuppressionPeriodT = SuppressionPeriod>
123 m_suppressionPeriodHasBeenSet =
true;
124 m_suppressionPeriod = std::forward<SuppressionPeriodT>(value);
126 template <
typename SuppressionPeriodT = SuppressionPeriod>
144 m_baselineHasBeenSet =
true;
161 SuppressionPeriod m_suppressionPeriod;
163 bool m_baseline{
false};
164 bool m_anomalyIdHasBeenSet =
false;
165 bool m_patternIdHasBeenSet =
false;
166 bool m_anomalyDetectorArnHasBeenSet =
false;
167 bool m_suppressionTypeHasBeenSet =
false;
168 bool m_suppressionPeriodHasBeenSet =
false;
169 bool m_baselineHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
AWS_CLOUDWATCHLOGS_API UpdateAnomalyRequest()=default
UpdateAnomalyRequest & WithAnomalyId(AnomalyIdT &&value)
UpdateAnomalyRequest & WithSuppressionType(SuppressionType value)
const SuppressionPeriod & GetSuppressionPeriod() const
void SetPatternId(PatternIdT &&value)
const Aws::String & GetAnomalyId() const
bool AnomalyIdHasBeenSet() const
UpdateAnomalyRequest & WithPatternId(PatternIdT &&value)
bool BaselineHasBeenSet() const
UpdateAnomalyRequest & WithSuppressionPeriod(SuppressionPeriodT &&value)
bool AnomalyDetectorArnHasBeenSet() const
void SetAnomalyId(AnomalyIdT &&value)
bool PatternIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAnomalyDetectorArn() const
void SetAnomalyDetectorArn(AnomalyDetectorArnT &&value)
bool SuppressionPeriodHasBeenSet() const
bool SuppressionTypeHasBeenSet() const
void SetSuppressionType(SuppressionType value)
UpdateAnomalyRequest & WithAnomalyDetectorArn(AnomalyDetectorArnT &&value)
const Aws::String & GetPatternId() const
UpdateAnomalyRequest & WithBaseline(bool value)
SuppressionType GetSuppressionType() const
void SetBaseline(bool value)
void SetSuppressionPeriod(SuppressionPeriodT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String