/* * 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 summary information about a hyperparameter tuning job. /// public partial class HyperParameterTuningJobSummary { private DateTime? _creationTime; private DateTime? _hyperParameterTuningEndTime; private string _hyperParameterTuningJobArn; private string _hyperParameterTuningJobName; private HyperParameterTuningJobStatus _hyperParameterTuningJobStatus; private DateTime? _lastModifiedTime; private ObjectiveStatusCounters _objectiveStatusCounters; private ResourceLimits _resourceLimits; private HyperParameterTuningJobStrategyType _strategy; private TrainingJobStatusCounters _trainingJobStatusCounters; /// /// Gets and sets the property CreationTime. /// /// The date and time that the tuning 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 HyperParameterTuningEndTime. /// /// The date and time that the tuning job ended. /// /// public DateTime HyperParameterTuningEndTime { get { return this._hyperParameterTuningEndTime.GetValueOrDefault(); } set { this._hyperParameterTuningEndTime = value; } } // Check to see if HyperParameterTuningEndTime property is set internal bool IsSetHyperParameterTuningEndTime() { return this._hyperParameterTuningEndTime.HasValue; } /// /// Gets and sets the property HyperParameterTuningJobArn. /// /// The Amazon Resource Name (ARN) of the tuning job. /// /// [AWSProperty(Required=true, Max=256)] public string HyperParameterTuningJobArn { get { return this._hyperParameterTuningJobArn; } set { this._hyperParameterTuningJobArn = value; } } // Check to see if HyperParameterTuningJobArn property is set internal bool IsSetHyperParameterTuningJobArn() { return this._hyperParameterTuningJobArn != null; } /// /// Gets and sets the property HyperParameterTuningJobName. /// /// The name of the tuning job. /// /// [AWSProperty(Required=true, Min=1, Max=32)] public string HyperParameterTuningJobName { get { return this._hyperParameterTuningJobName; } set { this._hyperParameterTuningJobName = value; } } // Check to see if HyperParameterTuningJobName property is set internal bool IsSetHyperParameterTuningJobName() { return this._hyperParameterTuningJobName != null; } /// /// Gets and sets the property HyperParameterTuningJobStatus. /// /// The status of the tuning job. /// /// [AWSProperty(Required=true)] public HyperParameterTuningJobStatus HyperParameterTuningJobStatus { get { return this._hyperParameterTuningJobStatus; } set { this._hyperParameterTuningJobStatus = value; } } // Check to see if HyperParameterTuningJobStatus property is set internal bool IsSetHyperParameterTuningJobStatus() { return this._hyperParameterTuningJobStatus != null; } /// /// Gets and sets the property LastModifiedTime. /// /// The date and time that the tuning job was modified. /// /// 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 ObjectiveStatusCounters. /// /// The ObjectiveStatusCounters /// object that specifies the numbers of training jobs, categorized by objective metric /// status, that this tuning job launched. /// /// [AWSProperty(Required=true)] public ObjectiveStatusCounters ObjectiveStatusCounters { get { return this._objectiveStatusCounters; } set { this._objectiveStatusCounters = value; } } // Check to see if ObjectiveStatusCounters property is set internal bool IsSetObjectiveStatusCounters() { return this._objectiveStatusCounters != null; } /// /// Gets and sets the property ResourceLimits. /// /// The ResourceLimits /// object that specifies the maximum number of training jobs and parallel training jobs /// allowed for this tuning job. /// /// public ResourceLimits ResourceLimits { get { return this._resourceLimits; } set { this._resourceLimits = value; } } // Check to see if ResourceLimits property is set internal bool IsSetResourceLimits() { return this._resourceLimits != null; } /// /// Gets and sets the property Strategy. /// /// Specifies the search strategy hyperparameter tuning uses to choose which hyperparameters /// to evaluate at each iteration. /// /// [AWSProperty(Required=true)] public HyperParameterTuningJobStrategyType Strategy { get { return this._strategy; } set { this._strategy = value; } } // Check to see if Strategy property is set internal bool IsSetStrategy() { return this._strategy != null; } /// /// Gets and sets the property TrainingJobStatusCounters. /// /// The TrainingJobStatusCounters /// object that specifies the numbers of training jobs, categorized by status, that this /// tuning job launched. /// /// [AWSProperty(Required=true)] public TrainingJobStatusCounters TrainingJobStatusCounters { get { return this._trainingJobStatusCounters; } set { this._trainingJobStatusCounters = value; } } // Check to see if TrainingJobStatusCounters property is set internal bool IsSetTrainingJobStatusCounters() { return this._trainingJobStatusCounters != null; } } }