/*
* 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 SageMaker image. A SageMaker image represents a set of container images that are
/// derived from a common base container image. Each of these container images is represented
/// by a SageMaker ImageVersion
.
///
public partial class Image
{
private DateTime? _creationTime;
private string _description;
private string _displayName;
private string _failureReason;
private string _imageArn;
private string _imageName;
private ImageStatus _imageStatus;
private DateTime? _lastModifiedTime;
///
/// Gets and sets the property CreationTime.
///
/// When the image 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 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(Required=true, 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(Required=true, 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.
///
///
[AWSProperty(Required=true)]
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.
///
///
[AWSProperty(Required=true)]
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;
}
}
}