AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Anomaly.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/logs/model/State.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/logs/model/LogEvent.h>
13#include <aws/logs/model/PatternToken.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace CloudWatchLogs
27{
28namespace Model
29{
30
39 class Anomaly
40 {
41 public:
42 AWS_CLOUDWATCHLOGS_API Anomaly();
43 AWS_CLOUDWATCHLOGS_API Anomaly(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CLOUDWATCHLOGS_API Anomaly& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetAnomalyId() const{ return m_anomalyId; }
53 inline bool AnomalyIdHasBeenSet() const { return m_anomalyIdHasBeenSet; }
54 inline void SetAnomalyId(const Aws::String& value) { m_anomalyIdHasBeenSet = true; m_anomalyId = value; }
55 inline void SetAnomalyId(Aws::String&& value) { m_anomalyIdHasBeenSet = true; m_anomalyId = std::move(value); }
56 inline void SetAnomalyId(const char* value) { m_anomalyIdHasBeenSet = true; m_anomalyId.assign(value); }
57 inline Anomaly& WithAnomalyId(const Aws::String& value) { SetAnomalyId(value); return *this;}
58 inline Anomaly& WithAnomalyId(Aws::String&& value) { SetAnomalyId(std::move(value)); return *this;}
59 inline Anomaly& WithAnomalyId(const char* value) { SetAnomalyId(value); return *this;}
61
63
66 inline const Aws::String& GetPatternId() const{ return m_patternId; }
67 inline bool PatternIdHasBeenSet() const { return m_patternIdHasBeenSet; }
68 inline void SetPatternId(const Aws::String& value) { m_patternIdHasBeenSet = true; m_patternId = value; }
69 inline void SetPatternId(Aws::String&& value) { m_patternIdHasBeenSet = true; m_patternId = std::move(value); }
70 inline void SetPatternId(const char* value) { m_patternIdHasBeenSet = true; m_patternId.assign(value); }
71 inline Anomaly& WithPatternId(const Aws::String& value) { SetPatternId(value); return *this;}
72 inline Anomaly& WithPatternId(Aws::String&& value) { SetPatternId(std::move(value)); return *this;}
73 inline Anomaly& WithPatternId(const char* value) { SetPatternId(value); return *this;}
75
77
80 inline const Aws::String& GetAnomalyDetectorArn() const{ return m_anomalyDetectorArn; }
81 inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; }
82 inline void SetAnomalyDetectorArn(const Aws::String& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = value; }
83 inline void SetAnomalyDetectorArn(Aws::String&& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = std::move(value); }
84 inline void SetAnomalyDetectorArn(const char* value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn.assign(value); }
85 inline Anomaly& WithAnomalyDetectorArn(const Aws::String& value) { SetAnomalyDetectorArn(value); return *this;}
86 inline Anomaly& WithAnomalyDetectorArn(Aws::String&& value) { SetAnomalyDetectorArn(std::move(value)); return *this;}
87 inline Anomaly& WithAnomalyDetectorArn(const char* value) { SetAnomalyDetectorArn(value); return *this;}
89
91
94 inline const Aws::String& GetPatternString() const{ return m_patternString; }
95 inline bool PatternStringHasBeenSet() const { return m_patternStringHasBeenSet; }
96 inline void SetPatternString(const Aws::String& value) { m_patternStringHasBeenSet = true; m_patternString = value; }
97 inline void SetPatternString(Aws::String&& value) { m_patternStringHasBeenSet = true; m_patternString = std::move(value); }
98 inline void SetPatternString(const char* value) { m_patternStringHasBeenSet = true; m_patternString.assign(value); }
99 inline Anomaly& WithPatternString(const Aws::String& value) { SetPatternString(value); return *this;}
100 inline Anomaly& WithPatternString(Aws::String&& value) { SetPatternString(std::move(value)); return *this;}
101 inline Anomaly& WithPatternString(const char* value) { SetPatternString(value); return *this;}
103
105
109 inline const Aws::String& GetPatternRegex() const{ return m_patternRegex; }
110 inline bool PatternRegexHasBeenSet() const { return m_patternRegexHasBeenSet; }
111 inline void SetPatternRegex(const Aws::String& value) { m_patternRegexHasBeenSet = true; m_patternRegex = value; }
112 inline void SetPatternRegex(Aws::String&& value) { m_patternRegexHasBeenSet = true; m_patternRegex = std::move(value); }
113 inline void SetPatternRegex(const char* value) { m_patternRegexHasBeenSet = true; m_patternRegex.assign(value); }
114 inline Anomaly& WithPatternRegex(const Aws::String& value) { SetPatternRegex(value); return *this;}
115 inline Anomaly& WithPatternRegex(Aws::String&& value) { SetPatternRegex(std::move(value)); return *this;}
116 inline Anomaly& WithPatternRegex(const char* value) { SetPatternRegex(value); return *this;}
118
120
126 inline const Aws::String& GetPriority() const{ return m_priority; }
127 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
128 inline void SetPriority(const Aws::String& value) { m_priorityHasBeenSet = true; m_priority = value; }
129 inline void SetPriority(Aws::String&& value) { m_priorityHasBeenSet = true; m_priority = std::move(value); }
130 inline void SetPriority(const char* value) { m_priorityHasBeenSet = true; m_priority.assign(value); }
131 inline Anomaly& WithPriority(const Aws::String& value) { SetPriority(value); return *this;}
132 inline Anomaly& WithPriority(Aws::String&& value) { SetPriority(std::move(value)); return *this;}
133 inline Anomaly& WithPriority(const char* value) { SetPriority(value); return *this;}
135
137
142 inline long long GetFirstSeen() const{ return m_firstSeen; }
143 inline bool FirstSeenHasBeenSet() const { return m_firstSeenHasBeenSet; }
144 inline void SetFirstSeen(long long value) { m_firstSeenHasBeenSet = true; m_firstSeen = value; }
145 inline Anomaly& WithFirstSeen(long long value) { SetFirstSeen(value); return *this;}
147
149
154 inline long long GetLastSeen() const{ return m_lastSeen; }
155 inline bool LastSeenHasBeenSet() const { return m_lastSeenHasBeenSet; }
156 inline void SetLastSeen(long long value) { m_lastSeenHasBeenSet = true; m_lastSeen = value; }
157 inline Anomaly& WithLastSeen(long long value) { SetLastSeen(value); return *this;}
159
161
165 inline const Aws::String& GetDescription() const{ return m_description; }
166 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
167 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
168 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
169 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
170 inline Anomaly& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
171 inline Anomaly& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
172 inline Anomaly& WithDescription(const char* value) { SetDescription(value); return *this;}
174
176
179 inline bool GetActive() const{ return m_active; }
180 inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
181 inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
182 inline Anomaly& WithActive(bool value) { SetActive(value); return *this;}
184
186
194 inline const State& GetState() const{ return m_state; }
195 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
196 inline void SetState(const State& value) { m_stateHasBeenSet = true; m_state = value; }
197 inline void SetState(State&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
198 inline Anomaly& WithState(const State& value) { SetState(value); return *this;}
199 inline Anomaly& WithState(State&& value) { SetState(std::move(value)); return *this;}
201
203
209 inline const Aws::Map<Aws::String, long long>& GetHistogram() const{ return m_histogram; }
210 inline bool HistogramHasBeenSet() const { return m_histogramHasBeenSet; }
211 inline void SetHistogram(const Aws::Map<Aws::String, long long>& value) { m_histogramHasBeenSet = true; m_histogram = value; }
212 inline void SetHistogram(Aws::Map<Aws::String, long long>&& value) { m_histogramHasBeenSet = true; m_histogram = std::move(value); }
213 inline Anomaly& WithHistogram(const Aws::Map<Aws::String, long long>& value) { SetHistogram(value); return *this;}
214 inline Anomaly& WithHistogram(Aws::Map<Aws::String, long long>&& value) { SetHistogram(std::move(value)); return *this;}
215 inline Anomaly& AddHistogram(const Aws::String& key, long long value) { m_histogramHasBeenSet = true; m_histogram.emplace(key, value); return *this; }
216 inline Anomaly& AddHistogram(Aws::String&& key, long long value) { m_histogramHasBeenSet = true; m_histogram.emplace(std::move(key), value); return *this; }
217 inline Anomaly& AddHistogram(const char* key, long long value) { m_histogramHasBeenSet = true; m_histogram.emplace(key, value); return *this; }
219
221
225 inline const Aws::Vector<LogEvent>& GetLogSamples() const{ return m_logSamples; }
226 inline bool LogSamplesHasBeenSet() const { return m_logSamplesHasBeenSet; }
227 inline void SetLogSamples(const Aws::Vector<LogEvent>& value) { m_logSamplesHasBeenSet = true; m_logSamples = value; }
228 inline void SetLogSamples(Aws::Vector<LogEvent>&& value) { m_logSamplesHasBeenSet = true; m_logSamples = std::move(value); }
229 inline Anomaly& WithLogSamples(const Aws::Vector<LogEvent>& value) { SetLogSamples(value); return *this;}
230 inline Anomaly& WithLogSamples(Aws::Vector<LogEvent>&& value) { SetLogSamples(std::move(value)); return *this;}
231 inline Anomaly& AddLogSamples(const LogEvent& value) { m_logSamplesHasBeenSet = true; m_logSamples.push_back(value); return *this; }
232 inline Anomaly& AddLogSamples(LogEvent&& value) { m_logSamplesHasBeenSet = true; m_logSamples.push_back(std::move(value)); return *this; }
234
236
240 inline const Aws::Vector<PatternToken>& GetPatternTokens() const{ return m_patternTokens; }
241 inline bool PatternTokensHasBeenSet() const { return m_patternTokensHasBeenSet; }
242 inline void SetPatternTokens(const Aws::Vector<PatternToken>& value) { m_patternTokensHasBeenSet = true; m_patternTokens = value; }
243 inline void SetPatternTokens(Aws::Vector<PatternToken>&& value) { m_patternTokensHasBeenSet = true; m_patternTokens = std::move(value); }
244 inline Anomaly& WithPatternTokens(const Aws::Vector<PatternToken>& value) { SetPatternTokens(value); return *this;}
245 inline Anomaly& WithPatternTokens(Aws::Vector<PatternToken>&& value) { SetPatternTokens(std::move(value)); return *this;}
246 inline Anomaly& AddPatternTokens(const PatternToken& value) { m_patternTokensHasBeenSet = true; m_patternTokens.push_back(value); return *this; }
247 inline Anomaly& AddPatternTokens(PatternToken&& value) { m_patternTokensHasBeenSet = true; m_patternTokens.push_back(std::move(value)); return *this; }
249
251
255 inline const Aws::Vector<Aws::String>& GetLogGroupArnList() const{ return m_logGroupArnList; }
256 inline bool LogGroupArnListHasBeenSet() const { return m_logGroupArnListHasBeenSet; }
257 inline void SetLogGroupArnList(const Aws::Vector<Aws::String>& value) { m_logGroupArnListHasBeenSet = true; m_logGroupArnList = value; }
258 inline void SetLogGroupArnList(Aws::Vector<Aws::String>&& value) { m_logGroupArnListHasBeenSet = true; m_logGroupArnList = std::move(value); }
259 inline Anomaly& WithLogGroupArnList(const Aws::Vector<Aws::String>& value) { SetLogGroupArnList(value); return *this;}
260 inline Anomaly& WithLogGroupArnList(Aws::Vector<Aws::String>&& value) { SetLogGroupArnList(std::move(value)); return *this;}
261 inline Anomaly& AddLogGroupArnList(const Aws::String& value) { m_logGroupArnListHasBeenSet = true; m_logGroupArnList.push_back(value); return *this; }
262 inline Anomaly& AddLogGroupArnList(Aws::String&& value) { m_logGroupArnListHasBeenSet = true; m_logGroupArnList.push_back(std::move(value)); return *this; }
263 inline Anomaly& AddLogGroupArnList(const char* value) { m_logGroupArnListHasBeenSet = true; m_logGroupArnList.push_back(value); return *this; }
265
267
272 inline bool GetSuppressed() const{ return m_suppressed; }
273 inline bool SuppressedHasBeenSet() const { return m_suppressedHasBeenSet; }
274 inline void SetSuppressed(bool value) { m_suppressedHasBeenSet = true; m_suppressed = value; }
275 inline Anomaly& WithSuppressed(bool value) { SetSuppressed(value); return *this;}
277
279
282 inline long long GetSuppressedDate() const{ return m_suppressedDate; }
283 inline bool SuppressedDateHasBeenSet() const { return m_suppressedDateHasBeenSet; }
284 inline void SetSuppressedDate(long long value) { m_suppressedDateHasBeenSet = true; m_suppressedDate = value; }
285 inline Anomaly& WithSuppressedDate(long long value) { SetSuppressedDate(value); return *this;}
287
289
294 inline long long GetSuppressedUntil() const{ return m_suppressedUntil; }
295 inline bool SuppressedUntilHasBeenSet() const { return m_suppressedUntilHasBeenSet; }
296 inline void SetSuppressedUntil(long long value) { m_suppressedUntilHasBeenSet = true; m_suppressedUntil = value; }
297 inline Anomaly& WithSuppressedUntil(long long value) { SetSuppressedUntil(value); return *this;}
299
301
306 inline bool GetIsPatternLevelSuppression() const{ return m_isPatternLevelSuppression; }
307 inline bool IsPatternLevelSuppressionHasBeenSet() const { return m_isPatternLevelSuppressionHasBeenSet; }
308 inline void SetIsPatternLevelSuppression(bool value) { m_isPatternLevelSuppressionHasBeenSet = true; m_isPatternLevelSuppression = value; }
309 inline Anomaly& WithIsPatternLevelSuppression(bool value) { SetIsPatternLevelSuppression(value); return *this;}
311 private:
312
313 Aws::String m_anomalyId;
314 bool m_anomalyIdHasBeenSet = false;
315
316 Aws::String m_patternId;
317 bool m_patternIdHasBeenSet = false;
318
319 Aws::String m_anomalyDetectorArn;
320 bool m_anomalyDetectorArnHasBeenSet = false;
321
322 Aws::String m_patternString;
323 bool m_patternStringHasBeenSet = false;
324
325 Aws::String m_patternRegex;
326 bool m_patternRegexHasBeenSet = false;
327
328 Aws::String m_priority;
329 bool m_priorityHasBeenSet = false;
330
331 long long m_firstSeen;
332 bool m_firstSeenHasBeenSet = false;
333
334 long long m_lastSeen;
335 bool m_lastSeenHasBeenSet = false;
336
337 Aws::String m_description;
338 bool m_descriptionHasBeenSet = false;
339
340 bool m_active;
341 bool m_activeHasBeenSet = false;
342
343 State m_state;
344 bool m_stateHasBeenSet = false;
345
347 bool m_histogramHasBeenSet = false;
348
349 Aws::Vector<LogEvent> m_logSamples;
350 bool m_logSamplesHasBeenSet = false;
351
352 Aws::Vector<PatternToken> m_patternTokens;
353 bool m_patternTokensHasBeenSet = false;
354
355 Aws::Vector<Aws::String> m_logGroupArnList;
356 bool m_logGroupArnListHasBeenSet = false;
357
358 bool m_suppressed;
359 bool m_suppressedHasBeenSet = false;
360
361 long long m_suppressedDate;
362 bool m_suppressedDateHasBeenSet = false;
363
364 long long m_suppressedUntil;
365 bool m_suppressedUntilHasBeenSet = false;
366
367 bool m_isPatternLevelSuppression;
368 bool m_isPatternLevelSuppressionHasBeenSet = false;
369 };
370
371} // namespace Model
372} // namespace CloudWatchLogs
373} // namespace Aws
void SetDescription(const char *value)
Definition Anomaly.h:169
Anomaly & WithPriority(const Aws::String &value)
Definition Anomaly.h:131
void SetSuppressedUntil(long long value)
Definition Anomaly.h:296
const Aws::Vector< PatternToken > & GetPatternTokens() const
Definition Anomaly.h:240
void SetPatternId(const Aws::String &value)
Definition Anomaly.h:68
Anomaly & WithPatternRegex(const char *value)
Definition Anomaly.h:116
const Aws::Vector< LogEvent > & GetLogSamples() const
Definition Anomaly.h:225
void SetDescription(Aws::String &&value)
Definition Anomaly.h:168
void SetAnomalyDetectorArn(const Aws::String &value)
Definition Anomaly.h:82
Anomaly & WithLogSamples(const Aws::Vector< LogEvent > &value)
Definition Anomaly.h:229
void SetFirstSeen(long long value)
Definition Anomaly.h:144
void SetLastSeen(long long value)
Definition Anomaly.h:156
const Aws::Map< Aws::String, long long > & GetHistogram() const
Definition Anomaly.h:209
Anomaly & WithState(const State &value)
Definition Anomaly.h:198
const Aws::String & GetDescription() const
Definition Anomaly.h:165
Anomaly & AddLogSamples(LogEvent &&value)
Definition Anomaly.h:232
void SetPatternId(Aws::String &&value)
Definition Anomaly.h:69
const Aws::Vector< Aws::String > & GetLogGroupArnList() const
Definition Anomaly.h:255
AWS_CLOUDWATCHLOGS_API Anomaly()
Anomaly & AddPatternTokens(const PatternToken &value)
Definition Anomaly.h:246
Anomaly & WithState(State &&value)
Definition Anomaly.h:199
const Aws::String & GetPriority() const
Definition Anomaly.h:126
Anomaly & AddHistogram(const Aws::String &key, long long value)
Definition Anomaly.h:215
const Aws::String & GetAnomalyDetectorArn() const
Definition Anomaly.h:80
Anomaly & AddLogGroupArnList(const char *value)
Definition Anomaly.h:263
void SetAnomalyId(const char *value)
Definition Anomaly.h:56
void SetPriority(Aws::String &&value)
Definition Anomaly.h:129
void SetPatternTokens(Aws::Vector< PatternToken > &&value)
Definition Anomaly.h:243
Anomaly & WithIsPatternLevelSuppression(bool value)
Definition Anomaly.h:309
Anomaly & WithPatternString(const char *value)
Definition Anomaly.h:101
void SetPatternString(const char *value)
Definition Anomaly.h:98
void SetHistogram(const Aws::Map< Aws::String, long long > &value)
Definition Anomaly.h:211
Anomaly & WithAnomalyDetectorArn(Aws::String &&value)
Definition Anomaly.h:86
void SetPatternRegex(const Aws::String &value)
Definition Anomaly.h:111
void SetPatternId(const char *value)
Definition Anomaly.h:70
void SetPatternString(Aws::String &&value)
Definition Anomaly.h:97
void SetAnomalyId(const Aws::String &value)
Definition Anomaly.h:54
Anomaly & WithLogGroupArnList(const Aws::Vector< Aws::String > &value)
Definition Anomaly.h:259
Anomaly & WithAnomalyId(const Aws::String &value)
Definition Anomaly.h:57
void SetPatternString(const Aws::String &value)
Definition Anomaly.h:96
void SetLogSamples(const Aws::Vector< LogEvent > &value)
Definition Anomaly.h:227
void SetState(State &&value)
Definition Anomaly.h:197
Anomaly & WithPriority(Aws::String &&value)
Definition Anomaly.h:132
Anomaly & AddLogGroupArnList(Aws::String &&value)
Definition Anomaly.h:262
void SetLogSamples(Aws::Vector< LogEvent > &&value)
Definition Anomaly.h:228
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
Anomaly & WithPatternId(const Aws::String &value)
Definition Anomaly.h:71
Anomaly & WithLastSeen(long long value)
Definition Anomaly.h:157
Anomaly & WithActive(bool value)
Definition Anomaly.h:182
Anomaly & WithPatternString(const Aws::String &value)
Definition Anomaly.h:99
Anomaly & WithPatternRegex(Aws::String &&value)
Definition Anomaly.h:115
Anomaly & AddHistogram(Aws::String &&key, long long value)
Definition Anomaly.h:216
const Aws::String & GetPatternId() const
Definition Anomaly.h:66
void SetPatternTokens(const Aws::Vector< PatternToken > &value)
Definition Anomaly.h:242
const Aws::String & GetAnomalyId() const
Definition Anomaly.h:52
Anomaly & AddHistogram(const char *key, long long value)
Definition Anomaly.h:217
Anomaly & WithDescription(const char *value)
Definition Anomaly.h:172
Anomaly & WithAnomalyId(Aws::String &&value)
Definition Anomaly.h:58
Anomaly & WithLogGroupArnList(Aws::Vector< Aws::String > &&value)
Definition Anomaly.h:260
Anomaly & WithPatternTokens(Aws::Vector< PatternToken > &&value)
Definition Anomaly.h:245
Anomaly & WithPatternTokens(const Aws::Vector< PatternToken > &value)
Definition Anomaly.h:244
const Aws::String & GetPatternRegex() const
Definition Anomaly.h:109
void SetLogGroupArnList(const Aws::Vector< Aws::String > &value)
Definition Anomaly.h:257
void SetPriority(const char *value)
Definition Anomaly.h:130
Anomaly & AddLogSamples(const LogEvent &value)
Definition Anomaly.h:231
Anomaly & WithPatternId(const char *value)
Definition Anomaly.h:73
Anomaly & WithDescription(const Aws::String &value)
Definition Anomaly.h:170
bool AnomalyDetectorArnHasBeenSet() const
Definition Anomaly.h:81
bool IsPatternLevelSuppressionHasBeenSet() const
Definition Anomaly.h:307
const State & GetState() const
Definition Anomaly.h:194
void SetAnomalyId(Aws::String &&value)
Definition Anomaly.h:55
Anomaly & WithAnomalyId(const char *value)
Definition Anomaly.h:59
void SetIsPatternLevelSuppression(bool value)
Definition Anomaly.h:308
Anomaly & WithFirstSeen(long long value)
Definition Anomaly.h:145
Anomaly & WithLogSamples(Aws::Vector< LogEvent > &&value)
Definition Anomaly.h:230
void SetState(const State &value)
Definition Anomaly.h:196
AWS_CLOUDWATCHLOGS_API Anomaly & operator=(Aws::Utils::Json::JsonView jsonValue)
Anomaly & WithHistogram(const Aws::Map< Aws::String, long long > &value)
Definition Anomaly.h:213
Anomaly & AddPatternTokens(PatternToken &&value)
Definition Anomaly.h:247
void SetAnomalyDetectorArn(Aws::String &&value)
Definition Anomaly.h:83
void SetPatternRegex(Aws::String &&value)
Definition Anomaly.h:112
Anomaly & WithPriority(const char *value)
Definition Anomaly.h:133
Anomaly & WithAnomalyDetectorArn(const Aws::String &value)
Definition Anomaly.h:85
Anomaly & WithDescription(Aws::String &&value)
Definition Anomaly.h:171
void SetPatternRegex(const char *value)
Definition Anomaly.h:113
Anomaly & WithPatternId(Aws::String &&value)
Definition Anomaly.h:72
void SetAnomalyDetectorArn(const char *value)
Definition Anomaly.h:84
Anomaly & WithAnomalyDetectorArn(const char *value)
Definition Anomaly.h:87
Anomaly & WithSuppressedDate(long long value)
Definition Anomaly.h:285
Anomaly & WithHistogram(Aws::Map< Aws::String, long long > &&value)
Definition Anomaly.h:214
void SetSuppressedDate(long long value)
Definition Anomaly.h:284
Anomaly & WithSuppressedUntil(long long value)
Definition Anomaly.h:297
Anomaly & WithPatternRegex(const Aws::String &value)
Definition Anomaly.h:114
void SetPriority(const Aws::String &value)
Definition Anomaly.h:128
long long GetSuppressedDate() const
Definition Anomaly.h:282
Anomaly & WithSuppressed(bool value)
Definition Anomaly.h:275
Anomaly & AddLogGroupArnList(const Aws::String &value)
Definition Anomaly.h:261
long long GetSuppressedUntil() const
Definition Anomaly.h:294
Anomaly & WithPatternString(Aws::String &&value)
Definition Anomaly.h:100
void SetHistogram(Aws::Map< Aws::String, long long > &&value)
Definition Anomaly.h:212
void SetDescription(const Aws::String &value)
Definition Anomaly.h:167
bool GetIsPatternLevelSuppression() const
Definition Anomaly.h:306
const Aws::String & GetPatternString() const
Definition Anomaly.h:94
AWS_CLOUDWATCHLOGS_API Anomaly(Aws::Utils::Json::JsonView jsonValue)
void SetLogGroupArnList(Aws::Vector< Aws::String > &&value)
Definition Anomaly.h:258
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
Aws::Utils::Json::JsonValue JsonValue