7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10#include <aws/logs/model/AnomalyDetectorStatus.h>
11#include <aws/logs/model/EvaluationFrequency.h>
22namespace CloudWatchLogs {
44 template <
typename AnomalyDetectorArnT = Aws::String>
46 m_anomalyDetectorArnHasBeenSet =
true;
47 m_anomalyDetectorArn = std::forward<AnomalyDetectorArnT>(value);
49 template <
typename AnomalyDetectorArnT = Aws::String>
62 template <
typename DetectorNameT = Aws::String>
64 m_detectorNameHasBeenSet =
true;
65 m_detectorName = std::forward<DetectorNameT>(value);
67 template <
typename DetectorNameT = Aws::String>
80 template <
typename LogGroupArnListT = Aws::Vector<Aws::String>>
82 m_logGroupArnListHasBeenSet =
true;
83 m_logGroupArnList = std::forward<LogGroupArnListT>(value);
85 template <
typename LogGroupArnListT = Aws::Vector<Aws::String>>
90 template <
typename LogGroupArnListT = Aws::String>
92 m_logGroupArnListHasBeenSet =
true;
93 m_logGroupArnList.emplace_back(std::forward<LogGroupArnListT>(value));
105 m_evaluationFrequencyHasBeenSet =
true;
106 m_evaluationFrequency = value;
118 template <
typename FilterPatternT = Aws::String>
120 m_filterPatternHasBeenSet =
true;
121 m_filterPattern = std::forward<FilterPatternT>(value);
123 template <
typename FilterPatternT = Aws::String>
140 m_anomalyDetectorStatusHasBeenSet =
true;
141 m_anomalyDetectorStatus = value;
155 template <
typename KmsKeyIdT = Aws::String>
157 m_kmsKeyIdHasBeenSet =
true;
158 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
160 template <
typename KmsKeyIdT = Aws::String>
174 m_creationTimeStampHasBeenSet =
true;
175 m_creationTimeStamp = value;
190 m_lastModifiedTimeStampHasBeenSet =
true;
191 m_lastModifiedTimeStamp = value;
208 m_anomalyVisibilityTimeHasBeenSet =
true;
209 m_anomalyVisibilityTime = value;
231 long long m_creationTimeStamp{0};
233 long long m_lastModifiedTimeStamp{0};
235 long long m_anomalyVisibilityTime{0};
236 bool m_anomalyDetectorArnHasBeenSet =
false;
237 bool m_detectorNameHasBeenSet =
false;
238 bool m_logGroupArnListHasBeenSet =
false;
239 bool m_evaluationFrequencyHasBeenSet =
false;
240 bool m_filterPatternHasBeenSet =
false;
241 bool m_anomalyDetectorStatusHasBeenSet =
false;
242 bool m_kmsKeyIdHasBeenSet =
false;
243 bool m_creationTimeStampHasBeenSet =
false;
244 bool m_lastModifiedTimeStampHasBeenSet =
false;
245 bool m_anomalyVisibilityTimeHasBeenSet =
false;
EvaluationFrequency GetEvaluationFrequency() const
void SetLogGroupArnList(LogGroupArnListT &&value)
AnomalyDetector & WithKmsKeyId(KmsKeyIdT &&value)
bool DetectorNameHasBeenSet() const
bool AnomalyDetectorStatusHasBeenSet() const
AnomalyDetectorStatus GetAnomalyDetectorStatus() const
void SetDetectorName(DetectorNameT &&value)
void SetAnomalyDetectorStatus(AnomalyDetectorStatus value)
bool CreationTimeStampHasBeenSet() const
AnomalyDetector & WithAnomalyDetectorStatus(AnomalyDetectorStatus value)
long long GetAnomalyVisibilityTime() const
AnomalyDetector & WithCreationTimeStamp(long long value)
AnomalyDetector & WithAnomalyVisibilityTime(long long value)
bool AnomalyVisibilityTimeHasBeenSet() const
AnomalyDetector & WithLogGroupArnList(LogGroupArnListT &&value)
void SetAnomalyDetectorArn(AnomalyDetectorArnT &&value)
AWS_CLOUDWATCHLOGS_API AnomalyDetector()=default
void SetFilterPattern(FilterPatternT &&value)
const Aws::Vector< Aws::String > & GetLogGroupArnList() const
AWS_CLOUDWATCHLOGS_API AnomalyDetector & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDetectorName() const
bool KmsKeyIdHasBeenSet() const
bool FilterPatternHasBeenSet() const
AnomalyDetector & WithAnomalyDetectorArn(AnomalyDetectorArnT &&value)
bool LastModifiedTimeStampHasBeenSet() const
AnomalyDetector & AddLogGroupArnList(LogGroupArnListT &&value)
long long GetLastModifiedTimeStamp() const
AnomalyDetector & WithFilterPattern(FilterPatternT &&value)
AnomalyDetector & WithEvaluationFrequency(EvaluationFrequency value)
AWS_CLOUDWATCHLOGS_API AnomalyDetector(Aws::Utils::Json::JsonView jsonValue)
AnomalyDetector & WithDetectorName(DetectorNameT &&value)
void SetLastModifiedTimeStamp(long long value)
void SetCreationTimeStamp(long long value)
const Aws::String & GetFilterPattern() const
long long GetCreationTimeStamp() const
void SetAnomalyVisibilityTime(long long value)
bool AnomalyDetectorArnHasBeenSet() const
AnomalyDetector & WithLastModifiedTimeStamp(long long value)
bool LogGroupArnListHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
bool EvaluationFrequencyHasBeenSet() const
const Aws::String & GetAnomalyDetectorArn() const
void SetEvaluationFrequency(EvaluationFrequency 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