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>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace CloudWatchLogs
43 template<
typename DetectorNameT = Aws::String>
44 void SetDetectorName(DetectorNameT&& value) { m_detectorNameHasBeenSet =
true; m_detectorName = std::forward<DetectorNameT>(value); }
45 template<
typename DetectorNameT = Aws::String>
55 template<
typename LogGroupArnListT = Aws::Vector<Aws::String>>
56 void SetLogGroupArnList(LogGroupArnListT&& value) { m_logGroupArnListHasBeenSet =
true; m_logGroupArnList = std::forward<LogGroupArnListT>(value); }
57 template<
typename LogGroupArnListT = Aws::Vector<Aws::String>>
59 template<
typename LogGroupArnListT = Aws::String>
79 template<
typename FilterPatternT = Aws::String>
80 void SetFilterPattern(FilterPatternT&& value) { m_filterPatternHasBeenSet =
true; m_filterPattern = std::forward<FilterPatternT>(value); }
81 template<
typename FilterPatternT = Aws::String>
102 template<
typename KmsKeyIdT = Aws::String>
103 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
104 template<
typename KmsKeyIdT = Aws::String>
113 inline void SetCreationTimeStamp(
long long value) { m_creationTimeStampHasBeenSet =
true; m_creationTimeStamp = value; }
122 inline void SetLastModifiedTimeStamp(
long long value) { m_lastModifiedTimeStampHasBeenSet =
true; m_lastModifiedTimeStamp = value; }
133 inline void SetAnomalyVisibilityTime(
long long value) { m_anomalyVisibilityTimeHasBeenSet =
true; m_anomalyVisibilityTime = value; }
140 template<
typename RequestIdT = Aws::String>
141 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
142 template<
typename RequestIdT = Aws::String>
148 bool m_detectorNameHasBeenSet =
false;
151 bool m_logGroupArnListHasBeenSet =
false;
154 bool m_evaluationFrequencyHasBeenSet =
false;
157 bool m_filterPatternHasBeenSet =
false;
160 bool m_anomalyDetectorStatusHasBeenSet =
false;
163 bool m_kmsKeyIdHasBeenSet =
false;
165 long long m_creationTimeStamp{0};
166 bool m_creationTimeStampHasBeenSet =
false;
168 long long m_lastModifiedTimeStamp{0};
169 bool m_lastModifiedTimeStampHasBeenSet =
false;
171 long long m_anomalyVisibilityTime{0};
172 bool m_anomalyVisibilityTimeHasBeenSet =
false;
175 bool m_requestIdHasBeenSet =
false;
GetLogAnomalyDetectorResult & WithLogGroupArnList(LogGroupArnListT &&value)
void SetAnomalyVisibilityTime(long long value)
GetLogAnomalyDetectorResult & WithLastModifiedTimeStamp(long long value)
GetLogAnomalyDetectorResult & WithFilterPattern(FilterPatternT &&value)
GetLogAnomalyDetectorResult & WithRequestId(RequestIdT &&value)
GetLogAnomalyDetectorResult & AddLogGroupArnList(LogGroupArnListT &&value)
void SetAnomalyDetectorStatus(AnomalyDetectorStatus value)
const Aws::String & GetKmsKeyId() const
void SetLogGroupArnList(LogGroupArnListT &&value)
EvaluationFrequency GetEvaluationFrequency() const
AWS_CLOUDWATCHLOGS_API GetLogAnomalyDetectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLogAnomalyDetectorResult & WithAnomalyVisibilityTime(long long value)
void SetDetectorName(DetectorNameT &&value)
AnomalyDetectorStatus GetAnomalyDetectorStatus() const
void SetCreationTimeStamp(long long value)
const Aws::String & GetDetectorName() const
long long GetCreationTimeStamp() const
void SetEvaluationFrequency(EvaluationFrequency value)
const Aws::String & GetRequestId() const
const Aws::String & GetFilterPattern() const
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::Vector< Aws::String > & GetLogGroupArnList() const
GetLogAnomalyDetectorResult & WithKmsKeyId(KmsKeyIdT &&value)
GetLogAnomalyDetectorResult & WithEvaluationFrequency(EvaluationFrequency value)
GetLogAnomalyDetectorResult & WithAnomalyDetectorStatus(AnomalyDetectorStatus value)
long long GetAnomalyVisibilityTime() const
AWS_CLOUDWATCHLOGS_API GetLogAnomalyDetectorResult()=default
void SetFilterPattern(FilterPatternT &&value)
long long GetLastModifiedTimeStamp() const
GetLogAnomalyDetectorResult & WithCreationTimeStamp(long long value)
AWS_CLOUDWATCHLOGS_API GetLogAnomalyDetectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastModifiedTimeStamp(long long value)
GetLogAnomalyDetectorResult & WithDetectorName(DetectorNameT &&value)
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue