/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A monitoring schedule for a model displayed in the Amazon SageMaker Model
* Dashboard.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of a monitoring schedule.
*/ inline const Aws::String& GetMonitoringScheduleArn() const{ return m_monitoringScheduleArn; } /** *The Amazon Resource Name (ARN) of a monitoring schedule.
*/ inline bool MonitoringScheduleArnHasBeenSet() const { return m_monitoringScheduleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of a monitoring schedule.
*/ inline void SetMonitoringScheduleArn(const Aws::String& value) { m_monitoringScheduleArnHasBeenSet = true; m_monitoringScheduleArn = value; } /** *The Amazon Resource Name (ARN) of a monitoring schedule.
*/ inline void SetMonitoringScheduleArn(Aws::String&& value) { m_monitoringScheduleArnHasBeenSet = true; m_monitoringScheduleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of a monitoring schedule.
*/ inline void SetMonitoringScheduleArn(const char* value) { m_monitoringScheduleArnHasBeenSet = true; m_monitoringScheduleArn.assign(value); } /** *The Amazon Resource Name (ARN) of a monitoring schedule.
*/ inline ModelDashboardMonitoringSchedule& WithMonitoringScheduleArn(const Aws::String& value) { SetMonitoringScheduleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of a monitoring schedule.
*/ inline ModelDashboardMonitoringSchedule& WithMonitoringScheduleArn(Aws::String&& value) { SetMonitoringScheduleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of a monitoring schedule.
*/ inline ModelDashboardMonitoringSchedule& WithMonitoringScheduleArn(const char* value) { SetMonitoringScheduleArn(value); return *this;} /** *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 ModelDashboardMonitoringSchedule& WithMonitoringScheduleName(const Aws::String& value) { SetMonitoringScheduleName(value); return *this;} /** *The name of a monitoring schedule.
*/ inline ModelDashboardMonitoringSchedule& WithMonitoringScheduleName(Aws::String&& value) { SetMonitoringScheduleName(std::move(value)); return *this;} /** *The name of a monitoring schedule.
*/ inline ModelDashboardMonitoringSchedule& WithMonitoringScheduleName(const char* value) { SetMonitoringScheduleName(value); return *this;} /** *The status of the monitoring schedule.
*/ inline const ScheduleStatus& GetMonitoringScheduleStatus() const{ return m_monitoringScheduleStatus; } /** *The status of the monitoring schedule.
*/ inline bool MonitoringScheduleStatusHasBeenSet() const { return m_monitoringScheduleStatusHasBeenSet; } /** *The status of the monitoring schedule.
*/ inline void SetMonitoringScheduleStatus(const ScheduleStatus& value) { m_monitoringScheduleStatusHasBeenSet = true; m_monitoringScheduleStatus = value; } /** *The status of the monitoring schedule.
*/ inline void SetMonitoringScheduleStatus(ScheduleStatus&& value) { m_monitoringScheduleStatusHasBeenSet = true; m_monitoringScheduleStatus = std::move(value); } /** *The status of the monitoring schedule.
*/ inline ModelDashboardMonitoringSchedule& WithMonitoringScheduleStatus(const ScheduleStatus& value) { SetMonitoringScheduleStatus(value); return *this;} /** *The status of the monitoring schedule.
*/ inline ModelDashboardMonitoringSchedule& WithMonitoringScheduleStatus(ScheduleStatus&& value) { SetMonitoringScheduleStatus(std::move(value)); return *this;} /** *The monitor type of a model monitor.
*/ inline const MonitoringType& GetMonitoringType() const{ return m_monitoringType; } /** *The monitor type of a model monitor.
*/ inline bool MonitoringTypeHasBeenSet() const { return m_monitoringTypeHasBeenSet; } /** *The monitor type of a model monitor.
*/ inline void SetMonitoringType(const MonitoringType& value) { m_monitoringTypeHasBeenSet = true; m_monitoringType = value; } /** *The monitor type of a model monitor.
*/ inline void SetMonitoringType(MonitoringType&& value) { m_monitoringTypeHasBeenSet = true; m_monitoringType = std::move(value); } /** *The monitor type of a model monitor.
*/ inline ModelDashboardMonitoringSchedule& WithMonitoringType(const MonitoringType& value) { SetMonitoringType(value); return *this;} /** *The monitor type of a model monitor.
*/ inline ModelDashboardMonitoringSchedule& WithMonitoringType(MonitoringType&& value) { SetMonitoringType(std::move(value)); return *this;} /** *If a monitoring job failed, provides the reason.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *If a monitoring job failed, provides the reason.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *If a monitoring job failed, provides the reason.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *If a monitoring job failed, provides the reason.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *If a monitoring job failed, provides the reason.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *If a monitoring job failed, provides the reason.
*/ inline ModelDashboardMonitoringSchedule& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *If a monitoring job failed, provides the reason.
*/ inline ModelDashboardMonitoringSchedule& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *If a monitoring job failed, provides the reason.
*/ inline ModelDashboardMonitoringSchedule& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *A timestamp that indicates when the monitoring schedule was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *A timestamp that indicates when the monitoring schedule was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *A timestamp that indicates when the monitoring schedule was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *A timestamp that indicates when the monitoring schedule was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *A timestamp that indicates when the monitoring schedule was created.
*/ inline ModelDashboardMonitoringSchedule& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *A timestamp that indicates when the monitoring schedule was created.
*/ inline ModelDashboardMonitoringSchedule& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *A timestamp that indicates when the monitoring schedule was last updated.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *A timestamp that indicates when the monitoring schedule was last updated.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *A timestamp that indicates when the monitoring schedule was last updated.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *A timestamp that indicates when the monitoring schedule was last updated.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *A timestamp that indicates when the monitoring schedule was last updated.
*/ inline ModelDashboardMonitoringSchedule& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *A timestamp that indicates when the monitoring schedule was last updated.
*/ inline ModelDashboardMonitoringSchedule& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} inline const MonitoringScheduleConfig& GetMonitoringScheduleConfig() const{ return m_monitoringScheduleConfig; } inline bool MonitoringScheduleConfigHasBeenSet() const { return m_monitoringScheduleConfigHasBeenSet; } inline void SetMonitoringScheduleConfig(const MonitoringScheduleConfig& value) { m_monitoringScheduleConfigHasBeenSet = true; m_monitoringScheduleConfig = value; } inline void SetMonitoringScheduleConfig(MonitoringScheduleConfig&& value) { m_monitoringScheduleConfigHasBeenSet = true; m_monitoringScheduleConfig = std::move(value); } inline ModelDashboardMonitoringSchedule& WithMonitoringScheduleConfig(const MonitoringScheduleConfig& value) { SetMonitoringScheduleConfig(value); return *this;} inline ModelDashboardMonitoringSchedule& WithMonitoringScheduleConfig(MonitoringScheduleConfig&& value) { SetMonitoringScheduleConfig(std::move(value)); return *this;} /** *The endpoint which is monitored.
*/ inline const Aws::String& GetEndpointName() const{ return m_endpointName; } /** *The endpoint which is monitored.
*/ inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; } /** *The endpoint which is monitored.
*/ inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; } /** *The endpoint which is monitored.
*/ inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); } /** *The endpoint which is monitored.
*/ inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); } /** *The endpoint which is monitored.
*/ inline ModelDashboardMonitoringSchedule& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;} /** *The endpoint which is monitored.
*/ inline ModelDashboardMonitoringSchedule& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;} /** *The endpoint which is monitored.
*/ inline ModelDashboardMonitoringSchedule& WithEndpointName(const char* value) { SetEndpointName(value); return *this;} /** *A JSON array where each element is a summary for a monitoring alert.
*/ inline const Aws::VectorA JSON array where each element is a summary for a monitoring alert.
*/ inline bool MonitoringAlertSummariesHasBeenSet() const { return m_monitoringAlertSummariesHasBeenSet; } /** *A JSON array where each element is a summary for a monitoring alert.
*/ inline void SetMonitoringAlertSummaries(const Aws::VectorA JSON array where each element is a summary for a monitoring alert.
*/ inline void SetMonitoringAlertSummaries(Aws::VectorA JSON array where each element is a summary for a monitoring alert.
*/ inline ModelDashboardMonitoringSchedule& WithMonitoringAlertSummaries(const Aws::VectorA JSON array where each element is a summary for a monitoring alert.
*/ inline ModelDashboardMonitoringSchedule& WithMonitoringAlertSummaries(Aws::VectorA JSON array where each element is a summary for a monitoring alert.
*/ inline ModelDashboardMonitoringSchedule& AddMonitoringAlertSummaries(const MonitoringAlertSummary& value) { m_monitoringAlertSummariesHasBeenSet = true; m_monitoringAlertSummaries.push_back(value); return *this; } /** *A JSON array where each element is a summary for a monitoring alert.
*/ inline ModelDashboardMonitoringSchedule& AddMonitoringAlertSummaries(MonitoringAlertSummary&& value) { m_monitoringAlertSummariesHasBeenSet = true; m_monitoringAlertSummaries.push_back(std::move(value)); return *this; } inline const MonitoringExecutionSummary& GetLastMonitoringExecutionSummary() const{ return m_lastMonitoringExecutionSummary; } inline bool LastMonitoringExecutionSummaryHasBeenSet() const { return m_lastMonitoringExecutionSummaryHasBeenSet; } inline void SetLastMonitoringExecutionSummary(const MonitoringExecutionSummary& value) { m_lastMonitoringExecutionSummaryHasBeenSet = true; m_lastMonitoringExecutionSummary = value; } inline void SetLastMonitoringExecutionSummary(MonitoringExecutionSummary&& value) { m_lastMonitoringExecutionSummaryHasBeenSet = true; m_lastMonitoringExecutionSummary = std::move(value); } inline ModelDashboardMonitoringSchedule& WithLastMonitoringExecutionSummary(const MonitoringExecutionSummary& value) { SetLastMonitoringExecutionSummary(value); return *this;} inline ModelDashboardMonitoringSchedule& WithLastMonitoringExecutionSummary(MonitoringExecutionSummary&& value) { SetLastMonitoringExecutionSummary(std::move(value)); return *this;} private: Aws::String m_monitoringScheduleArn; bool m_monitoringScheduleArnHasBeenSet = false; Aws::String m_monitoringScheduleName; bool m_monitoringScheduleNameHasBeenSet = false; ScheduleStatus m_monitoringScheduleStatus; bool m_monitoringScheduleStatusHasBeenSet = false; MonitoringType m_monitoringType; bool m_monitoringTypeHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; MonitoringScheduleConfig m_monitoringScheduleConfig; bool m_monitoringScheduleConfigHasBeenSet = false; Aws::String m_endpointName; bool m_endpointNameHasBeenSet = false; Aws::Vector