/*
* 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 model compilation job.
///
public partial class CompilationJobSummary
{
private DateTime? _compilationEndTime;
private string _compilationJobArn;
private string _compilationJobName;
private CompilationJobStatus _compilationJobStatus;
private DateTime? _compilationStartTime;
private TargetDevice _compilationTargetDevice;
private TargetPlatformAccelerator _compilationTargetPlatformAccelerator;
private TargetPlatformArch _compilationTargetPlatformArch;
private TargetPlatformOs _compilationTargetPlatformOs;
private DateTime? _creationTime;
private DateTime? _lastModifiedTime;
///
/// Gets and sets the property CompilationEndTime.
///
/// The time when the model compilation job completed.
///
///
public DateTime CompilationEndTime
{
get { return this._compilationEndTime.GetValueOrDefault(); }
set { this._compilationEndTime = value; }
}
// Check to see if CompilationEndTime property is set
internal bool IsSetCompilationEndTime()
{
return this._compilationEndTime.HasValue;
}
///
/// Gets and sets the property CompilationJobArn.
///
/// The Amazon Resource Name (ARN) of the model compilation job.
///
///
[AWSProperty(Required=true, Max=256)]
public string CompilationJobArn
{
get { return this._compilationJobArn; }
set { this._compilationJobArn = value; }
}
// Check to see if CompilationJobArn property is set
internal bool IsSetCompilationJobArn()
{
return this._compilationJobArn != null;
}
///
/// Gets and sets the property CompilationJobName.
///
/// The name of the model compilation job that you want a summary for.
///
///
[AWSProperty(Required=true, Min=1, Max=63)]
public string CompilationJobName
{
get { return this._compilationJobName; }
set { this._compilationJobName = value; }
}
// Check to see if CompilationJobName property is set
internal bool IsSetCompilationJobName()
{
return this._compilationJobName != null;
}
///
/// Gets and sets the property CompilationJobStatus.
///
/// The status of the model compilation job.
///
///
[AWSProperty(Required=true)]
public CompilationJobStatus CompilationJobStatus
{
get { return this._compilationJobStatus; }
set { this._compilationJobStatus = value; }
}
// Check to see if CompilationJobStatus property is set
internal bool IsSetCompilationJobStatus()
{
return this._compilationJobStatus != null;
}
///
/// Gets and sets the property CompilationStartTime.
///
/// The time when the model compilation job started.
///
///
public DateTime CompilationStartTime
{
get { return this._compilationStartTime.GetValueOrDefault(); }
set { this._compilationStartTime = value; }
}
// Check to see if CompilationStartTime property is set
internal bool IsSetCompilationStartTime()
{
return this._compilationStartTime.HasValue;
}
///
/// Gets and sets the property CompilationTargetDevice.
///
/// The type of device that the model will run on after the compilation job has completed.
///
///
public TargetDevice CompilationTargetDevice
{
get { return this._compilationTargetDevice; }
set { this._compilationTargetDevice = value; }
}
// Check to see if CompilationTargetDevice property is set
internal bool IsSetCompilationTargetDevice()
{
return this._compilationTargetDevice != null;
}
///
/// Gets and sets the property CompilationTargetPlatformAccelerator.
///
/// The type of accelerator that the model will run on after the compilation job has completed.
///
///
public TargetPlatformAccelerator CompilationTargetPlatformAccelerator
{
get { return this._compilationTargetPlatformAccelerator; }
set { this._compilationTargetPlatformAccelerator = value; }
}
// Check to see if CompilationTargetPlatformAccelerator property is set
internal bool IsSetCompilationTargetPlatformAccelerator()
{
return this._compilationTargetPlatformAccelerator != null;
}
///
/// Gets and sets the property CompilationTargetPlatformArch.
///
/// The type of architecture that the model will run on after the compilation job has
/// completed.
///
///
public TargetPlatformArch CompilationTargetPlatformArch
{
get { return this._compilationTargetPlatformArch; }
set { this._compilationTargetPlatformArch = value; }
}
// Check to see if CompilationTargetPlatformArch property is set
internal bool IsSetCompilationTargetPlatformArch()
{
return this._compilationTargetPlatformArch != null;
}
///
/// Gets and sets the property CompilationTargetPlatformOs.
///
/// The type of OS that the model will run on after the compilation job has completed.
///
///
public TargetPlatformOs CompilationTargetPlatformOs
{
get { return this._compilationTargetPlatformOs; }
set { this._compilationTargetPlatformOs = value; }
}
// Check to see if CompilationTargetPlatformOs property is set
internal bool IsSetCompilationTargetPlatformOs()
{
return this._compilationTargetPlatformOs != null;
}
///
/// Gets and sets the property CreationTime.
///
/// The time when the model compilation job 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 when the model compilation job 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;
}
}
}