7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/logs/model/EvaluationFrequency.h>
11#include <aws/logs/model/AnomalyDetectorStatus.h>
24namespace CloudWatchLogs
52 inline void SetAnomalyDetectorArn(
const char* value) { m_anomalyDetectorArnHasBeenSet =
true; m_anomalyDetectorArn.assign(value); }
66 inline void SetDetectorName(
const char* value) { m_detectorNameHasBeenSet =
true; m_detectorName.assign(value); }
105 inline void SetFilterPattern(
const char* value) { m_filterPatternHasBeenSet =
true; m_filterPattern.assign(value); }
134 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
146 inline void SetCreationTimeStamp(
long long value) { m_creationTimeStampHasBeenSet =
true; m_creationTimeStamp = value; }
156 inline void SetLastModifiedTimeStamp(
long long value) { m_lastModifiedTimeStampHasBeenSet =
true; m_lastModifiedTimeStamp = value; }
168 inline void SetAnomalyVisibilityTime(
long long value) { m_anomalyVisibilityTimeHasBeenSet =
true; m_anomalyVisibilityTime = value; }
174 bool m_anomalyDetectorArnHasBeenSet =
false;
177 bool m_detectorNameHasBeenSet =
false;
180 bool m_logGroupArnListHasBeenSet =
false;
183 bool m_evaluationFrequencyHasBeenSet =
false;
186 bool m_filterPatternHasBeenSet =
false;
189 bool m_anomalyDetectorStatusHasBeenSet =
false;
192 bool m_kmsKeyIdHasBeenSet =
false;
194 long long m_creationTimeStamp;
195 bool m_creationTimeStampHasBeenSet =
false;
197 long long m_lastModifiedTimeStamp;
198 bool m_lastModifiedTimeStampHasBeenSet =
false;
200 long long m_anomalyVisibilityTime;
201 bool m_anomalyVisibilityTimeHasBeenSet =
false;
bool DetectorNameHasBeenSet() const
bool AnomalyDetectorStatusHasBeenSet() const
const AnomalyDetectorStatus & GetAnomalyDetectorStatus() const
AnomalyDetector & WithDetectorName(const Aws::String &value)
AnomalyDetector & WithKmsKeyId(Aws::String &&value)
AnomalyDetector & AddLogGroupArnList(const Aws::String &value)
void SetAnomalyDetectorStatus(AnomalyDetectorStatus &&value)
void SetFilterPattern(Aws::String &&value)
bool CreationTimeStampHasBeenSet() const
AnomalyDetector & WithDetectorName(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API AnomalyDetector()
long long GetAnomalyVisibilityTime() const
AnomalyDetector & WithCreationTimeStamp(long long value)
AnomalyDetector & WithFilterPattern(Aws::String &&value)
void SetEvaluationFrequency(EvaluationFrequency &&value)
AnomalyDetector & WithAnomalyVisibilityTime(long long value)
bool AnomalyVisibilityTimeHasBeenSet() const
AnomalyDetector & WithAnomalyDetectorStatus(const AnomalyDetectorStatus &value)
void SetDetectorName(const char *value)
void SetKmsKeyId(const Aws::String &value)
void SetFilterPattern(const char *value)
AnomalyDetector & WithFilterPattern(const Aws::String &value)
AnomalyDetector & WithDetectorName(const char *value)
AnomalyDetector & WithKmsKeyId(const char *value)
AnomalyDetector & WithLogGroupArnList(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetLogGroupArnList() const
void SetEvaluationFrequency(const EvaluationFrequency &value)
AWS_CLOUDWATCHLOGS_API AnomalyDetector & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDetectorName(Aws::String &&value)
const Aws::String & GetDetectorName() const
AnomalyDetector & WithAnomalyDetectorArn(const char *value)
AnomalyDetector & WithAnomalyDetectorStatus(AnomalyDetectorStatus &&value)
void SetKmsKeyId(const char *value)
AnomalyDetector & WithKmsKeyId(const Aws::String &value)
AnomalyDetector & WithLogGroupArnList(const Aws::Vector< Aws::String > &value)
void SetAnomalyDetectorArn(const char *value)
AnomalyDetector & WithEvaluationFrequency(const EvaluationFrequency &value)
AnomalyDetector & AddLogGroupArnList(const char *value)
bool KmsKeyIdHasBeenSet() const
bool FilterPatternHasBeenSet() const
void SetFilterPattern(const Aws::String &value)
bool LastModifiedTimeStampHasBeenSet() const
const EvaluationFrequency & GetEvaluationFrequency() const
void SetDetectorName(const Aws::String &value)
long long GetLastModifiedTimeStamp() const
AWS_CLOUDWATCHLOGS_API AnomalyDetector(Aws::Utils::Json::JsonView jsonValue)
AnomalyDetector & WithAnomalyDetectorArn(Aws::String &&value)
void SetAnomalyDetectorArn(Aws::String &&value)
void SetLastModifiedTimeStamp(long long value)
void SetAnomalyDetectorArn(const Aws::String &value)
void SetKmsKeyId(Aws::String &&value)
AnomalyDetector & WithFilterPattern(const char *value)
void SetLogGroupArnList(const Aws::Vector< Aws::String > &value)
void SetCreationTimeStamp(long long value)
void SetLogGroupArnList(Aws::Vector< Aws::String > &&value)
const Aws::String & GetFilterPattern() const
long long GetCreationTimeStamp() const
AnomalyDetector & WithEvaluationFrequency(EvaluationFrequency &&value)
void SetAnomalyDetectorStatus(const AnomalyDetectorStatus &value)
void SetAnomalyVisibilityTime(long long value)
bool AnomalyDetectorArnHasBeenSet() const
AnomalyDetector & WithLastModifiedTimeStamp(long long value)
bool LogGroupArnListHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
bool EvaluationFrequencyHasBeenSet() const
const Aws::String & GetAnomalyDetectorArn() const
AnomalyDetector & WithAnomalyDetectorArn(const Aws::String &value)
AnomalyDetector & AddLogGroupArnList(Aws::String &&value)
const Aws::String & GetKmsKeyId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue