/** * 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 StartLendingAnalysisResult { public: AWS_TEXTRACT_API StartLendingAnalysisResult(); AWS_TEXTRACT_API StartLendingAnalysisResult(const Aws::AmazonWebServiceResult& result); AWS_TEXTRACT_API StartLendingAnalysisResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A unique identifier for the lending or text-detection job. The * JobId is returned from StartLendingAnalysis. A * JobId value is only valid for 7 days.

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

A unique identifier for the lending or text-detection job. The * JobId is returned from StartLendingAnalysis. A * JobId value is only valid for 7 days.

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

A unique identifier for the lending or text-detection job. The * JobId is returned from StartLendingAnalysis. A * JobId value is only valid for 7 days.

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

A unique identifier for the lending or text-detection job. The * JobId is returned from StartLendingAnalysis. A * JobId value is only valid for 7 days.

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

A unique identifier for the lending or text-detection job. The * JobId is returned from StartLendingAnalysis. A * JobId value is only valid for 7 days.

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

A unique identifier for the lending or text-detection job. The * JobId is returned from StartLendingAnalysis. A * JobId value is only valid for 7 days.

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

A unique identifier for the lending or text-detection job. The * JobId is returned from StartLendingAnalysis. A * JobId value is only valid for 7 days.

*/ inline StartLendingAnalysisResult& WithJobId(const char* value) { SetJobId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StartLendingAnalysisResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartLendingAnalysisResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartLendingAnalysisResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_jobId; Aws::String m_requestId; }; } // namespace Model } // namespace Textract } // namespace Aws