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
44 template<
typename AnomalyDetectorArnT = Aws::String>
45 void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { m_anomalyDetectorArnHasBeenSet =
true; m_anomalyDetectorArn = std::forward<AnomalyDetectorArnT>(value); }
46 template<
typename AnomalyDetectorArnT = Aws::String>
68 template<
typename FilterPatternT = Aws::String>
69 void SetFilterPattern(FilterPatternT&& value) { m_filterPatternHasBeenSet =
true; m_filterPattern = std::forward<FilterPatternT>(value); }
70 template<
typename FilterPatternT = Aws::String>
84 inline void SetAnomalyVisibilityTime(
long long value) { m_anomalyVisibilityTimeHasBeenSet =
true; m_anomalyVisibilityTime = value; }
94 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
100 bool m_anomalyDetectorArnHasBeenSet =
false;
103 bool m_evaluationFrequencyHasBeenSet =
false;
106 bool m_filterPatternHasBeenSet =
false;
108 long long m_anomalyVisibilityTime{0};
109 bool m_anomalyVisibilityTimeHasBeenSet =
false;
111 bool m_enabled{
false};
112 bool m_enabledHasBeenSet =
false;
void SetAnomalyDetectorArn(AnomalyDetectorArnT &&value)
UpdateLogAnomalyDetectorRequest & WithEnabled(bool value)
bool AnomalyDetectorArnHasBeenSet() const
const Aws::String & GetFilterPattern() const
bool EnabledHasBeenSet() const
bool FilterPatternHasBeenSet() const
UpdateLogAnomalyDetectorRequest & WithAnomalyVisibilityTime(long long value)
AWS_CLOUDWATCHLOGS_API UpdateLogAnomalyDetectorRequest()=default
const Aws::String & GetAnomalyDetectorArn() const
UpdateLogAnomalyDetectorRequest & WithAnomalyDetectorArn(AnomalyDetectorArnT &&value)
UpdateLogAnomalyDetectorRequest & WithEvaluationFrequency(EvaluationFrequency value)
void SetEvaluationFrequency(EvaluationFrequency value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
bool EvaluationFrequencyHasBeenSet() const
long long GetAnomalyVisibilityTime() const
bool AnomalyVisibilityTimeHasBeenSet() const
void SetAnomalyVisibilityTime(long long value)
void SetFilterPattern(FilterPatternT &&value)
EvaluationFrequency GetEvaluationFrequency() const
virtual const char * GetServiceRequestName() const override
UpdateLogAnomalyDetectorRequest & WithFilterPattern(FilterPatternT &&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