/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

Summarizes the monitoring schedule.

See Also:

AWS * API Reference

*/ class MonitoringScheduleSummary { public: AWS_SAGEMAKER_API MonitoringScheduleSummary(); AWS_SAGEMAKER_API MonitoringScheduleSummary(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API MonitoringScheduleSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the monitoring schedule.

*/ inline const Aws::String& GetMonitoringScheduleName() const{ return m_monitoringScheduleName; } /** *

The name of the monitoring schedule.

*/ inline bool MonitoringScheduleNameHasBeenSet() const { return m_monitoringScheduleNameHasBeenSet; } /** *

The name of the monitoring schedule.

*/ inline void SetMonitoringScheduleName(const Aws::String& value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = value; } /** *

The name of the monitoring schedule.

*/ inline void SetMonitoringScheduleName(Aws::String&& value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = std::move(value); } /** *

The name of the monitoring schedule.

*/ inline void SetMonitoringScheduleName(const char* value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName.assign(value); } /** *

The name of the monitoring schedule.

*/ inline MonitoringScheduleSummary& WithMonitoringScheduleName(const Aws::String& value) { SetMonitoringScheduleName(value); return *this;} /** *

The name of the monitoring schedule.

*/ inline MonitoringScheduleSummary& WithMonitoringScheduleName(Aws::String&& value) { SetMonitoringScheduleName(std::move(value)); return *this;} /** *

The name of the monitoring schedule.

*/ inline MonitoringScheduleSummary& WithMonitoringScheduleName(const char* value) { SetMonitoringScheduleName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the monitoring schedule.

*/ inline const Aws::String& GetMonitoringScheduleArn() const{ return m_monitoringScheduleArn; } /** *

The Amazon Resource Name (ARN) of the monitoring schedule.

*/ inline bool MonitoringScheduleArnHasBeenSet() const { return m_monitoringScheduleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the monitoring schedule.

*/ inline void SetMonitoringScheduleArn(const Aws::String& value) { m_monitoringScheduleArnHasBeenSet = true; m_monitoringScheduleArn = value; } /** *

The Amazon Resource Name (ARN) of the monitoring schedule.

*/ inline void SetMonitoringScheduleArn(Aws::String&& value) { m_monitoringScheduleArnHasBeenSet = true; m_monitoringScheduleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the monitoring schedule.

*/ inline void SetMonitoringScheduleArn(const char* value) { m_monitoringScheduleArnHasBeenSet = true; m_monitoringScheduleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the monitoring schedule.

*/ inline MonitoringScheduleSummary& WithMonitoringScheduleArn(const Aws::String& value) { SetMonitoringScheduleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the monitoring schedule.

*/ inline MonitoringScheduleSummary& WithMonitoringScheduleArn(Aws::String&& value) { SetMonitoringScheduleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the monitoring schedule.

*/ inline MonitoringScheduleSummary& WithMonitoringScheduleArn(const char* value) { SetMonitoringScheduleArn(value); return *this;} /** *

The creation time of the monitoring schedule.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The creation time of the monitoring schedule.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The creation time of the monitoring schedule.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The creation time of the monitoring schedule.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The creation time of the monitoring schedule.

*/ inline MonitoringScheduleSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The creation time of the monitoring schedule.

*/ inline MonitoringScheduleSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The last time the monitoring schedule was modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

The last time the monitoring schedule was modified.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

The last time the monitoring schedule was modified.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *

The last time the monitoring schedule was modified.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *

The last time the monitoring schedule was modified.

*/ inline MonitoringScheduleSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

The last time the monitoring schedule was modified.

*/ inline MonitoringScheduleSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(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 MonitoringScheduleSummary& WithMonitoringScheduleStatus(const ScheduleStatus& value) { SetMonitoringScheduleStatus(value); return *this;} /** *

The status of the monitoring schedule.

*/ inline MonitoringScheduleSummary& WithMonitoringScheduleStatus(ScheduleStatus&& value) { SetMonitoringScheduleStatus(std::move(value)); return *this;} /** *

The name of the endpoint using the monitoring schedule.

*/ inline const Aws::String& GetEndpointName() const{ return m_endpointName; } /** *

The name of the endpoint using the monitoring schedule.

*/ inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; } /** *

The name of the endpoint using the monitoring schedule.

*/ inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; } /** *

The name of the endpoint using the monitoring schedule.

*/ inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); } /** *

The name of the endpoint using the monitoring schedule.

*/ inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); } /** *

The name of the endpoint using the monitoring schedule.

*/ inline MonitoringScheduleSummary& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;} /** *

The name of the endpoint using the monitoring schedule.

*/ inline MonitoringScheduleSummary& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;} /** *

The name of the endpoint using the monitoring schedule.

*/ inline MonitoringScheduleSummary& WithEndpointName(const char* value) { SetEndpointName(value); return *this;} /** *

The name of the monitoring job definition that the schedule is for.

*/ inline const Aws::String& GetMonitoringJobDefinitionName() const{ return m_monitoringJobDefinitionName; } /** *

The name of the monitoring job definition that the schedule is for.

*/ inline bool MonitoringJobDefinitionNameHasBeenSet() const { return m_monitoringJobDefinitionNameHasBeenSet; } /** *

The name of the monitoring job definition that the schedule is for.

*/ inline void SetMonitoringJobDefinitionName(const Aws::String& value) { m_monitoringJobDefinitionNameHasBeenSet = true; m_monitoringJobDefinitionName = value; } /** *

The name of the monitoring job definition that the schedule is for.

*/ inline void SetMonitoringJobDefinitionName(Aws::String&& value) { m_monitoringJobDefinitionNameHasBeenSet = true; m_monitoringJobDefinitionName = std::move(value); } /** *

The name of the monitoring job definition that the schedule is for.

*/ inline void SetMonitoringJobDefinitionName(const char* value) { m_monitoringJobDefinitionNameHasBeenSet = true; m_monitoringJobDefinitionName.assign(value); } /** *

The name of the monitoring job definition that the schedule is for.

*/ inline MonitoringScheduleSummary& WithMonitoringJobDefinitionName(const Aws::String& value) { SetMonitoringJobDefinitionName(value); return *this;} /** *

The name of the monitoring job definition that the schedule is for.

*/ inline MonitoringScheduleSummary& WithMonitoringJobDefinitionName(Aws::String&& value) { SetMonitoringJobDefinitionName(std::move(value)); return *this;} /** *

The name of the monitoring job definition that the schedule is for.

*/ inline MonitoringScheduleSummary& WithMonitoringJobDefinitionName(const char* value) { SetMonitoringJobDefinitionName(value); return *this;} /** *

The type of the monitoring job definition that the schedule is for.

*/ inline const MonitoringType& GetMonitoringType() const{ return m_monitoringType; } /** *

The type of the monitoring job definition that the schedule is for.

*/ inline bool MonitoringTypeHasBeenSet() const { return m_monitoringTypeHasBeenSet; } /** *

The type of the monitoring job definition that the schedule is for.

*/ inline void SetMonitoringType(const MonitoringType& value) { m_monitoringTypeHasBeenSet = true; m_monitoringType = value; } /** *

The type of the monitoring job definition that the schedule is for.

*/ inline void SetMonitoringType(MonitoringType&& value) { m_monitoringTypeHasBeenSet = true; m_monitoringType = std::move(value); } /** *

The type of the monitoring job definition that the schedule is for.

*/ inline MonitoringScheduleSummary& WithMonitoringType(const MonitoringType& value) { SetMonitoringType(value); return *this;} /** *

The type of the monitoring job definition that the schedule is for.

*/ inline MonitoringScheduleSummary& WithMonitoringType(MonitoringType&& value) { SetMonitoringType(std::move(value)); return *this;} private: Aws::String m_monitoringScheduleName; bool m_monitoringScheduleNameHasBeenSet = false; Aws::String m_monitoringScheduleArn; bool m_monitoringScheduleArnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; ScheduleStatus m_monitoringScheduleStatus; bool m_monitoringScheduleStatusHasBeenSet = false; Aws::String m_endpointName; bool m_endpointNameHasBeenSet = false; Aws::String m_monitoringJobDefinitionName; bool m_monitoringJobDefinitionNameHasBeenSet = false; MonitoringType m_monitoringType; bool m_monitoringTypeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws