7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/logs/model/EvaluationFrequency.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
17namespace CloudWatchLogs
64 inline void SetDetectorName(
const char* value) { m_detectorNameHasBeenSet =
true; m_detectorName.assign(value); }
97 inline void SetFilterPattern(
const char* value) { m_filterPatternHasBeenSet =
true; m_filterPattern.assign(value); }
119 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
136 inline void SetAnomalyVisibilityTime(
long long value) { m_anomalyVisibilityTimeHasBeenSet =
true; m_anomalyVisibilityTime = value; }
164 bool m_logGroupArnListHasBeenSet =
false;
167 bool m_detectorNameHasBeenSet =
false;
170 bool m_evaluationFrequencyHasBeenSet =
false;
173 bool m_filterPatternHasBeenSet =
false;
176 bool m_kmsKeyIdHasBeenSet =
false;
178 long long m_anomalyVisibilityTime;
179 bool m_anomalyVisibilityTimeHasBeenSet =
false;
182 bool m_tagsHasBeenSet =
false;
CreateLogAnomalyDetectorRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetLogGroupArnList(const Aws::Vector< Aws::String > &value)
bool FilterPatternHasBeenSet() const
void SetKmsKeyId(const char *value)
void SetFilterPattern(const Aws::String &value)
const Aws::String & GetKmsKeyId() const
CreateLogAnomalyDetectorRequest & WithLogGroupArnList(const Aws::Vector< Aws::String > &value)
void SetDetectorName(const char *value)
CreateLogAnomalyDetectorRequest & WithLogGroupArnList(Aws::Vector< Aws::String > &&value)
void SetLogGroupArnList(Aws::Vector< Aws::String > &&value)
CreateLogAnomalyDetectorRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool TagsHasBeenSet() const
CreateLogAnomalyDetectorRequest & AddTags(Aws::String &&key, const Aws::String &value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateLogAnomalyDetectorRequest & WithKmsKeyId(Aws::String &&value)
const EvaluationFrequency & GetEvaluationFrequency() const
const Aws::Vector< Aws::String > & GetLogGroupArnList() const
const Aws::String & GetFilterPattern() const
AWS_CLOUDWATCHLOGS_API CreateLogAnomalyDetectorRequest()
CreateLogAnomalyDetectorRequest & WithEvaluationFrequency(const EvaluationFrequency &value)
CreateLogAnomalyDetectorRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateLogAnomalyDetectorRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDetectorName(Aws::String &&value)
CreateLogAnomalyDetectorRequest & WithKmsKeyId(const Aws::String &value)
CreateLogAnomalyDetectorRequest & WithFilterPattern(Aws::String &&value)
CreateLogAnomalyDetectorRequest & WithDetectorName(const Aws::String &value)
CreateLogAnomalyDetectorRequest & AddTags(const char *key, const char *value)
CreateLogAnomalyDetectorRequest & AddLogGroupArnList(const Aws::String &value)
const Aws::String & GetDetectorName() const
long long GetAnomalyVisibilityTime() const
bool AnomalyVisibilityTimeHasBeenSet() const
CreateLogAnomalyDetectorRequest & WithDetectorName(Aws::String &&value)
bool DetectorNameHasBeenSet() const
void SetEvaluationFrequency(const EvaluationFrequency &value)
CreateLogAnomalyDetectorRequest & WithAnomalyVisibilityTime(long long value)
bool KmsKeyIdHasBeenSet() const
CreateLogAnomalyDetectorRequest & AddLogGroupArnList(const char *value)
CreateLogAnomalyDetectorRequest & AddTags(Aws::String &&key, const char *value)
CreateLogAnomalyDetectorRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetFilterPattern(const char *value)
bool EvaluationFrequencyHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
void SetEvaluationFrequency(EvaluationFrequency &&value)
virtual const char * GetServiceRequestName() const override
void SetFilterPattern(Aws::String &&value)
CreateLogAnomalyDetectorRequest & WithDetectorName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetKmsKeyId(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDetectorName(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateLogAnomalyDetectorRequest & WithKmsKeyId(const char *value)
void SetAnomalyVisibilityTime(long long value)
CreateLogAnomalyDetectorRequest & WithFilterPattern(const char *value)
bool LogGroupArnListHasBeenSet() const
CreateLogAnomalyDetectorRequest & WithFilterPattern(const Aws::String &value)
CreateLogAnomalyDetectorRequest & AddLogGroupArnList(Aws::String &&value)
CreateLogAnomalyDetectorRequest & AddTags(const char *key, Aws::String &&value)
CreateLogAnomalyDetectorRequest & WithEvaluationFrequency(EvaluationFrequency &&value)
void SetKmsKeyId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector