7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutmetrics/model/AnomalyDetectionTaskStatus.h>
22namespace LookoutMetrics
49 inline void SetTimestamp(
const char* value) { m_timestampHasBeenSet =
true; m_timestamp.assign(value); }
75 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
83 bool m_timestampHasBeenSet =
false;
86 bool m_statusHasBeenSet =
false;
89 bool m_failureReasonHasBeenSet =
false;
const Aws::String & GetFailureReason() const
bool TimestampHasBeenSet() const
void SetTimestamp(const Aws::String &value)
const Aws::String & GetTimestamp() const
bool FailureReasonHasBeenSet() const
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
void SetTimestamp(const char *value)
void SetStatus(const AnomalyDetectionTaskStatus &value)
ExecutionStatus & WithStatus(const AnomalyDetectionTaskStatus &value)
AWS_LOOKOUTMETRICS_API ExecutionStatus()
AWS_LOOKOUTMETRICS_API ExecutionStatus(Aws::Utils::Json::JsonView jsonValue)
ExecutionStatus & WithTimestamp(Aws::String &&value)
ExecutionStatus & WithFailureReason(const Aws::String &value)
void SetFailureReason(Aws::String &&value)
void SetFailureReason(const char *value)
ExecutionStatus & WithTimestamp(const Aws::String &value)
void SetStatus(AnomalyDetectionTaskStatus &&value)
void SetTimestamp(Aws::String &&value)
ExecutionStatus & WithFailureReason(Aws::String &&value)
ExecutionStatus & WithTimestamp(const char *value)
void SetFailureReason(const Aws::String &value)
AWS_LOOKOUTMETRICS_API ExecutionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecutionStatus & WithFailureReason(const char *value)
ExecutionStatus & WithStatus(AnomalyDetectionTaskStatus &&value)
const AnomalyDetectionTaskStatus & GetStatus() const
AnomalyDetectionTaskStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue