/* * 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 { /// /// This is the response object from the DescribeMonitoringSchedule operation. /// public partial class DescribeMonitoringScheduleResponse : AmazonWebServiceResponse { 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; /// /// Gets and sets the property CreationTime. /// /// The time at which the monitoring job was created. /// /// [AWSProperty(Required=true)] 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 name of the endpoint for the monitoring job. /// /// [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. /// /// A string, up to one KB in size, that contains the reason a monitoring job failed, /// if 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 time at which the monitoring job was last modified. /// /// [AWSProperty(Required=true)] 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. /// /// Describes metadata on the last execution to run, if there was one. /// /// 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(Required=true, 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. /// /// The configuration object that specifies the monitoring schedule and defines the monitoring /// job. /// /// [AWSProperty(Required=true)] 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. /// /// Name of the monitoring schedule. /// /// [AWSProperty(Required=true, 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 an monitoring job. /// /// [AWSProperty(Required=true)] 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 that this schedule runs. This is one of the following /// values. /// /// /// 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; } } }