/* * 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 { /// /// This is the response object from the DescribeImage operation. /// public partial class DescribeImageResponse : AmazonWebServiceResponse { private DateTime? _creationTime; private string _description; private string _displayName; private string _failureReason; private string _imageArn; private string _imageName; private ImageStatus _imageStatus; private DateTime? _lastModifiedTime; private string _roleArn; /// /// Gets and sets the property CreationTime. /// /// When the image 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. /// /// The description of the image. /// /// [AWSProperty(Min=1, Max=512)] 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 DisplayName. /// /// The name of the image as displayed. /// /// [AWSProperty(Min=1, Max=128)] 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 FailureReason. /// /// When a create, update, or delete operation fails, the reason for the failure. /// /// [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 ImageArn. /// /// The ARN of the image. /// /// [AWSProperty(Max=256)] public string ImageArn { get { return this._imageArn; } set { this._imageArn = value; } } // Check to see if ImageArn property is set internal bool IsSetImageArn() { return this._imageArn != null; } /// /// Gets and sets the property ImageName. /// /// The name of the image. /// /// [AWSProperty(Min=1, Max=63)] public string ImageName { get { return this._imageName; } set { this._imageName = value; } } // Check to see if ImageName property is set internal bool IsSetImageName() { return this._imageName != null; } /// /// Gets and sets the property ImageStatus. /// /// The status of the image. /// /// public ImageStatus ImageStatus { get { return this._imageStatus; } set { this._imageStatus = value; } } // Check to see if ImageStatus property is set internal bool IsSetImageStatus() { return this._imageStatus != null; } /// /// Gets and sets the property LastModifiedTime. /// /// When the image 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 RoleArn. /// /// The ARN of the IAM role that enables Amazon SageMaker to perform tasks on your behalf. /// /// [AWSProperty(Min=20, Max=2048)] public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } } }