AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalyzeDocumentResult.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/textract/model/HumanLoopActivationOutput.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/textract/model/Block.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Textract
28{
29namespace Model
30{
32 {
33 public:
34 AWS_TEXTRACT_API AnalyzeDocumentResult();
37
38
40
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 AnalyzeDocumentResult& WithDocumentMetadata(DocumentMetadata&& value) { SetDocumentMetadata(std::move(value)); return *this;}
49
51
54 inline const Aws::Vector<Block>& GetBlocks() const{ return m_blocks; }
55 inline void SetBlocks(const Aws::Vector<Block>& value) { m_blocks = value; }
56 inline void SetBlocks(Aws::Vector<Block>&& value) { m_blocks = std::move(value); }
57 inline AnalyzeDocumentResult& WithBlocks(const Aws::Vector<Block>& value) { SetBlocks(value); return *this;}
58 inline AnalyzeDocumentResult& WithBlocks(Aws::Vector<Block>&& value) { SetBlocks(std::move(value)); return *this;}
59 inline AnalyzeDocumentResult& AddBlocks(const Block& value) { m_blocks.push_back(value); return *this; }
60 inline AnalyzeDocumentResult& AddBlocks(Block&& value) { m_blocks.push_back(std::move(value)); return *this; }
62
64
67 inline const HumanLoopActivationOutput& GetHumanLoopActivationOutput() const{ return m_humanLoopActivationOutput; }
68 inline void SetHumanLoopActivationOutput(const HumanLoopActivationOutput& value) { m_humanLoopActivationOutput = value; }
69 inline void SetHumanLoopActivationOutput(HumanLoopActivationOutput&& value) { m_humanLoopActivationOutput = std::move(value); }
73
75
78 inline const Aws::String& GetAnalyzeDocumentModelVersion() const{ return m_analyzeDocumentModelVersion; }
79 inline void SetAnalyzeDocumentModelVersion(const Aws::String& value) { m_analyzeDocumentModelVersion = value; }
80 inline void SetAnalyzeDocumentModelVersion(Aws::String&& value) { m_analyzeDocumentModelVersion = std::move(value); }
81 inline void SetAnalyzeDocumentModelVersion(const char* value) { m_analyzeDocumentModelVersion.assign(value); }
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline AnalyzeDocumentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline AnalyzeDocumentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline AnalyzeDocumentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 DocumentMetadata m_documentMetadata;
100
101 Aws::Vector<Block> m_blocks;
102
103 HumanLoopActivationOutput m_humanLoopActivationOutput;
104
105 Aws::String m_analyzeDocumentModelVersion;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace Textract
112} // namespace Aws
AnalyzeDocumentResult & WithAnalyzeDocumentModelVersion(const Aws::String &value)
const Aws::Vector< Block > & GetBlocks() const
AnalyzeDocumentResult & WithBlocks(const Aws::Vector< Block > &value)
void SetBlocks(Aws::Vector< Block > &&value)
void SetBlocks(const Aws::Vector< Block > &value)
AnalyzeDocumentResult & WithHumanLoopActivationOutput(const HumanLoopActivationOutput &value)
void SetAnalyzeDocumentModelVersion(const Aws::String &value)
AnalyzeDocumentResult & WithHumanLoopActivationOutput(HumanLoopActivationOutput &&value)
AnalyzeDocumentResult & WithAnalyzeDocumentModelVersion(const char *value)
const HumanLoopActivationOutput & GetHumanLoopActivationOutput() const
const Aws::String & GetAnalyzeDocumentModelVersion() const
AnalyzeDocumentResult & AddBlocks(Block &&value)
AnalyzeDocumentResult & AddBlocks(const Block &value)
void SetHumanLoopActivationOutput(const HumanLoopActivationOutput &value)
AnalyzeDocumentResult & WithDocumentMetadata(const DocumentMetadata &value)
AWS_TEXTRACT_API AnalyzeDocumentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AnalyzeDocumentResult & WithBlocks(Aws::Vector< Block > &&value)
AnalyzeDocumentResult & WithAnalyzeDocumentModelVersion(Aws::String &&value)
AnalyzeDocumentResult & WithRequestId(const char *value)
AnalyzeDocumentResult & WithRequestId(const Aws::String &value)
AnalyzeDocumentResult & WithRequestId(Aws::String &&value)
AnalyzeDocumentResult & WithDocumentMetadata(DocumentMetadata &&value)
void SetDocumentMetadata(DocumentMetadata &&value)
const DocumentMetadata & GetDocumentMetadata() const
AWS_TEXTRACT_API AnalyzeDocumentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDocumentMetadata(const DocumentMetadata &value)
void SetHumanLoopActivationOutput(HumanLoopActivationOutput &&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