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/EvaluationFrequency.h>
15namespace CloudWatchLogs
46 inline void SetAnomalyDetectorArn(
const char* value) { m_anomalyDetectorArnHasBeenSet =
true; m_anomalyDetectorArn.assign(value); }
74 inline void SetFilterPattern(
const char* value) { m_filterPatternHasBeenSet =
true; m_filterPattern.assign(value); }
90 inline void SetAnomalyVisibilityTime(
long long value) { m_anomalyVisibilityTimeHasBeenSet =
true; m_anomalyVisibilityTime = value; }
100 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
106 bool m_anomalyDetectorArnHasBeenSet =
false;
109 bool m_evaluationFrequencyHasBeenSet =
false;
112 bool m_filterPatternHasBeenSet =
false;
114 long long m_anomalyVisibilityTime;
115 bool m_anomalyVisibilityTimeHasBeenSet =
false;
118 bool m_enabledHasBeenSet =
false;
const EvaluationFrequency & GetEvaluationFrequency() const
UpdateLogAnomalyDetectorRequest & WithEnabled(bool value)
void SetFilterPattern(const Aws::String &value)
bool AnomalyDetectorArnHasBeenSet() const
const Aws::String & GetFilterPattern() const
void SetFilterPattern(const char *value)
bool EnabledHasBeenSet() const
bool FilterPatternHasBeenSet() const
UpdateLogAnomalyDetectorRequest & WithEvaluationFrequency(const EvaluationFrequency &value)
UpdateLogAnomalyDetectorRequest & WithEvaluationFrequency(EvaluationFrequency &&value)
UpdateLogAnomalyDetectorRequest & WithAnomalyVisibilityTime(long long value)
AWS_CLOUDWATCHLOGS_API UpdateLogAnomalyDetectorRequest()
void SetAnomalyDetectorArn(const Aws::String &value)
const Aws::String & GetAnomalyDetectorArn() const
void SetAnomalyDetectorArn(Aws::String &&value)
void SetAnomalyDetectorArn(const char *value)
void SetEvaluationFrequency(const EvaluationFrequency &value)
UpdateLogAnomalyDetectorRequest & WithFilterPattern(const Aws::String &value)
void SetEvaluationFrequency(EvaluationFrequency &&value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
bool EvaluationFrequencyHasBeenSet() const
UpdateLogAnomalyDetectorRequest & WithFilterPattern(const char *value)
long long GetAnomalyVisibilityTime() const
bool AnomalyVisibilityTimeHasBeenSet() const
UpdateLogAnomalyDetectorRequest & WithAnomalyDetectorArn(const char *value)
void SetAnomalyVisibilityTime(long long value)
virtual const char * GetServiceRequestName() const override
UpdateLogAnomalyDetectorRequest & WithFilterPattern(Aws::String &&value)
UpdateLogAnomalyDetectorRequest & WithAnomalyDetectorArn(const Aws::String &value)
void SetFilterPattern(Aws::String &&value)
UpdateLogAnomalyDetectorRequest & WithAnomalyDetectorArn(Aws::String &&value)
void SetEnabled(bool 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