/* * 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 structure that contains a list of recommendation jobs. /// public partial class InferenceRecommendationsJob { private DateTime? _completionTime; private DateTime? _creationTime; private string _failureReason; private string _jobArn; private string _jobDescription; private string _jobName; private RecommendationJobType _jobType; private DateTime? _lastModifiedTime; private string _modelName; private string _modelPackageVersionArn; private string _roleArn; private string _samplePayloadUrl; private RecommendationJobStatus _status; /// /// 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 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 JobArn. /// /// The Amazon Resource Name (ARN) of the recommendation 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. /// /// [AWSProperty(Required=true, 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. /// /// [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 recommendation job type. /// /// [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 ModelName. /// /// The name of the created model. /// /// [AWSProperty(Max=63)] public string ModelName { get { return this._modelName; } set { this._modelName = value; } } // Check to see if ModelName property is set internal bool IsSetModelName() { return this._modelName != null; } /// /// Gets and sets the property ModelPackageVersionArn. /// /// The Amazon Resource Name (ARN) of a versioned model package. /// /// [AWSProperty(Min=1, Max=2048)] public string ModelPackageVersionArn { get { return this._modelPackageVersionArn; } set { this._modelPackageVersionArn = value; } } // Check to see if ModelPackageVersionArn property is set internal bool IsSetModelPackageVersionArn() { return this._modelPackageVersionArn != null; } /// /// Gets and sets the property RoleArn. /// /// The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform /// tasks on your behalf. /// /// [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 SamplePayloadUrl. /// /// The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. /// This path must point to a single gzip compressed tar archive (.tar.gz suffix). /// /// [AWSProperty(Max=1024)] public string SamplePayloadUrl { get { return this._samplePayloadUrl; } set { this._samplePayloadUrl = value; } } // Check to see if SamplePayloadUrl property is set internal bool IsSetSamplePayloadUrl() { return this._samplePayloadUrl != 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; } } }