7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/logs/model/SuppressionType.h>
11#include <aws/logs/model/SuppressionPeriod.h>
16namespace CloudWatchLogs
48 template<
typename AnomalyIdT = Aws::String>
49 void SetAnomalyId(AnomalyIdT&& value) { m_anomalyIdHasBeenSet =
true; m_anomalyId = std::forward<AnomalyIdT>(value); }
50 template<
typename AnomalyIdT = Aws::String>
63 template<
typename PatternIdT = Aws::String>
64 void SetPatternId(PatternIdT&& value) { m_patternIdHasBeenSet =
true; m_patternId = std::forward<PatternIdT>(value); }
65 template<
typename PatternIdT = Aws::String>
75 template<
typename AnomalyDetectorArnT = Aws::String>
76 void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { m_anomalyDetectorArnHasBeenSet =
true; m_anomalyDetectorArn = std::forward<AnomalyDetectorArnT>(value); }
77 template<
typename AnomalyDetectorArnT = Aws::String>
101 template<
typename SuppressionPeriodT = SuppressionPeriod>
102 void SetSuppressionPeriod(SuppressionPeriodT&& value) { m_suppressionPeriodHasBeenSet =
true; m_suppressionPeriod = std::forward<SuppressionPeriodT>(value); }
103 template<
typename SuppressionPeriodT = SuppressionPeriod>
117 inline void SetBaseline(
bool value) { m_baselineHasBeenSet =
true; m_baseline = value; }
123 bool m_anomalyIdHasBeenSet =
false;
126 bool m_patternIdHasBeenSet =
false;
129 bool m_anomalyDetectorArnHasBeenSet =
false;
132 bool m_suppressionTypeHasBeenSet =
false;
134 SuppressionPeriod m_suppressionPeriod;
135 bool m_suppressionPeriodHasBeenSet =
false;
137 bool m_baseline{
false};
138 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