AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalyzeExpenseResult.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/ExpenseDocument.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 AnalyzeExpenseResult();
36
37
39
40 inline const DocumentMetadata& GetDocumentMetadata() const{ return m_documentMetadata; }
41 inline void SetDocumentMetadata(const DocumentMetadata& value) { m_documentMetadata = value; }
42 inline void SetDocumentMetadata(DocumentMetadata&& value) { m_documentMetadata = std::move(value); }
44 inline AnalyzeExpenseResult& WithDocumentMetadata(DocumentMetadata&& value) { SetDocumentMetadata(std::move(value)); return *this;}
46
48
51 inline const Aws::Vector<ExpenseDocument>& GetExpenseDocuments() const{ return m_expenseDocuments; }
52 inline void SetExpenseDocuments(const Aws::Vector<ExpenseDocument>& value) { m_expenseDocuments = value; }
53 inline void SetExpenseDocuments(Aws::Vector<ExpenseDocument>&& value) { m_expenseDocuments = std::move(value); }
56 inline AnalyzeExpenseResult& AddExpenseDocuments(const ExpenseDocument& value) { m_expenseDocuments.push_back(value); return *this; }
57 inline AnalyzeExpenseResult& AddExpenseDocuments(ExpenseDocument&& value) { m_expenseDocuments.push_back(std::move(value)); return *this; }
59
61
62 inline const Aws::String& GetRequestId() const{ return m_requestId; }
63 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
64 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
65 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
66 inline AnalyzeExpenseResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline AnalyzeExpenseResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline AnalyzeExpenseResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
70 private:
71
72 DocumentMetadata m_documentMetadata;
73
74 Aws::Vector<ExpenseDocument> m_expenseDocuments;
75
76 Aws::String m_requestId;
77 };
78
79} // namespace Model
80} // namespace Textract
81} // namespace Aws
void SetDocumentMetadata(const DocumentMetadata &value)
AnalyzeExpenseResult & WithDocumentMetadata(DocumentMetadata &&value)
const Aws::Vector< ExpenseDocument > & GetExpenseDocuments() const
void SetExpenseDocuments(const Aws::Vector< ExpenseDocument > &value)
AnalyzeExpenseResult & WithDocumentMetadata(const DocumentMetadata &value)
AnalyzeExpenseResult & WithRequestId(Aws::String &&value)
const DocumentMetadata & GetDocumentMetadata() const
AWS_TEXTRACT_API AnalyzeExpenseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AnalyzeExpenseResult & WithRequestId(const Aws::String &value)
AWS_TEXTRACT_API AnalyzeExpenseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AnalyzeExpenseResult & WithRequestId(const char *value)
AnalyzeExpenseResult & WithExpenseDocuments(const Aws::Vector< ExpenseDocument > &value)
void SetDocumentMetadata(DocumentMetadata &&value)
AnalyzeExpenseResult & AddExpenseDocuments(const ExpenseDocument &value)
void SetExpenseDocuments(Aws::Vector< ExpenseDocument > &&value)
AnalyzeExpenseResult & WithExpenseDocuments(Aws::Vector< ExpenseDocument > &&value)
void SetRequestId(const Aws::String &value)
AnalyzeExpenseResult & AddExpenseDocuments(ExpenseDocument &&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