/* * 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 metadata for a feature. It can either be metadata that you specify, or metadata /// that is updated automatically. /// public partial class FeatureMetadata { private DateTime? _creationTime; private string _description; private string _featureGroupArn; private string _featureGroupName; private string _featureName; private FeatureType _featureType; private DateTime? _lastModifiedTime; private List _parameters = new List(); /// /// Gets and sets the property CreationTime. /// /// A timestamp indicating when the feature 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 Description. /// /// An optional description that you specify to better describe the feature. /// /// [AWSProperty(Min=0, Max=255)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property FeatureGroupArn. /// /// The Amazon Resource Number (ARN) of the feature group. /// /// [AWSProperty(Max=256)] public string FeatureGroupArn { get { return this._featureGroupArn; } set { this._featureGroupArn = value; } } // Check to see if FeatureGroupArn property is set internal bool IsSetFeatureGroupArn() { return this._featureGroupArn != null; } /// /// Gets and sets the property FeatureGroupName. /// /// The name of the feature group containing the feature. /// /// [AWSProperty(Min=1, Max=64)] public string FeatureGroupName { get { return this._featureGroupName; } set { this._featureGroupName = value; } } // Check to see if FeatureGroupName property is set internal bool IsSetFeatureGroupName() { return this._featureGroupName != null; } /// /// Gets and sets the property FeatureName. /// /// The name of feature. /// /// [AWSProperty(Min=1, Max=64)] public string FeatureName { get { return this._featureName; } set { this._featureName = value; } } // Check to see if FeatureName property is set internal bool IsSetFeatureName() { return this._featureName != null; } /// /// Gets and sets the property FeatureType. /// /// The data type of the feature. /// /// public FeatureType FeatureType { get { return this._featureType; } set { this._featureType = value; } } // Check to see if FeatureType property is set internal bool IsSetFeatureType() { return this._featureType != null; } /// /// Gets and sets the property LastModifiedTime. /// /// A timestamp indicating when the feature 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 Parameters. /// /// Optional key-value pairs that you specify to better describe the feature. /// /// [AWSProperty(Min=0, Max=25)] public List 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; } } }