/* * 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 { /// /// Provides a summary about an AutoML job. /// public partial class AutoMLJobSummary { private string _autoMLJobArn; private string _autoMLJobName; private AutoMLJobSecondaryStatus _autoMLJobSecondaryStatus; private AutoMLJobStatus _autoMLJobStatus; private DateTime? _creationTime; private DateTime? _endTime; private string _failureReason; private DateTime? _lastModifiedTime; private List _partialFailureReasons = new List(); /// /// Gets and sets the property AutoMLJobArn. /// /// The ARN of the AutoML job. /// /// [AWSProperty(Required=true, Min=1, Max=256)] public string AutoMLJobArn { get { return this._autoMLJobArn; } set { this._autoMLJobArn = value; } } // Check to see if AutoMLJobArn property is set internal bool IsSetAutoMLJobArn() { return this._autoMLJobArn != null; } /// /// Gets and sets the property AutoMLJobName. /// /// The name of the AutoML job you are requesting. /// /// [AWSProperty(Required=true, Min=1, Max=32)] public string AutoMLJobName { get { return this._autoMLJobName; } set { this._autoMLJobName = value; } } // Check to see if AutoMLJobName property is set internal bool IsSetAutoMLJobName() { return this._autoMLJobName != null; } /// /// Gets and sets the property AutoMLJobSecondaryStatus. /// /// The secondary status of the AutoML job. /// /// [AWSProperty(Required=true)] public AutoMLJobSecondaryStatus AutoMLJobSecondaryStatus { get { return this._autoMLJobSecondaryStatus; } set { this._autoMLJobSecondaryStatus = value; } } // Check to see if AutoMLJobSecondaryStatus property is set internal bool IsSetAutoMLJobSecondaryStatus() { return this._autoMLJobSecondaryStatus != null; } /// /// Gets and sets the property AutoMLJobStatus. /// /// The status of the AutoML job. /// /// [AWSProperty(Required=true)] public AutoMLJobStatus AutoMLJobStatus { get { return this._autoMLJobStatus; } set { this._autoMLJobStatus = value; } } // Check to see if AutoMLJobStatus property is set internal bool IsSetAutoMLJobStatus() { return this._autoMLJobStatus != null; } /// /// Gets and sets the property CreationTime. /// /// When the AutoML 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 EndTime. /// /// The end time of an AutoML job. /// /// public DateTime EndTime { get { return this._endTime.GetValueOrDefault(); } set { this._endTime = value; } } // Check to see if EndTime property is set internal bool IsSetEndTime() { return this._endTime.HasValue; } /// /// Gets and sets the property FailureReason. /// /// The failure reason of an AutoML job. /// /// [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. /// /// When the AutoML 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 PartialFailureReasons. /// /// The list of reasons for partial failures within an AutoML job. /// /// [AWSProperty(Min=1, Max=5)] public List PartialFailureReasons { get { return this._partialFailureReasons; } set { this._partialFailureReasons = value; } } // Check to see if PartialFailureReasons property is set internal bool IsSetPartialFailureReasons() { return this._partialFailureReasons != null && this._partialFailureReasons.Count > 0; } } }