/*
* 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 DescribeInferenceRecommendationsJob operation.
///
public partial class DescribeInferenceRecommendationsJobResponse : AmazonWebServiceResponse
{
private DateTime? _completionTime;
private DateTime? _creationTime;
private List _endpointPerformances = new List();
private string _failureReason;
private List _inferenceRecommendations = new List();
private RecommendationJobInputConfig _inputConfig;
private string _jobArn;
private string _jobDescription;
private string _jobName;
private RecommendationJobType _jobType;
private DateTime? _lastModifiedTime;
private string _roleArn;
private RecommendationJobStatus _status;
private RecommendationJobStoppingConditions _stoppingConditions;
///
/// Gets and sets the property CompletionTime.
///
/// A timestamp that shows when the job completed.
///
///
public DateTime CompletionTime
{
get { return this._completionTime.GetValueOrDefault(); }
set { this._completionTime = value; }
}
// Check to see if CompletionTime property is set
internal bool IsSetCompletionTime()
{
return this._completionTime.HasValue;
}
///
/// Gets and sets the property CreationTime.
///
/// A timestamp that shows when the 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 EndpointPerformances.
///
/// The performance results from running an Inference Recommender job on an existing endpoint.
///
///
[AWSProperty(Max=1)]
public List EndpointPerformances
{
get { return this._endpointPerformances; }
set { this._endpointPerformances = value; }
}
// Check to see if EndpointPerformances property is set
internal bool IsSetEndpointPerformances()
{
return this._endpointPerformances != null && this._endpointPerformances.Count > 0;
}
///
/// Gets and sets the property FailureReason.
///
/// If the job fails, provides information why the job failed.
///
///
[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 InferenceRecommendations.
///
/// The recommendations made by Inference Recommender.
///
///
[AWSProperty(Min=1, Max=10)]
public List InferenceRecommendations
{
get { return this._inferenceRecommendations; }
set { this._inferenceRecommendations = value; }
}
// Check to see if InferenceRecommendations property is set
internal bool IsSetInferenceRecommendations()
{
return this._inferenceRecommendations != null && this._inferenceRecommendations.Count > 0;
}
///
/// Gets and sets the property InputConfig.
///
/// Returns information about the versioned model package Amazon Resource Name (ARN),
/// the traffic pattern, and endpoint configurations you provided when you initiated the
/// job.
///
///
[AWSProperty(Required=true)]
public RecommendationJobInputConfig InputConfig
{
get { return this._inputConfig; }
set { this._inputConfig = value; }
}
// Check to see if InputConfig property is set
internal bool IsSetInputConfig()
{
return this._inputConfig != null;
}
///
/// Gets and sets the property JobArn.
///
/// The Amazon Resource Name (ARN) of the job.
///
///
[AWSProperty(Required=true, Max=256)]
public string JobArn
{
get { return this._jobArn; }
set { this._jobArn = value; }
}
// Check to see if JobArn property is set
internal bool IsSetJobArn()
{
return this._jobArn != null;
}
///
/// Gets and sets the property JobDescription.
///
/// The job description that you provided when you initiated the job.
///
///
[AWSProperty(Max=128)]
public string JobDescription
{
get { return this._jobDescription; }
set { this._jobDescription = value; }
}
// Check to see if JobDescription property is set
internal bool IsSetJobDescription()
{
return this._jobDescription != null;
}
///
/// Gets and sets the property JobName.
///
/// The name of the job. The name must be unique within an Amazon Web Services Region
/// in the Amazon Web Services account.
///
///
[AWSProperty(Required=true, Min=1, Max=64)]
public string JobName
{
get { return this._jobName; }
set { this._jobName = value; }
}
// Check to see if JobName property is set
internal bool IsSetJobName()
{
return this._jobName != null;
}
///
/// Gets and sets the property JobType.
///
/// The job type that you provided when you initiated the job.
///
///
[AWSProperty(Required=true)]
public RecommendationJobType JobType
{
get { return this._jobType; }
set { this._jobType = value; }
}
// Check to see if JobType property is set
internal bool IsSetJobType()
{
return this._jobType != null;
}
///
/// Gets and sets the property LastModifiedTime.
///
/// A timestamp that shows when the job 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;
}
///
/// Gets and sets the property RoleArn.
///
/// The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management
/// (IAM) role you provided when you initiated the job.
///
///
[AWSProperty(Required=true, 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;
}
///
/// Gets and sets the property Status.
///
/// The status of the job.
///
///
[AWSProperty(Required=true)]
public RecommendationJobStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property StoppingConditions.
///
/// The stopping conditions that you provided when you initiated the job.
///
///
public RecommendationJobStoppingConditions StoppingConditions
{
get { return this._stoppingConditions; }
set { this._stoppingConditions = value; }
}
// Check to see if StoppingConditions property is set
internal bool IsSetStoppingConditions()
{
return this._stoppingConditions != null;
}
}
}