7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-guru/model/LogAnomalyType.h>
10#include <aws/core/utils/DateTime.h>
51 template<
typename LogStreamNameT = Aws::String>
52 void SetLogStreamName(LogStreamNameT&& value) { m_logStreamNameHasBeenSet =
true; m_logStreamName = std::forward<LogStreamNameT>(value); }
53 template<
typename LogStreamNameT = Aws::String>
75 template<
typename LogAnomalyTokenT = Aws::String>
76 void SetLogAnomalyToken(LogAnomalyTokenT&& value) { m_logAnomalyTokenHasBeenSet =
true; m_logAnomalyToken = std::forward<LogAnomalyTokenT>(value); }
77 template<
typename LogAnomalyTokenT = Aws::String>
87 template<
typename LogEventIdT = Aws::String>
88 void SetLogEventId(LogEventIdT&& value) { m_logEventIdHasBeenSet =
true; m_logEventId = std::forward<LogEventIdT>(value); }
89 template<
typename LogEventIdT = Aws::String>
99 template<
typename ExplanationT = Aws::String>
100 void SetExplanation(ExplanationT&& value) { m_explanationHasBeenSet =
true; m_explanation = std::forward<ExplanationT>(value); }
101 template<
typename ExplanationT = Aws::String>
121 template<
typename LogEventTimestampT = Aws::Utils::DateTime>
122 void SetLogEventTimestamp(LogEventTimestampT&& value) { m_logEventTimestampHasBeenSet =
true; m_logEventTimestamp = std::forward<LogEventTimestampT>(value); }
123 template<
typename LogEventTimestampT = Aws::Utils::DateTime>
129 bool m_logStreamNameHasBeenSet =
false;
132 bool m_logAnomalyTypeHasBeenSet =
false;
135 bool m_logAnomalyTokenHasBeenSet =
false;
138 bool m_logEventIdHasBeenSet =
false;
141 bool m_explanationHasBeenSet =
false;
143 int m_numberOfLogLinesOccurrences{0};
144 bool m_numberOfLogLinesOccurrencesHasBeenSet =
false;
147 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