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

The identifier of the text detection job for the document. Use * JobId to identify the job in a subsequent call to * GetDocumentTextDetection. A JobId value is only valid * for 7 days.

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

The identifier of the text detection job for the document. Use * JobId to identify the job in a subsequent call to * GetDocumentTextDetection. A JobId value is only valid * for 7 days.

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

The identifier of the text detection job for the document. Use * JobId to identify the job in a subsequent call to * GetDocumentTextDetection. A JobId value is only valid * for 7 days.

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

The identifier of the text detection job for the document. Use * JobId to identify the job in a subsequent call to * GetDocumentTextDetection. A JobId value is only valid * for 7 days.

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

The identifier of the text detection job for the document. Use * JobId to identify the job in a subsequent call to * GetDocumentTextDetection. A JobId value is only valid * for 7 days.

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

The identifier of the text detection job for the document. Use * JobId to identify the job in a subsequent call to * GetDocumentTextDetection. A JobId value is only valid * for 7 days.

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

The identifier of the text detection job for the document. Use * JobId to identify the job in a subsequent call to * GetDocumentTextDetection. A JobId value is only valid * for 7 days.

*/ inline StartDocumentTextDetectionResult& WithJobId(const char* value) { SetJobId(value); return *this;} private: Aws::String m_jobId; }; } // namespace Model } // namespace Textract } // namespace Aws