/* * 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 comprehend-2017-11-27.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.Comprehend.Model { /// /// This is the response object from the StartSentimentDetectionJob operation. /// public partial class StartSentimentDetectionJobResponse : AmazonWebServiceResponse { private string _jobArn; private string _jobId; private JobStatus _jobStatus; /// /// Gets and sets the property JobArn. /// /// The Amazon Resource Name (ARN) of the sentiment detection job. It is a unique, fully /// qualified identifier for the job. It includes the Amazon Web Services account, Amazon /// Web Services Region, and the job ID. The format of the ARN is as follows: /// /// /// /// arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id> /// /// /// /// /// The following is an example job ARN: /// /// /// /// arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab /// /// /// [AWSProperty(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 JobId. /// /// The identifier generated for the job. To get the status of a job, use this identifier /// with the operation. /// /// [AWSProperty(Min=1, Max=32)] public string JobId { get { return this._jobId; } set { this._jobId = value; } } // Check to see if JobId property is set internal bool IsSetJobId() { return this._jobId != null; } /// /// Gets and sets the property JobStatus. /// /// The status of the job. /// /// /// public JobStatus JobStatus { get { return this._jobStatus; } set { this._jobStatus = value; } } // Check to see if JobStatus property is set internal bool IsSetJobStatus() { return this._jobStatus != null; } } }