AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Extraction.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/model/LendingDocument.h>
9#include <aws/textract/model/ExpenseDocument.h>
10#include <aws/textract/model/IdentityDocument.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Textract
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_TEXTRACT_API Extraction();
38 AWS_TEXTRACT_API Extraction(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TEXTRACT_API Extraction& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const LendingDocument& GetLendingDocument() const{ return m_lendingDocument; }
49 inline bool LendingDocumentHasBeenSet() const { return m_lendingDocumentHasBeenSet; }
50 inline void SetLendingDocument(const LendingDocument& value) { m_lendingDocumentHasBeenSet = true; m_lendingDocument = value; }
51 inline void SetLendingDocument(LendingDocument&& value) { m_lendingDocumentHasBeenSet = true; m_lendingDocument = std::move(value); }
52 inline Extraction& WithLendingDocument(const LendingDocument& value) { SetLendingDocument(value); return *this;}
53 inline Extraction& WithLendingDocument(LendingDocument&& value) { SetLendingDocument(std::move(value)); return *this;}
55
57
58 inline const ExpenseDocument& GetExpenseDocument() const{ return m_expenseDocument; }
59 inline bool ExpenseDocumentHasBeenSet() const { return m_expenseDocumentHasBeenSet; }
60 inline void SetExpenseDocument(const ExpenseDocument& value) { m_expenseDocumentHasBeenSet = true; m_expenseDocument = value; }
61 inline void SetExpenseDocument(ExpenseDocument&& value) { m_expenseDocumentHasBeenSet = true; m_expenseDocument = std::move(value); }
62 inline Extraction& WithExpenseDocument(const ExpenseDocument& value) { SetExpenseDocument(value); return *this;}
63 inline Extraction& WithExpenseDocument(ExpenseDocument&& value) { SetExpenseDocument(std::move(value)); return *this;}
65
67
68 inline const IdentityDocument& GetIdentityDocument() const{ return m_identityDocument; }
69 inline bool IdentityDocumentHasBeenSet() const { return m_identityDocumentHasBeenSet; }
70 inline void SetIdentityDocument(const IdentityDocument& value) { m_identityDocumentHasBeenSet = true; m_identityDocument = value; }
71 inline void SetIdentityDocument(IdentityDocument&& value) { m_identityDocumentHasBeenSet = true; m_identityDocument = std::move(value); }
72 inline Extraction& WithIdentityDocument(const IdentityDocument& value) { SetIdentityDocument(value); return *this;}
73 inline Extraction& WithIdentityDocument(IdentityDocument&& value) { SetIdentityDocument(std::move(value)); return *this;}
75 private:
76
77 LendingDocument m_lendingDocument;
78 bool m_lendingDocumentHasBeenSet = false;
79
80 ExpenseDocument m_expenseDocument;
81 bool m_expenseDocumentHasBeenSet = false;
82
83 IdentityDocument m_identityDocument;
84 bool m_identityDocumentHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Textract
89} // namespace Aws
Extraction & WithLendingDocument(LendingDocument &&value)
Definition Extraction.h:53
void SetLendingDocument(LendingDocument &&value)
Definition Extraction.h:51
void SetIdentityDocument(const IdentityDocument &value)
Definition Extraction.h:70
const ExpenseDocument & GetExpenseDocument() const
Definition Extraction.h:58
const LendingDocument & GetLendingDocument() const
Definition Extraction.h:48
Extraction & WithExpenseDocument(const ExpenseDocument &value)
Definition Extraction.h:62
void SetIdentityDocument(IdentityDocument &&value)
Definition Extraction.h:71
bool IdentityDocumentHasBeenSet() const
Definition Extraction.h:69
Extraction & WithExpenseDocument(ExpenseDocument &&value)
Definition Extraction.h:63
Extraction & WithLendingDocument(const LendingDocument &value)
Definition Extraction.h:52
AWS_TEXTRACT_API Extraction & operator=(Aws::Utils::Json::JsonView jsonValue)
Extraction & WithIdentityDocument(const IdentityDocument &value)
Definition Extraction.h:72
void SetLendingDocument(const LendingDocument &value)
Definition Extraction.h:50
AWS_TEXTRACT_API Extraction(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
Extraction & WithIdentityDocument(IdentityDocument &&value)
Definition Extraction.h:73
void SetExpenseDocument(ExpenseDocument &&value)
Definition Extraction.h:61
const IdentityDocument & GetIdentityDocument() const
Definition Extraction.h:68
void SetExpenseDocument(const ExpenseDocument &value)
Definition Extraction.h:60
Aws::Utils::Json::JsonValue JsonValue