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
50 inline void SetAnomalyId(
const char* value) { m_anomalyIdHasBeenSet =
true; m_anomalyId.assign(value); }
67 inline void SetPatternId(
const char* value) { m_patternIdHasBeenSet =
true; m_patternId.assign(value); }
81 inline void SetAnomalyDetectorArn(
const char* value) { m_anomalyDetectorArnHasBeenSet =
true; m_anomalyDetectorArn.assign(value); }
125 inline void SetBaseline(
bool value) { m_baselineHasBeenSet =
true; m_baseline = value; }
131 bool m_anomalyIdHasBeenSet =
false;
134 bool m_patternIdHasBeenSet =
false;
137 bool m_anomalyDetectorArnHasBeenSet =
false;
140 bool m_suppressionTypeHasBeenSet =
false;
143 bool m_suppressionPeriodHasBeenSet =
false;
146 bool m_baselineHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
UpdateAnomalyRequest & WithSuppressionType(SuppressionType &&value)
UpdateAnomalyRequest & WithSuppressionPeriod(const SuppressionPeriod &value)
UpdateAnomalyRequest & WithAnomalyId(const char *value)
const SuppressionPeriod & GetSuppressionPeriod() const
void SetSuppressionPeriod(const SuppressionPeriod &value)
const Aws::String & GetAnomalyId() const
UpdateAnomalyRequest & WithSuppressionPeriod(SuppressionPeriod &&value)
bool AnomalyIdHasBeenSet() const
void SetPatternId(Aws::String &&value)
void SetSuppressionType(SuppressionType &&value)
void SetPatternId(const char *value)
UpdateAnomalyRequest & WithSuppressionType(const SuppressionType &value)
void SetAnomalyDetectorArn(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API UpdateAnomalyRequest()
void SetAnomalyDetectorArn(const Aws::String &value)
bool BaselineHasBeenSet() const
bool AnomalyDetectorArnHasBeenSet() const
void SetSuppressionPeriod(SuppressionPeriod &&value)
void SetAnomalyId(Aws::String &&value)
void SetSuppressionType(const SuppressionType &value)
void SetAnomalyId(const char *value)
UpdateAnomalyRequest & WithPatternId(const Aws::String &value)
bool PatternIdHasBeenSet() const
UpdateAnomalyRequest & WithAnomalyDetectorArn(const Aws::String &value)
void SetPatternId(const Aws::String &value)
UpdateAnomalyRequest & WithAnomalyId(Aws::String &&value)
const SuppressionType & GetSuppressionType() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAnomalyDetectorArn() const
bool SuppressionPeriodHasBeenSet() const
bool SuppressionTypeHasBeenSet() const
const Aws::String & GetPatternId() const
UpdateAnomalyRequest & WithBaseline(bool value)
UpdateAnomalyRequest & WithPatternId(Aws::String &&value)
void SetAnomalyId(const Aws::String &value)
UpdateAnomalyRequest & WithPatternId(const char *value)
UpdateAnomalyRequest & WithAnomalyId(const Aws::String &value)
void SetBaseline(bool value)
UpdateAnomalyRequest & WithAnomalyDetectorArn(const char *value)
void SetAnomalyDetectorArn(const char *value)
UpdateAnomalyRequest & WithAnomalyDetectorArn(Aws::String &&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