7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
10#include <aws/devops-guru/model/LogAnomalyType.h>
45 template <
typename LogStreamNameT = Aws::String>
47 m_logStreamNameHasBeenSet =
true;
48 m_logStreamName = std::forward<LogStreamNameT>(value);
50 template <
typename LogStreamNameT = Aws::String>
64 m_logAnomalyTypeHasBeenSet =
true;
65 m_logAnomalyType = value;
81 template <
typename LogAnomalyTokenT = Aws::String>
83 m_logAnomalyTokenHasBeenSet =
true;
84 m_logAnomalyToken = std::forward<LogAnomalyTokenT>(value);
86 template <
typename LogAnomalyTokenT = Aws::String>
99 template <
typename LogEventIdT = Aws::String>
101 m_logEventIdHasBeenSet =
true;
102 m_logEventId = std::forward<LogEventIdT>(value);
104 template <
typename LogEventIdT = Aws::String>
117 template <
typename ExplanationT = Aws::String>
119 m_explanationHasBeenSet =
true;
120 m_explanation = std::forward<ExplanationT>(value);
122 template <
typename ExplanationT = Aws::String>
136 m_numberOfLogLinesOccurrencesHasBeenSet =
true;
137 m_numberOfLogLinesOccurrences = value;
151 template <
typename LogEventTimestampT = Aws::Utils::DateTime>
153 m_logEventTimestampHasBeenSet =
true;
154 m_logEventTimestamp = std::forward<LogEventTimestampT>(value);
156 template <
typename LogEventTimestampT = Aws::Utils::DateTime>
173 int m_numberOfLogLinesOccurrences{0};
176 bool m_logStreamNameHasBeenSet =
false;
177 bool m_logAnomalyTypeHasBeenSet =
false;
178 bool m_logAnomalyTokenHasBeenSet =
false;
179 bool m_logEventIdHasBeenSet =
false;
180 bool m_explanationHasBeenSet =
false;
181 bool m_numberOfLogLinesOccurrencesHasBeenSet =
false;
182 bool m_logEventTimestampHasBeenSet =
false;
void SetLogAnomalyType(LogAnomalyType value)
LogAnomalyClass & WithNumberOfLogLinesOccurrences(int value)
const Aws::Utils::DateTime & GetLogEventTimestamp() const
void SetLogEventTimestamp(LogEventTimestampT &&value)
AWS_DEVOPSGURU_API LogAnomalyClass & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API LogAnomalyClass()=default
bool LogAnomalyTypeHasBeenSet() const
void SetNumberOfLogLinesOccurrences(int value)
const Aws::String & GetLogEventId() const
LogAnomalyClass & WithLogStreamName(LogStreamNameT &&value)
bool LogEventIdHasBeenSet() const
bool NumberOfLogLinesOccurrencesHasBeenSet() const
const Aws::String & GetExplanation() const
bool LogEventTimestampHasBeenSet() const
LogAnomalyClass & WithLogAnomalyType(LogAnomalyType value)
int GetNumberOfLogLinesOccurrences() const
bool LogAnomalyTokenHasBeenSet() const
void SetLogStreamName(LogStreamNameT &&value)
bool LogStreamNameHasBeenSet() const
void SetExplanation(ExplanationT &&value)
void SetLogAnomalyToken(LogAnomalyTokenT &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
LogAnomalyClass & WithExplanation(ExplanationT &&value)
LogAnomalyClass & WithLogAnomalyToken(LogAnomalyTokenT &&value)
LogAnomalyType GetLogAnomalyType() const
bool ExplanationHasBeenSet() const
LogAnomalyClass & WithLogEventTimestamp(LogEventTimestampT &&value)
AWS_DEVOPSGURU_API LogAnomalyClass(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLogAnomalyToken() const
void SetLogEventId(LogEventIdT &&value)
const Aws::String & GetLogStreamName() const
LogAnomalyClass & WithLogEventId(LogEventIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue