/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class DescribeMonitoringScheduleResult { public: AWS_SAGEMAKER_API DescribeMonitoringScheduleResult(); AWS_SAGEMAKER_API DescribeMonitoringScheduleResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API DescribeMonitoringScheduleResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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 void SetMonitoringScheduleArn(const Aws::String& value) { m_monitoringScheduleArn = value; } /** *

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

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

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

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

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

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

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

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

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

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

Name of the monitoring schedule.

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

Name of the monitoring schedule.

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

Name of the monitoring schedule.

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

Name of the monitoring schedule.

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

Name of the monitoring schedule.

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

Name of the monitoring schedule.

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

Name of the monitoring schedule.

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

The status of an monitoring job.

*/ inline const ScheduleStatus& GetMonitoringScheduleStatus() const{ return m_monitoringScheduleStatus; } /** *

The status of an monitoring job.

*/ inline void SetMonitoringScheduleStatus(const ScheduleStatus& value) { m_monitoringScheduleStatus = value; } /** *

The status of an monitoring job.

*/ inline void SetMonitoringScheduleStatus(ScheduleStatus&& value) { m_monitoringScheduleStatus = std::move(value); } /** *

The status of an monitoring job.

*/ inline DescribeMonitoringScheduleResult& WithMonitoringScheduleStatus(const ScheduleStatus& value) { SetMonitoringScheduleStatus(value); return *this;} /** *

The status of an monitoring job.

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

The type of the monitoring job that this schedule runs. This is one of the * following values.

  • DATA_QUALITY - The schedule is * for a data quality monitoring job.

  • MODEL_QUALITY * - The schedule is for a model quality monitoring job.

  • * MODEL_BIAS - The schedule is for a bias monitoring job.

  • *
  • MODEL_EXPLAINABILITY - The schedule is for an * explainability monitoring job.

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

The type of the monitoring job that this schedule runs. This is one of the * following values.

  • DATA_QUALITY - The schedule is * for a data quality monitoring job.

  • MODEL_QUALITY * - The schedule is for a model quality monitoring job.

  • * MODEL_BIAS - The schedule is for a bias monitoring job.

  • *
  • MODEL_EXPLAINABILITY - The schedule is for an * explainability monitoring job.

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

The type of the monitoring job that this schedule runs. This is one of the * following values.

  • DATA_QUALITY - The schedule is * for a data quality monitoring job.

  • MODEL_QUALITY * - The schedule is for a model quality monitoring job.

  • * MODEL_BIAS - The schedule is for a bias monitoring job.

  • *
  • MODEL_EXPLAINABILITY - The schedule is for an * explainability monitoring job.

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

The type of the monitoring job that this schedule runs. This is one of the * following values.

  • DATA_QUALITY - The schedule is * for a data quality monitoring job.

  • MODEL_QUALITY * - The schedule is for a model quality monitoring job.

  • * MODEL_BIAS - The schedule is for a bias monitoring job.

  • *
  • MODEL_EXPLAINABILITY - The schedule is for an * explainability monitoring job.

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

The type of the monitoring job that this schedule runs. This is one of the * following values.

  • DATA_QUALITY - The schedule is * for a data quality monitoring job.

  • MODEL_QUALITY * - The schedule is for a model quality monitoring job.

  • * MODEL_BIAS - The schedule is for a bias monitoring job.

  • *
  • MODEL_EXPLAINABILITY - The schedule is for an * explainability monitoring job.

*/ inline DescribeMonitoringScheduleResult& WithMonitoringType(MonitoringType&& value) { SetMonitoringType(std::move(value)); return *this;} /** *

A string, up to one KB in size, that contains the reason a monitoring job * failed, if it failed.

*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *

A string, up to one KB in size, that contains the reason a monitoring job * failed, if it failed.

*/ inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; } /** *

A string, up to one KB in size, that contains the reason a monitoring job * failed, if it failed.

*/ inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); } /** *

A string, up to one KB in size, that contains the reason a monitoring job * failed, if it failed.

*/ inline void SetFailureReason(const char* value) { m_failureReason.assign(value); } /** *

A string, up to one KB in size, that contains the reason a monitoring job * failed, if it failed.

*/ inline DescribeMonitoringScheduleResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

A string, up to one KB in size, that contains the reason a monitoring job * failed, if it failed.

*/ inline DescribeMonitoringScheduleResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *

A string, up to one KB in size, that contains the reason a monitoring job * failed, if it failed.

*/ inline DescribeMonitoringScheduleResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *

The time at which the monitoring job was created.

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

The time at which the monitoring job was created.

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

The time at which the monitoring job was created.

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

The time at which the monitoring job was created.

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

The time at which the monitoring job was created.

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

The time at which the monitoring job was last modified.

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

The time at which the monitoring job was last modified.

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

The time at which the monitoring job was last modified.

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

The time at which the monitoring job was last modified.

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

The time at which the monitoring job was last modified.

*/ inline DescribeMonitoringScheduleResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(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 void SetMonitoringScheduleConfig(const MonitoringScheduleConfig& value) { m_monitoringScheduleConfig = value; } /** *

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

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

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

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

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

*/ inline DescribeMonitoringScheduleResult& WithMonitoringScheduleConfig(MonitoringScheduleConfig&& value) { SetMonitoringScheduleConfig(std::move(value)); return *this;} /** *

The name of the endpoint for the monitoring job.

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

The name of the endpoint for the monitoring job.

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

The name of the endpoint for the monitoring job.

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

The name of the endpoint for the monitoring job.

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

The name of the endpoint for the monitoring job.

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

The name of the endpoint for the monitoring job.

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

The name of the endpoint for the monitoring job.

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

Describes metadata on the last execution to run, if there was one.

*/ inline const MonitoringExecutionSummary& GetLastMonitoringExecutionSummary() const{ return m_lastMonitoringExecutionSummary; } /** *

Describes metadata on the last execution to run, if there was one.

*/ inline void SetLastMonitoringExecutionSummary(const MonitoringExecutionSummary& value) { m_lastMonitoringExecutionSummary = value; } /** *

Describes metadata on the last execution to run, if there was one.

*/ inline void SetLastMonitoringExecutionSummary(MonitoringExecutionSummary&& value) { m_lastMonitoringExecutionSummary = std::move(value); } /** *

Describes metadata on the last execution to run, if there was one.

*/ inline DescribeMonitoringScheduleResult& WithLastMonitoringExecutionSummary(const MonitoringExecutionSummary& value) { SetLastMonitoringExecutionSummary(value); return *this;} /** *

Describes metadata on the last execution to run, if there was one.

*/ inline DescribeMonitoringScheduleResult& WithLastMonitoringExecutionSummary(MonitoringExecutionSummary&& value) { SetLastMonitoringExecutionSummary(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeMonitoringScheduleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeMonitoringScheduleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeMonitoringScheduleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_monitoringScheduleArn; Aws::String m_monitoringScheduleName; ScheduleStatus m_monitoringScheduleStatus; MonitoringType m_monitoringType; Aws::String m_failureReason; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastModifiedTime; MonitoringScheduleConfig m_monitoringScheduleConfig; Aws::String m_endpointName; MonitoringExecutionSummary m_lastMonitoringExecutionSummary; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws