/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Comprehend { namespace Model { class AWS_COMPREHEND_API StartDocumentClassificationJobResult { public: StartDocumentClassificationJobResult(); StartDocumentClassificationJobResult(const Aws::AmazonWebServiceResult& result); StartDocumentClassificationJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier generated for the job. To get the status of the job, use this * identifier with the operation.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The identifier generated for the job. To get the status of the job, use this * identifier with the operation.

*/ inline void SetJobId(const Aws::String& value) { m_jobId = value; } /** *

The identifier generated for the job. To get the status of the job, use this * identifier with the operation.

*/ inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); } /** *

The identifier generated for the job. To get the status of the job, use this * identifier with the operation.

*/ inline void SetJobId(const char* value) { m_jobId.assign(value); } /** *

The identifier generated for the job. To get the status of the job, use this * identifier with the operation.

*/ inline StartDocumentClassificationJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The identifier generated for the job. To get the status of the job, use this * identifier with the operation.

*/ inline StartDocumentClassificationJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The identifier generated for the job. To get the status of the job, use this * identifier with the operation.

*/ inline StartDocumentClassificationJobResult& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

The status of the job:

  • SUBMITTED - The job has been received * and queued for processing.

  • IN_PROGRESS - Amazon Comprehend is * processing the job.

  • COMPLETED - The job was successfully * completed and the output is available.

  • FAILED - The job did * not complete. For details, use the operation.

  • STOP_REQUESTED - * Amazon Comprehend has received a stop request for the job and is processing the * request.

  • STOPPED - The job was successfully stopped without * completing.

*/ inline const JobStatus& GetJobStatus() const{ return m_jobStatus; } /** *

The status of the job:

  • SUBMITTED - The job has been received * and queued for processing.

  • IN_PROGRESS - Amazon Comprehend is * processing the job.

  • COMPLETED - The job was successfully * completed and the output is available.

  • FAILED - The job did * not complete. For details, use the operation.

  • STOP_REQUESTED - * Amazon Comprehend has received a stop request for the job and is processing the * request.

  • STOPPED - The job was successfully stopped without * completing.

*/ inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; } /** *

The status of the job:

  • SUBMITTED - The job has been received * and queued for processing.

  • IN_PROGRESS - Amazon Comprehend is * processing the job.

  • COMPLETED - The job was successfully * completed and the output is available.

  • FAILED - The job did * not complete. For details, use the operation.

  • STOP_REQUESTED - * Amazon Comprehend has received a stop request for the job and is processing the * request.

  • STOPPED - The job was successfully stopped without * completing.

*/ inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); } /** *

The status of the job:

  • SUBMITTED - The job has been received * and queued for processing.

  • IN_PROGRESS - Amazon Comprehend is * processing the job.

  • COMPLETED - The job was successfully * completed and the output is available.

  • FAILED - The job did * not complete. For details, use the operation.

  • STOP_REQUESTED - * Amazon Comprehend has received a stop request for the job and is processing the * request.

  • STOPPED - The job was successfully stopped without * completing.

*/ inline StartDocumentClassificationJobResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;} /** *

The status of the job:

  • SUBMITTED - The job has been received * and queued for processing.

  • IN_PROGRESS - Amazon Comprehend is * processing the job.

  • COMPLETED - The job was successfully * completed and the output is available.

  • FAILED - The job did * not complete. For details, use the operation.

  • STOP_REQUESTED - * Amazon Comprehend has received a stop request for the job and is processing the * request.

  • STOPPED - The job was successfully stopped without * completing.

*/ inline StartDocumentClassificationJobResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;} private: Aws::String m_jobId; JobStatus m_jobStatus; }; } // namespace Model } // namespace Comprehend } // namespace Aws