AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
StartDocumentTextDetectionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/textract/Textract_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Textract {
22namespace Model {
24 public:
25 AWS_TEXTRACT_API StartDocumentTextDetectionResult() = default;
28
30
36 inline const Aws::String& GetJobId() const { return m_jobId; }
37 template <typename JobIdT = Aws::String>
38 void SetJobId(JobIdT&& value) {
39 m_jobIdHasBeenSet = true;
40 m_jobId = std::forward<JobIdT>(value);
41 }
42 template <typename JobIdT = Aws::String>
44 SetJobId(std::forward<JobIdT>(value));
45 return *this;
46 }
48
50
51 inline const Aws::String& GetRequestId() const { return m_requestId; }
52 template <typename RequestIdT = Aws::String>
53 void SetRequestId(RequestIdT&& value) {
54 m_requestIdHasBeenSet = true;
55 m_requestId = std::forward<RequestIdT>(value);
56 }
57 template <typename RequestIdT = Aws::String>
59 SetRequestId(std::forward<RequestIdT>(value));
60 return *this;
61 }
63 private:
64 Aws::String m_jobId;
65
66 Aws::String m_requestId;
67 bool m_jobIdHasBeenSet = false;
68 bool m_requestIdHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace Textract
73} // namespace Aws
AWS_TEXTRACT_API StartDocumentTextDetectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_TEXTRACT_API StartDocumentTextDetectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartDocumentTextDetectionResult & WithRequestId(RequestIdT &&value)
StartDocumentTextDetectionResult & WithJobId(JobIdT &&value)
AWS_TEXTRACT_API StartDocumentTextDetectionResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue