/* * 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 { /// /// Information about a candidate produced by an AutoML training job, including its status, /// steps, and other properties. /// public partial class AutoMLCandidate { private string _candidateName; private CandidateProperties _candidateProperties; private CandidateStatus _candidateStatus; private List _candidateSteps = new List(); private DateTime? _creationTime; private DateTime? _endTime; private string _failureReason; private FinalAutoMLJobObjectiveMetric _finalAutoMLJobObjectiveMetric; private Dictionary> _inferenceContainerDefinitions = new Dictionary>(); private List _inferenceContainers = new List(); private DateTime? _lastModifiedTime; private ObjectiveStatus _objectiveStatus; /// /// Gets and sets the property CandidateName. /// /// The name of the candidate. /// /// [AWSProperty(Required=true, Min=1, Max=64)] public string CandidateName { get { return this._candidateName; } set { this._candidateName = value; } } // Check to see if CandidateName property is set internal bool IsSetCandidateName() { return this._candidateName != null; } /// /// Gets and sets the property CandidateProperties. /// /// The properties of an AutoML candidate job. /// /// public CandidateProperties CandidateProperties { get { return this._candidateProperties; } set { this._candidateProperties = value; } } // Check to see if CandidateProperties property is set internal bool IsSetCandidateProperties() { return this._candidateProperties != null; } /// /// Gets and sets the property CandidateStatus. /// /// The candidate's status. /// /// [AWSProperty(Required=true)] public CandidateStatus CandidateStatus { get { return this._candidateStatus; } set { this._candidateStatus = value; } } // Check to see if CandidateStatus property is set internal bool IsSetCandidateStatus() { return this._candidateStatus != null; } /// /// Gets and sets the property CandidateSteps. /// /// Information about the candidate's steps. /// /// [AWSProperty(Required=true)] public List CandidateSteps { get { return this._candidateSteps; } set { this._candidateSteps = value; } } // Check to see if CandidateSteps property is set internal bool IsSetCandidateSteps() { return this._candidateSteps != null && this._candidateSteps.Count > 0; } /// /// Gets and sets the property CreationTime. /// /// The creation time. /// /// [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. /// /// 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. /// /// [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 FinalAutoMLJobObjectiveMetric. /// public FinalAutoMLJobObjectiveMetric FinalAutoMLJobObjectiveMetric { get { return this._finalAutoMLJobObjectiveMetric; } set { this._finalAutoMLJobObjectiveMetric = value; } } // Check to see if FinalAutoMLJobObjectiveMetric property is set internal bool IsSetFinalAutoMLJobObjectiveMetric() { return this._finalAutoMLJobObjectiveMetric != null; } /// /// Gets and sets the property InferenceContainerDefinitions. /// /// The mapping of all supported processing unit (CPU, GPU, etc...) to inference container /// definitions for the candidate. This field is populated for the AutoML jobs V2 (for /// example, for jobs created by calling CreateAutoMLJobV2) related to image /// or text classification problem types only. /// /// [AWSProperty(Max=2)] public Dictionary> InferenceContainerDefinitions { get { return this._inferenceContainerDefinitions; } set { this._inferenceContainerDefinitions = value; } } // Check to see if InferenceContainerDefinitions property is set internal bool IsSetInferenceContainerDefinitions() { return this._inferenceContainerDefinitions != null && this._inferenceContainerDefinitions.Count > 0; } /// /// Gets and sets the property InferenceContainers. /// /// Information about the recommended inference container definitions. /// /// [AWSProperty(Max=5)] public List InferenceContainers { get { return this._inferenceContainers; } set { this._inferenceContainers = value; } } // Check to see if InferenceContainers property is set internal bool IsSetInferenceContainers() { return this._inferenceContainers != null && this._inferenceContainers.Count > 0; } /// /// Gets and sets the property LastModifiedTime. /// /// The last modified time. /// /// [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 ObjectiveStatus. /// /// The objective's status. /// /// [AWSProperty(Required=true)] public ObjectiveStatus ObjectiveStatus { get { return this._objectiveStatus; } set { this._objectiveStatus = value; } } // Check to see if ObjectiveStatus property is set internal bool IsSetObjectiveStatus() { return this._objectiveStatus != null; } } }