/** * 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 { /** *

Configures the monitoring schedule and defines the monitoring * job.

See Also:

AWS * API Reference

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

Configures the monitoring schedule.

*/ inline const ScheduleConfig& GetScheduleConfig() const{ return m_scheduleConfig; } /** *

Configures the monitoring schedule.

*/ inline bool ScheduleConfigHasBeenSet() const { return m_scheduleConfigHasBeenSet; } /** *

Configures the monitoring schedule.

*/ inline void SetScheduleConfig(const ScheduleConfig& value) { m_scheduleConfigHasBeenSet = true; m_scheduleConfig = value; } /** *

Configures the monitoring schedule.

*/ inline void SetScheduleConfig(ScheduleConfig&& value) { m_scheduleConfigHasBeenSet = true; m_scheduleConfig = std::move(value); } /** *

Configures the monitoring schedule.

*/ inline MonitoringScheduleConfig& WithScheduleConfig(const ScheduleConfig& value) { SetScheduleConfig(value); return *this;} /** *

Configures the monitoring schedule.

*/ inline MonitoringScheduleConfig& WithScheduleConfig(ScheduleConfig&& value) { SetScheduleConfig(std::move(value)); return *this;} /** *

Defines the monitoring job.

*/ inline const MonitoringJobDefinition& GetMonitoringJobDefinition() const{ return m_monitoringJobDefinition; } /** *

Defines the monitoring job.

*/ inline bool MonitoringJobDefinitionHasBeenSet() const { return m_monitoringJobDefinitionHasBeenSet; } /** *

Defines the monitoring job.

*/ inline void SetMonitoringJobDefinition(const MonitoringJobDefinition& value) { m_monitoringJobDefinitionHasBeenSet = true; m_monitoringJobDefinition = value; } /** *

Defines the monitoring job.

*/ inline void SetMonitoringJobDefinition(MonitoringJobDefinition&& value) { m_monitoringJobDefinitionHasBeenSet = true; m_monitoringJobDefinition = std::move(value); } /** *

Defines the monitoring job.

*/ inline MonitoringScheduleConfig& WithMonitoringJobDefinition(const MonitoringJobDefinition& value) { SetMonitoringJobDefinition(value); return *this;} /** *

Defines the monitoring job.

*/ inline MonitoringScheduleConfig& WithMonitoringJobDefinition(MonitoringJobDefinition&& value) { SetMonitoringJobDefinition(std::move(value)); return *this;} /** *

The name of the monitoring job definition to schedule.

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

The name of the monitoring job definition to schedule.

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

The name of the monitoring job definition to schedule.

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

The name of the monitoring job definition to schedule.

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

The name of the monitoring job definition to schedule.

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

The name of the monitoring job definition to schedule.

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

The name of the monitoring job definition to schedule.

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

The name of the monitoring job definition to schedule.

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

The type of the monitoring job definition to schedule.

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

The type of the monitoring job definition to schedule.

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

The type of the monitoring job definition to schedule.

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

The type of the monitoring job definition to schedule.

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

The type of the monitoring job definition to schedule.

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

The type of the monitoring job definition to schedule.

*/ inline MonitoringScheduleConfig& WithMonitoringType(MonitoringType&& value) { SetMonitoringType(std::move(value)); return *this;} private: ScheduleConfig m_scheduleConfig; bool m_scheduleConfigHasBeenSet = false; MonitoringJobDefinition m_monitoringJobDefinition; bool m_monitoringJobDefinitionHasBeenSet = false; Aws::String m_monitoringJobDefinitionName; bool m_monitoringJobDefinitionNameHasBeenSet = false; MonitoringType m_monitoringType; bool m_monitoringTypeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws