7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/MonitoringAlertStatus.h>
11#include <aws/sagemaker/model/MonitoringAlertActions.h>
52 inline void SetMonitoringAlertName(
const char* value) { m_monitoringAlertNameHasBeenSet =
true; m_monitoringAlertName.assign(value); }
101 inline void SetDatapointsToAlert(
int value) { m_datapointsToAlertHasBeenSet =
true; m_datapointsToAlert = value; }
112 inline void SetEvaluationPeriod(
int value) { m_evaluationPeriodHasBeenSet =
true; m_evaluationPeriod = value; }
131 bool m_monitoringAlertNameHasBeenSet =
false;
134 bool m_creationTimeHasBeenSet =
false;
137 bool m_lastModifiedTimeHasBeenSet =
false;
140 bool m_alertStatusHasBeenSet =
false;
142 int m_datapointsToAlert;
143 bool m_datapointsToAlertHasBeenSet =
false;
145 int m_evaluationPeriod;
146 bool m_evaluationPeriodHasBeenSet =
false;
149 bool m_actionsHasBeenSet =
false;
MonitoringAlertSummary & WithMonitoringAlertName(const char *value)
int GetEvaluationPeriod() const
void SetAlertStatus(const MonitoringAlertStatus &value)
MonitoringAlertSummary & WithMonitoringAlertName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationTime() const
MonitoringAlertSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetAlertStatus(MonitoringAlertStatus &&value)
const MonitoringAlertStatus & GetAlertStatus() const
AWS_SAGEMAKER_API MonitoringAlertSummary(Aws::Utils::Json::JsonView jsonValue)
void SetActions(const MonitoringAlertActions &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool EvaluationPeriodHasBeenSet() const
bool MonitoringAlertNameHasBeenSet() const
MonitoringAlertSummary & WithAlertStatus(const MonitoringAlertStatus &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
MonitoringAlertSummary & WithDatapointsToAlert(int value)
MonitoringAlertSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetMonitoringAlertName(const char *value)
int GetDatapointsToAlert() const
bool LastModifiedTimeHasBeenSet() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API MonitoringAlertSummary()
const Aws::String & GetMonitoringAlertName() const
MonitoringAlertSummary & WithMonitoringAlertName(Aws::String &&value)
bool ActionsHasBeenSet() const
void SetDatapointsToAlert(int value)
bool AlertStatusHasBeenSet() const
bool CreationTimeHasBeenSet() const
void SetMonitoringAlertName(Aws::String &&value)
MonitoringAlertSummary & WithActions(const MonitoringAlertActions &value)
MonitoringAlertSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetEvaluationPeriod(int value)
MonitoringAlertSummary & WithAlertStatus(MonitoringAlertStatus &&value)
void SetActions(MonitoringAlertActions &&value)
void SetMonitoringAlertName(const Aws::String &value)
bool DatapointsToAlertHasBeenSet() const
MonitoringAlertSummary & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API MonitoringAlertSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
MonitoringAlertSummary & WithActions(MonitoringAlertActions &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const MonitoringAlertActions & GetActions() const
MonitoringAlertSummary & WithEvaluationPeriod(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue