/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace SageMaker { namespace Model { /** */ class UpdateMonitoringScheduleRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API UpdateMonitoringScheduleRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateMonitoringSchedule"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the monitoring schedule. The name must be unique within an Amazon * Web Services Region within an Amazon Web Services account.

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

The name of the monitoring schedule. The name must be unique within an Amazon * Web Services Region within an Amazon Web Services account.

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

The name of the monitoring schedule. The name must be unique within an Amazon * Web Services Region within an Amazon Web Services account.

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

The name of the monitoring schedule. The name must be unique within an Amazon * Web Services Region within an Amazon Web Services account.

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

The name of the monitoring schedule. The name must be unique within an Amazon * Web Services Region within an Amazon Web Services account.

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

The name of the monitoring schedule. The name must be unique within an Amazon * Web Services Region within an Amazon Web Services account.

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

The name of the monitoring schedule. The name must be unique within an Amazon * Web Services Region within an Amazon Web Services account.

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

The name of the monitoring schedule. The name must be unique within an Amazon * Web Services Region within an Amazon Web Services account.

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

The configuration object that specifies the monitoring schedule and defines * the monitoring job.

*/ inline const MonitoringScheduleConfig& GetMonitoringScheduleConfig() const{ return m_monitoringScheduleConfig; } /** *

The configuration object that specifies the monitoring schedule and defines * the monitoring job.

*/ inline bool MonitoringScheduleConfigHasBeenSet() const { return m_monitoringScheduleConfigHasBeenSet; } /** *

The configuration object that specifies the monitoring schedule and defines * the monitoring job.

*/ inline void SetMonitoringScheduleConfig(const MonitoringScheduleConfig& value) { m_monitoringScheduleConfigHasBeenSet = true; m_monitoringScheduleConfig = value; } /** *

The configuration object that specifies the monitoring schedule and defines * the monitoring job.

*/ inline void SetMonitoringScheduleConfig(MonitoringScheduleConfig&& value) { m_monitoringScheduleConfigHasBeenSet = true; m_monitoringScheduleConfig = std::move(value); } /** *

The configuration object that specifies the monitoring schedule and defines * the monitoring job.

*/ inline UpdateMonitoringScheduleRequest& WithMonitoringScheduleConfig(const MonitoringScheduleConfig& value) { SetMonitoringScheduleConfig(value); return *this;} /** *

The configuration object that specifies the monitoring schedule and defines * the monitoring job.

*/ inline UpdateMonitoringScheduleRequest& WithMonitoringScheduleConfig(MonitoringScheduleConfig&& value) { SetMonitoringScheduleConfig(std::move(value)); return *this;} private: Aws::String m_monitoringScheduleName; bool m_monitoringScheduleNameHasBeenSet = false; MonitoringScheduleConfig m_monitoringScheduleConfig; bool m_monitoringScheduleConfigHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws