/* * 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 { /// /// The properties of a trial component as returned by the Search /// API. /// public partial class TrialComponent { private UserContext _createdBy; private DateTime? _creationTime; private string _displayName; private DateTime? _endTime; private Dictionary _inputArtifacts = new Dictionary(); private UserContext _lastModifiedBy; private DateTime? _lastModifiedTime; private string _lineageGroupArn; private MetadataProperties _metadataProperties; private List _metrics = new List(); private Dictionary _outputArtifacts = new Dictionary(); private Dictionary _parameters = new Dictionary(); private List _parents = new List(); private string _runName; private TrialComponentSource _source; private TrialComponentSourceDetail _sourceDetail; private DateTime? _startTime; private TrialComponentStatus _status; private List _tags = new List(); private string _trialComponentArn; private string _trialComponentName; /// /// Gets and sets the property CreatedBy. /// /// Who created the trial component. /// /// public UserContext CreatedBy { get { return this._createdBy; } set { this._createdBy = value; } } // Check to see if CreatedBy property is set internal bool IsSetCreatedBy() { return this._createdBy != null; } /// /// Gets and sets the property CreationTime. /// /// When the component was created. /// /// 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 DisplayName. /// /// The name of the component as displayed. If DisplayName isn't specified, /// TrialComponentName is displayed. /// /// [AWSProperty(Min=1, Max=120)] public string DisplayName { get { return this._displayName; } set { this._displayName = value; } } // Check to see if DisplayName property is set internal bool IsSetDisplayName() { return this._displayName != null; } /// /// Gets and sets the property EndTime. /// /// When the component ended. /// /// 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 InputArtifacts. /// /// The input artifacts of the component. /// /// [AWSProperty(Max=30)] public Dictionary InputArtifacts { get { return this._inputArtifacts; } set { this._inputArtifacts = value; } } // Check to see if InputArtifacts property is set internal bool IsSetInputArtifacts() { return this._inputArtifacts != null && this._inputArtifacts.Count > 0; } /// /// Gets and sets the property LastModifiedBy. /// public UserContext LastModifiedBy { get { return this._lastModifiedBy; } set { this._lastModifiedBy = value; } } // Check to see if LastModifiedBy property is set internal bool IsSetLastModifiedBy() { return this._lastModifiedBy != null; } /// /// Gets and sets the property LastModifiedTime. /// /// When the component was last 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 LineageGroupArn. /// /// The Amazon Resource Name (ARN) of the lineage group resource. /// /// [AWSProperty(Max=256)] public string LineageGroupArn { get { return this._lineageGroupArn; } set { this._lineageGroupArn = value; } } // Check to see if LineageGroupArn property is set internal bool IsSetLineageGroupArn() { return this._lineageGroupArn != null; } /// /// Gets and sets the property MetadataProperties. /// public MetadataProperties MetadataProperties { get { return this._metadataProperties; } set { this._metadataProperties = value; } } // Check to see if MetadataProperties property is set internal bool IsSetMetadataProperties() { return this._metadataProperties != null; } /// /// Gets and sets the property Metrics. /// /// The metrics for the component. /// /// public List Metrics { get { return this._metrics; } set { this._metrics = value; } } // Check to see if Metrics property is set internal bool IsSetMetrics() { return this._metrics != null && this._metrics.Count > 0; } /// /// Gets and sets the property OutputArtifacts. /// /// The output artifacts of the component. /// /// [AWSProperty(Max=30)] public Dictionary OutputArtifacts { get { return this._outputArtifacts; } set { this._outputArtifacts = value; } } // Check to see if OutputArtifacts property is set internal bool IsSetOutputArtifacts() { return this._outputArtifacts != null && this._outputArtifacts.Count > 0; } /// /// Gets and sets the property Parameters. /// /// The hyperparameters of the component. /// /// [AWSProperty(Max=150)] public Dictionary Parameters { get { return this._parameters; } set { this._parameters = value; } } // Check to see if Parameters property is set internal bool IsSetParameters() { return this._parameters != null && this._parameters.Count > 0; } /// /// Gets and sets the property Parents. /// /// An array of the parents of the component. A parent is a trial the component is associated /// with and the experiment the trial is part of. A component might not have any parents. /// /// public List Parents { get { return this._parents; } set { this._parents = value; } } // Check to see if Parents property is set internal bool IsSetParents() { return this._parents != null && this._parents.Count > 0; } /// /// Gets and sets the property RunName. /// /// The name of the experiment run. /// /// [AWSProperty(Min=1, Max=120)] public string RunName { get { return this._runName; } set { this._runName = value; } } // Check to see if RunName property is set internal bool IsSetRunName() { return this._runName != null; } /// /// Gets and sets the property Source. /// /// The Amazon Resource Name (ARN) and job type of the source of the component. /// /// public TrialComponentSource Source { get { return this._source; } set { this._source = value; } } // Check to see if Source property is set internal bool IsSetSource() { return this._source != null; } /// /// Gets and sets the property SourceDetail. /// /// Details of the source of the component. /// /// public TrialComponentSourceDetail SourceDetail { get { return this._sourceDetail; } set { this._sourceDetail = value; } } // Check to see if SourceDetail property is set internal bool IsSetSourceDetail() { return this._sourceDetail != null; } /// /// Gets and sets the property StartTime. /// /// When the component started. /// /// public DateTime StartTime { get { return this._startTime.GetValueOrDefault(); } set { this._startTime = value; } } // Check to see if StartTime property is set internal bool IsSetStartTime() { return this._startTime.HasValue; } /// /// Gets and sets the property Status. /// public TrialComponentStatus 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 Tags. /// /// The list of tags that are associated with the component. You can use Search /// API to search on the tags. /// /// [AWSProperty(Min=0, Max=50)] public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property TrialComponentArn. /// /// The Amazon Resource Name (ARN) of the trial component. /// /// [AWSProperty(Max=256)] public string TrialComponentArn { get { return this._trialComponentArn; } set { this._trialComponentArn = value; } } // Check to see if TrialComponentArn property is set internal bool IsSetTrialComponentArn() { return this._trialComponentArn != null; } /// /// Gets and sets the property TrialComponentName. /// /// The name of the trial component. /// /// [AWSProperty(Min=1, Max=120)] public string TrialComponentName { get { return this._trialComponentName; } set { this._trialComponentName = value; } } // Check to see if TrialComponentName property is set internal bool IsSetTrialComponentName() { return this._trialComponentName != null; } } }