/* * 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 { /// /// A summary of a specific version of the model card. /// public partial class ModelCardVersionSummary { private DateTime? _creationTime; private DateTime? _lastModifiedTime; private string _modelCardArn; private string _modelCardName; private ModelCardStatus _modelCardStatus; private int? _modelCardVersion; /// /// Gets and sets the property CreationTime. /// /// The date and time that the model card version 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 LastModifiedTime. /// /// The time date and time that the model card version 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 ModelCardArn. /// /// The Amazon Resource Name (ARN) of the model card. /// /// [AWSProperty(Required=true, Max=256)] public string ModelCardArn { get { return this._modelCardArn; } set { this._modelCardArn = value; } } // Check to see if ModelCardArn property is set internal bool IsSetModelCardArn() { return this._modelCardArn != null; } /// /// Gets and sets the property ModelCardName. /// /// The name of the model card. /// /// [AWSProperty(Required=true, Min=1, Max=63)] public string ModelCardName { get { return this._modelCardName; } set { this._modelCardName = value; } } // Check to see if ModelCardName property is set internal bool IsSetModelCardName() { return this._modelCardName != null; } /// /// Gets and sets the property ModelCardStatus. /// /// The approval status of the model card version within your organization. Different /// organizations might have different criteria for model card review and approval. /// /// /// [AWSProperty(Required=true)] public ModelCardStatus ModelCardStatus { get { return this._modelCardStatus; } set { this._modelCardStatus = value; } } // Check to see if ModelCardStatus property is set internal bool IsSetModelCardStatus() { return this._modelCardStatus != null; } /// /// Gets and sets the property ModelCardVersion. /// /// A version of the model card. /// /// [AWSProperty(Required=true)] public int ModelCardVersion { get { return this._modelCardVersion.GetValueOrDefault(); } set { this._modelCardVersion = value; } } // Check to see if ModelCardVersion property is set internal bool IsSetModelCardVersion() { return this._modelCardVersion.HasValue; } } }