/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides summary information of an alert's history.See Also:
* AWS
* API Reference
The name of a monitoring schedule.
*/ inline const Aws::String& GetMonitoringScheduleName() const{ return m_monitoringScheduleName; } /** *The name of a monitoring schedule.
*/ inline bool MonitoringScheduleNameHasBeenSet() const { return m_monitoringScheduleNameHasBeenSet; } /** *The name of a monitoring schedule.
*/ inline void SetMonitoringScheduleName(const Aws::String& value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = value; } /** *The name of a monitoring schedule.
*/ inline void SetMonitoringScheduleName(Aws::String&& value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = std::move(value); } /** *The name of a monitoring schedule.
*/ inline void SetMonitoringScheduleName(const char* value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName.assign(value); } /** *The name of a monitoring schedule.
*/ inline MonitoringAlertHistorySummary& WithMonitoringScheduleName(const Aws::String& value) { SetMonitoringScheduleName(value); return *this;} /** *The name of a monitoring schedule.
*/ inline MonitoringAlertHistorySummary& WithMonitoringScheduleName(Aws::String&& value) { SetMonitoringScheduleName(std::move(value)); return *this;} /** *The name of a monitoring schedule.
*/ inline MonitoringAlertHistorySummary& WithMonitoringScheduleName(const char* value) { SetMonitoringScheduleName(value); return *this;} /** *The name of a monitoring alert.
*/ inline const Aws::String& GetMonitoringAlertName() const{ return m_monitoringAlertName; } /** *The name of a monitoring alert.
*/ inline bool MonitoringAlertNameHasBeenSet() const { return m_monitoringAlertNameHasBeenSet; } /** *The name of a monitoring alert.
*/ inline void SetMonitoringAlertName(const Aws::String& value) { m_monitoringAlertNameHasBeenSet = true; m_monitoringAlertName = value; } /** *The name of a monitoring alert.
*/ inline void SetMonitoringAlertName(Aws::String&& value) { m_monitoringAlertNameHasBeenSet = true; m_monitoringAlertName = std::move(value); } /** *The name of a monitoring alert.
*/ inline void SetMonitoringAlertName(const char* value) { m_monitoringAlertNameHasBeenSet = true; m_monitoringAlertName.assign(value); } /** *The name of a monitoring alert.
*/ inline MonitoringAlertHistorySummary& WithMonitoringAlertName(const Aws::String& value) { SetMonitoringAlertName(value); return *this;} /** *The name of a monitoring alert.
*/ inline MonitoringAlertHistorySummary& WithMonitoringAlertName(Aws::String&& value) { SetMonitoringAlertName(std::move(value)); return *this;} /** *The name of a monitoring alert.
*/ inline MonitoringAlertHistorySummary& WithMonitoringAlertName(const char* value) { SetMonitoringAlertName(value); return *this;} /** *A timestamp that indicates when the first alert transition occurred in an
* alert history. An alert transition can be from status InAlert
to
* OK
, or from OK
to InAlert
.
A timestamp that indicates when the first alert transition occurred in an
* alert history. An alert transition can be from status InAlert
to
* OK
, or from OK
to InAlert
.
A timestamp that indicates when the first alert transition occurred in an
* alert history. An alert transition can be from status InAlert
to
* OK
, or from OK
to InAlert
.
A timestamp that indicates when the first alert transition occurred in an
* alert history. An alert transition can be from status InAlert
to
* OK
, or from OK
to InAlert
.
A timestamp that indicates when the first alert transition occurred in an
* alert history. An alert transition can be from status InAlert
to
* OK
, or from OK
to InAlert
.
A timestamp that indicates when the first alert transition occurred in an
* alert history. An alert transition can be from status InAlert
to
* OK
, or from OK
to InAlert
.
The current alert status of an alert.
*/ inline const MonitoringAlertStatus& GetAlertStatus() const{ return m_alertStatus; } /** *The current alert status of an alert.
*/ inline bool AlertStatusHasBeenSet() const { return m_alertStatusHasBeenSet; } /** *The current alert status of an alert.
*/ inline void SetAlertStatus(const MonitoringAlertStatus& value) { m_alertStatusHasBeenSet = true; m_alertStatus = value; } /** *The current alert status of an alert.
*/ inline void SetAlertStatus(MonitoringAlertStatus&& value) { m_alertStatusHasBeenSet = true; m_alertStatus = std::move(value); } /** *The current alert status of an alert.
*/ inline MonitoringAlertHistorySummary& WithAlertStatus(const MonitoringAlertStatus& value) { SetAlertStatus(value); return *this;} /** *The current alert status of an alert.
*/ inline MonitoringAlertHistorySummary& WithAlertStatus(MonitoringAlertStatus&& value) { SetAlertStatus(std::move(value)); return *this;} private: Aws::String m_monitoringScheduleName; bool m_monitoringScheduleNameHasBeenSet = false; Aws::String m_monitoringAlertName; bool m_monitoringAlertNameHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; MonitoringAlertStatus m_alertStatus; bool m_alertStatusHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws