/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the sagemaker-2017-07-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SageMaker.Model { /// /// A schedule for a model monitoring job. For information about model monitor, see Amazon SageMaker /// Model Monitor. /// public partial class MonitoringSchedule { private DateTime? _creationTime; private string _endpointName; private string _failureReason; private DateTime? _lastModifiedTime; private MonitoringExecutionSummary _lastMonitoringExecutionSummary; private string _monitoringScheduleArn; private MonitoringScheduleConfig _monitoringScheduleConfig; private string _monitoringScheduleName; private ScheduleStatus _monitoringScheduleStatus; private MonitoringType _monitoringType; private List _tags = new List(); /// /// Gets and sets the property CreationTime. /// /// The time that the monitoring schedule was created. /// /// public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// /// Gets and sets the property EndpointName. /// /// The endpoint that hosts the model being monitored. /// /// [AWSProperty(Max=63)] public string EndpointName { get { return this._endpointName; } set { this._endpointName = value; } } // Check to see if EndpointName property is set internal bool IsSetEndpointName() { return this._endpointName != null; } /// /// Gets and sets the property FailureReason. /// /// If the monitoring schedule failed, the reason it failed. /// /// [AWSProperty(Max=1024)] public string FailureReason { get { return this._failureReason; } set { this._failureReason = value; } } // Check to see if FailureReason property is set internal bool IsSetFailureReason() { return this._failureReason != null; } /// /// Gets and sets the property LastModifiedTime. /// /// The last time the monitoring schedule was changed. /// /// public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } /// /// Gets and sets the property LastMonitoringExecutionSummary. /// public MonitoringExecutionSummary LastMonitoringExecutionSummary { get { return this._lastMonitoringExecutionSummary; } set { this._lastMonitoringExecutionSummary = value; } } // Check to see if LastMonitoringExecutionSummary property is set internal bool IsSetLastMonitoringExecutionSummary() { return this._lastMonitoringExecutionSummary != null; } /// /// Gets and sets the property MonitoringScheduleArn. /// /// The Amazon Resource Name (ARN) of the monitoring schedule. /// /// [AWSProperty(Max=256)] public string MonitoringScheduleArn { get { return this._monitoringScheduleArn; } set { this._monitoringScheduleArn = value; } } // Check to see if MonitoringScheduleArn property is set internal bool IsSetMonitoringScheduleArn() { return this._monitoringScheduleArn != null; } /// /// Gets and sets the property MonitoringScheduleConfig. /// public MonitoringScheduleConfig MonitoringScheduleConfig { get { return this._monitoringScheduleConfig; } set { this._monitoringScheduleConfig = value; } } // Check to see if MonitoringScheduleConfig property is set internal bool IsSetMonitoringScheduleConfig() { return this._monitoringScheduleConfig != null; } /// /// Gets and sets the property MonitoringScheduleName. /// /// The name of the monitoring schedule. /// /// [AWSProperty(Min=1, Max=63)] public string MonitoringScheduleName { get { return this._monitoringScheduleName; } set { this._monitoringScheduleName = value; } } // Check to see if MonitoringScheduleName property is set internal bool IsSetMonitoringScheduleName() { return this._monitoringScheduleName != null; } /// /// Gets and sets the property MonitoringScheduleStatus. /// /// The status of the monitoring schedule. This can be one of the following values. /// ///
  • /// /// PENDING - The schedule is pending being created. /// ///
  • /// /// FAILED - The schedule failed. /// ///
  • /// /// SCHEDULED - The schedule was successfully created. /// ///
  • /// /// STOPPED - The schedule was stopped. /// ///
///
public ScheduleStatus MonitoringScheduleStatus { get { return this._monitoringScheduleStatus; } set { this._monitoringScheduleStatus = value; } } // Check to see if MonitoringScheduleStatus property is set internal bool IsSetMonitoringScheduleStatus() { return this._monitoringScheduleStatus != null; } /// /// Gets and sets the property MonitoringType. /// /// The type of the monitoring job definition to schedule. /// /// public MonitoringType MonitoringType { get { return this._monitoringType; } set { this._monitoringType = value; } } // Check to see if MonitoringType property is set internal bool IsSetMonitoringType() { return this._monitoringType != null; } /// /// Gets and sets the property Tags. /// /// A list of the tags associated with the monitoring schedlue. For more information, /// see Tagging /// Amazon Web Services resources in the Amazon Web Services General Reference /// Guide. /// /// [AWSProperty(Min=0, Max=50)] public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }