AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectDocumentTextResult.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/model/DocumentMetadata.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/textract/model/Block.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Textract
27{
28namespace Model
29{
31 {
32 public:
33 AWS_TEXTRACT_API DetectDocumentTextResult();
36
37
39
43 inline const DocumentMetadata& GetDocumentMetadata() const{ return m_documentMetadata; }
44 inline void SetDocumentMetadata(const DocumentMetadata& value) { m_documentMetadata = value; }
45 inline void SetDocumentMetadata(DocumentMetadata&& value) { m_documentMetadata = std::move(value); }
47 inline DetectDocumentTextResult& WithDocumentMetadata(DocumentMetadata&& value) { SetDocumentMetadata(std::move(value)); return *this;}
49
51
55 inline const Aws::Vector<Block>& GetBlocks() const{ return m_blocks; }
56 inline void SetBlocks(const Aws::Vector<Block>& value) { m_blocks = value; }
57 inline void SetBlocks(Aws::Vector<Block>&& value) { m_blocks = std::move(value); }
58 inline DetectDocumentTextResult& WithBlocks(const Aws::Vector<Block>& value) { SetBlocks(value); return *this;}
59 inline DetectDocumentTextResult& WithBlocks(Aws::Vector<Block>&& value) { SetBlocks(std::move(value)); return *this;}
60 inline DetectDocumentTextResult& AddBlocks(const Block& value) { m_blocks.push_back(value); return *this; }
61 inline DetectDocumentTextResult& AddBlocks(Block&& value) { m_blocks.push_back(std::move(value)); return *this; }
63
65
68 inline const Aws::String& GetDetectDocumentTextModelVersion() const{ return m_detectDocumentTextModelVersion; }
69 inline void SetDetectDocumentTextModelVersion(const Aws::String& value) { m_detectDocumentTextModelVersion = value; }
70 inline void SetDetectDocumentTextModelVersion(Aws::String&& value) { m_detectDocumentTextModelVersion = std::move(value); }
71 inline void SetDetectDocumentTextModelVersion(const char* value) { m_detectDocumentTextModelVersion.assign(value); }
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline DetectDocumentTextResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline DetectDocumentTextResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline DetectDocumentTextResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 DocumentMetadata m_documentMetadata;
90
91 Aws::Vector<Block> m_blocks;
92
93 Aws::String m_detectDocumentTextModelVersion;
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace Textract
100} // namespace Aws
DetectDocumentTextResult & WithDocumentMetadata(const DocumentMetadata &value)
DetectDocumentTextResult & WithBlocks(const Aws::Vector< Block > &value)
void SetDocumentMetadata(const DocumentMetadata &value)
void SetDetectDocumentTextModelVersion(const Aws::String &value)
AWS_TEXTRACT_API DetectDocumentTextResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectDocumentTextResult & WithBlocks(Aws::Vector< Block > &&value)
DetectDocumentTextResult & WithRequestId(Aws::String &&value)
AWS_TEXTRACT_API DetectDocumentTextResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectDocumentTextResult & WithRequestId(const char *value)
void SetBlocks(const Aws::Vector< Block > &value)
DetectDocumentTextResult & WithDetectDocumentTextModelVersion(const Aws::String &value)
DetectDocumentTextResult & WithDetectDocumentTextModelVersion(Aws::String &&value)
DetectDocumentTextResult & WithDocumentMetadata(DocumentMetadata &&value)
DetectDocumentTextResult & AddBlocks(const Block &value)
DetectDocumentTextResult & WithRequestId(const Aws::String &value)
DetectDocumentTextResult & AddBlocks(Block &&value)
DetectDocumentTextResult & WithDetectDocumentTextModelVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue