/*
* 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
{
///
/// Summary of information about the last monitoring job to run.
///
public partial class MonitoringExecutionSummary
{
private DateTime? _creationTime;
private string _endpointName;
private string _failureReason;
private DateTime? _lastModifiedTime;
private ExecutionStatus _monitoringExecutionStatus;
private string _monitoringJobDefinitionName;
private string _monitoringScheduleName;
private MonitoringType _monitoringType;
private string _processingJobArn;
private DateTime? _scheduledTime;
///
/// 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 used to run 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.
///
/// 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.
///
/// A timestamp that indicates the last time the monitoring job was 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 MonitoringExecutionStatus.
///
/// The status of the monitoring job.
///
///
[AWSProperty(Required=true)]
public ExecutionStatus MonitoringExecutionStatus
{
get { return this._monitoringExecutionStatus; }
set { this._monitoringExecutionStatus = value; }
}
// Check to see if MonitoringExecutionStatus property is set
internal bool IsSetMonitoringExecutionStatus()
{
return this._monitoringExecutionStatus != null;
}
///
/// Gets and sets the property MonitoringJobDefinitionName.
///
/// The name of the monitoring job.
///
///
[AWSProperty(Min=1, Max=63)]
public string MonitoringJobDefinitionName
{
get { return this._monitoringJobDefinitionName; }
set { this._monitoringJobDefinitionName = value; }
}
// Check to see if MonitoringJobDefinitionName property is set
internal bool IsSetMonitoringJobDefinitionName()
{
return this._monitoringJobDefinitionName != null;
}
///
/// Gets and sets the property MonitoringScheduleName.
///
/// The 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 MonitoringType.
///
/// The type of the monitoring job.
///
///
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 ProcessingJobArn.
///
/// The Amazon Resource Name (ARN) of the monitoring job.
///
///
[AWSProperty(Max=256)]
public string ProcessingJobArn
{
get { return this._processingJobArn; }
set { this._processingJobArn = value; }
}
// Check to see if ProcessingJobArn property is set
internal bool IsSetProcessingJobArn()
{
return this._processingJobArn != null;
}
///
/// Gets and sets the property ScheduledTime.
///
/// The time the monitoring job was scheduled.
///
///
[AWSProperty(Required=true)]
public DateTime ScheduledTime
{
get { return this._scheduledTime.GetValueOrDefault(); }
set { this._scheduledTime = value; }
}
// Check to see if ScheduledTime property is set
internal bool IsSetScheduledTime()
{
return this._scheduledTime.HasValue;
}
}
}