AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetExpenseAnalysisResult.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/model/DocumentMetadata.h>
9#include <aws/textract/model/JobStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/textract/model/ExpenseDocument.h>
13#include <aws/textract/model/Warning.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Textract
29{
30namespace Model
31{
33 {
34 public:
35 AWS_TEXTRACT_API GetExpenseAnalysisResult();
38
39
41
46 inline const DocumentMetadata& GetDocumentMetadata() const{ return m_documentMetadata; }
47 inline void SetDocumentMetadata(const DocumentMetadata& value) { m_documentMetadata = value; }
48 inline void SetDocumentMetadata(DocumentMetadata&& value) { m_documentMetadata = std::move(value); }
50 inline GetExpenseAnalysisResult& WithDocumentMetadata(DocumentMetadata&& value) { SetDocumentMetadata(std::move(value)); return *this;}
52
54
57 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
58 inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; }
59 inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); }
60 inline GetExpenseAnalysisResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
61 inline GetExpenseAnalysisResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
63
65
70 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
71 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
72 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
73 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
74 inline GetExpenseAnalysisResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
75 inline GetExpenseAnalysisResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
76 inline GetExpenseAnalysisResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78
80
83 inline const Aws::Vector<ExpenseDocument>& GetExpenseDocuments() const{ return m_expenseDocuments; }
84 inline void SetExpenseDocuments(const Aws::Vector<ExpenseDocument>& value) { m_expenseDocuments = value; }
85 inline void SetExpenseDocuments(Aws::Vector<ExpenseDocument>&& value) { m_expenseDocuments = std::move(value); }
88 inline GetExpenseAnalysisResult& AddExpenseDocuments(const ExpenseDocument& value) { m_expenseDocuments.push_back(value); return *this; }
89 inline GetExpenseAnalysisResult& AddExpenseDocuments(ExpenseDocument&& value) { m_expenseDocuments.push_back(std::move(value)); return *this; }
91
93
97 inline const Aws::Vector<Warning>& GetWarnings() const{ return m_warnings; }
98 inline void SetWarnings(const Aws::Vector<Warning>& value) { m_warnings = value; }
99 inline void SetWarnings(Aws::Vector<Warning>&& value) { m_warnings = std::move(value); }
100 inline GetExpenseAnalysisResult& WithWarnings(const Aws::Vector<Warning>& value) { SetWarnings(value); return *this;}
101 inline GetExpenseAnalysisResult& WithWarnings(Aws::Vector<Warning>&& value) { SetWarnings(std::move(value)); return *this;}
102 inline GetExpenseAnalysisResult& AddWarnings(const Warning& value) { m_warnings.push_back(value); return *this; }
103 inline GetExpenseAnalysisResult& AddWarnings(Warning&& value) { m_warnings.push_back(std::move(value)); return *this; }
105
107
111 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
112 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
113 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
114 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
115 inline GetExpenseAnalysisResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
116 inline GetExpenseAnalysisResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
117 inline GetExpenseAnalysisResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
119
121
124 inline const Aws::String& GetAnalyzeExpenseModelVersion() const{ return m_analyzeExpenseModelVersion; }
125 inline void SetAnalyzeExpenseModelVersion(const Aws::String& value) { m_analyzeExpenseModelVersion = value; }
126 inline void SetAnalyzeExpenseModelVersion(Aws::String&& value) { m_analyzeExpenseModelVersion = std::move(value); }
127 inline void SetAnalyzeExpenseModelVersion(const char* value) { m_analyzeExpenseModelVersion.assign(value); }
132
134
135 inline const Aws::String& GetRequestId() const{ return m_requestId; }
136 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
137 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
138 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
139 inline GetExpenseAnalysisResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
140 inline GetExpenseAnalysisResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
141 inline GetExpenseAnalysisResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
143 private:
144
145 DocumentMetadata m_documentMetadata;
146
147 JobStatus m_jobStatus;
148
149 Aws::String m_nextToken;
150
151 Aws::Vector<ExpenseDocument> m_expenseDocuments;
152
153 Aws::Vector<Warning> m_warnings;
154
155 Aws::String m_statusMessage;
156
157 Aws::String m_analyzeExpenseModelVersion;
158
159 Aws::String m_requestId;
160 };
161
162} // namespace Model
163} // namespace Textract
164} // namespace Aws
GetExpenseAnalysisResult & AddExpenseDocuments(const ExpenseDocument &value)
GetExpenseAnalysisResult & AddExpenseDocuments(ExpenseDocument &&value)
GetExpenseAnalysisResult & AddWarnings(Warning &&value)
GetExpenseAnalysisResult & WithExpenseDocuments(const Aws::Vector< ExpenseDocument > &value)
GetExpenseAnalysisResult & WithDocumentMetadata(const DocumentMetadata &value)
GetExpenseAnalysisResult & WithStatusMessage(const char *value)
GetExpenseAnalysisResult & WithRequestId(const Aws::String &value)
const Aws::Vector< Warning > & GetWarnings() const
GetExpenseAnalysisResult & WithWarnings(const Aws::Vector< Warning > &value)
void SetWarnings(Aws::Vector< Warning > &&value)
void SetDocumentMetadata(const DocumentMetadata &value)
GetExpenseAnalysisResult & WithNextToken(const char *value)
GetExpenseAnalysisResult & WithJobStatus(JobStatus &&value)
void SetExpenseDocuments(Aws::Vector< ExpenseDocument > &&value)
AWS_TEXTRACT_API GetExpenseAnalysisResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExpenseAnalysisResult & WithAnalyzeExpenseModelVersion(const char *value)
GetExpenseAnalysisResult & WithStatusMessage(Aws::String &&value)
void SetExpenseDocuments(const Aws::Vector< ExpenseDocument > &value)
GetExpenseAnalysisResult & WithNextToken(const Aws::String &value)
const Aws::Vector< ExpenseDocument > & GetExpenseDocuments() const
GetExpenseAnalysisResult & WithAnalyzeExpenseModelVersion(Aws::String &&value)
GetExpenseAnalysisResult & WithAnalyzeExpenseModelVersion(const Aws::String &value)
GetExpenseAnalysisResult & WithJobStatus(const JobStatus &value)
GetExpenseAnalysisResult & WithStatusMessage(const Aws::String &value)
GetExpenseAnalysisResult & WithDocumentMetadata(DocumentMetadata &&value)
GetExpenseAnalysisResult & AddWarnings(const Warning &value)
GetExpenseAnalysisResult & WithWarnings(Aws::Vector< Warning > &&value)
AWS_TEXTRACT_API GetExpenseAnalysisResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExpenseAnalysisResult & WithRequestId(Aws::String &&value)
GetExpenseAnalysisResult & WithNextToken(Aws::String &&value)
GetExpenseAnalysisResult & WithExpenseDocuments(Aws::Vector< ExpenseDocument > &&value)
GetExpenseAnalysisResult & WithRequestId(const char *value)
void SetWarnings(const Aws::Vector< Warning > &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