/*
* 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 glue-2017-03-31.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.Glue.Model
{
///
/// The sampling parameters that are associated with the machine learning transform.
///
public partial class TaskRun
{
private DateTime? _completedOn;
private string _errorString;
private int? _executionTime;
private DateTime? _lastModifiedOn;
private string _logGroupName;
private TaskRunProperties _properties;
private DateTime? _startedOn;
private TaskStatusType _status;
private string _taskRunId;
private string _transformId;
///
/// Gets and sets the property CompletedOn.
///
/// The last point in time that the requested task run was completed.
///
///
public DateTime CompletedOn
{
get { return this._completedOn.GetValueOrDefault(); }
set { this._completedOn = value; }
}
// Check to see if CompletedOn property is set
internal bool IsSetCompletedOn()
{
return this._completedOn.HasValue;
}
///
/// Gets and sets the property ErrorString.
///
/// The list of error strings associated with this task run.
///
///
public string ErrorString
{
get { return this._errorString; }
set { this._errorString = value; }
}
// Check to see if ErrorString property is set
internal bool IsSetErrorString()
{
return this._errorString != null;
}
///
/// Gets and sets the property ExecutionTime.
///
/// The amount of time (in seconds) that the task run consumed resources.
///
///
public int ExecutionTime
{
get { return this._executionTime.GetValueOrDefault(); }
set { this._executionTime = value; }
}
// Check to see if ExecutionTime property is set
internal bool IsSetExecutionTime()
{
return this._executionTime.HasValue;
}
///
/// Gets and sets the property LastModifiedOn.
///
/// The last point in time that the requested task run was updated.
///
///
public DateTime LastModifiedOn
{
get { return this._lastModifiedOn.GetValueOrDefault(); }
set { this._lastModifiedOn = value; }
}
// Check to see if LastModifiedOn property is set
internal bool IsSetLastModifiedOn()
{
return this._lastModifiedOn.HasValue;
}
///
/// Gets and sets the property LogGroupName.
///
/// The names of the log group for secure logging, associated with this task run.
///
///
public string LogGroupName
{
get { return this._logGroupName; }
set { this._logGroupName = value; }
}
// Check to see if LogGroupName property is set
internal bool IsSetLogGroupName()
{
return this._logGroupName != null;
}
///
/// Gets and sets the property Properties.
///
/// Specifies configuration properties associated with this task run.
///
///
public TaskRunProperties Properties
{
get { return this._properties; }
set { this._properties = value; }
}
// Check to see if Properties property is set
internal bool IsSetProperties()
{
return this._properties != null;
}
///
/// Gets and sets the property StartedOn.
///
/// The date and time that this task run started.
///
///
public DateTime StartedOn
{
get { return this._startedOn.GetValueOrDefault(); }
set { this._startedOn = value; }
}
// Check to see if StartedOn property is set
internal bool IsSetStartedOn()
{
return this._startedOn.HasValue;
}
///
/// Gets and sets the property Status.
///
/// The current status of the requested task run.
///
///
public TaskStatusType Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property TaskRunId.
///
/// The unique identifier for this task run.
///
///
[AWSProperty(Min=1, Max=255)]
public string TaskRunId
{
get { return this._taskRunId; }
set { this._taskRunId = value; }
}
// Check to see if TaskRunId property is set
internal bool IsSetTaskRunId()
{
return this._taskRunId != null;
}
///
/// Gets and sets the property TransformId.
///
/// The unique identifier for the transform.
///
///
[AWSProperty(Min=1, Max=255)]
public string TransformId
{
get { return this._transformId; }
set { this._transformId = value; }
}
// Check to see if TransformId property is set
internal bool IsSetTransformId()
{
return this._transformId != null;
}
}
}