AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
LendingDocument.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/textract/Textract_EXPORTS.h>
9#include <aws/textract/model/LendingField.h>
10#include <aws/textract/model/SignatureDetection.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Textract {
22namespace Model {
23
31 public:
32 AWS_TEXTRACT_API LendingDocument() = default;
33 AWS_TEXTRACT_API LendingDocument(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<LendingField>& GetLendingFields() const { return m_lendingFields; }
42 inline bool LendingFieldsHasBeenSet() const { return m_lendingFieldsHasBeenSet; }
43 template <typename LendingFieldsT = Aws::Vector<LendingField>>
44 void SetLendingFields(LendingFieldsT&& value) {
45 m_lendingFieldsHasBeenSet = true;
46 m_lendingFields = std::forward<LendingFieldsT>(value);
47 }
48 template <typename LendingFieldsT = Aws::Vector<LendingField>>
49 LendingDocument& WithLendingFields(LendingFieldsT&& value) {
50 SetLendingFields(std::forward<LendingFieldsT>(value));
51 return *this;
52 }
53 template <typename LendingFieldsT = LendingField>
54 LendingDocument& AddLendingFields(LendingFieldsT&& value) {
55 m_lendingFieldsHasBeenSet = true;
56 m_lendingFields.emplace_back(std::forward<LendingFieldsT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Vector<SignatureDetection>& GetSignatureDetections() const { return m_signatureDetections; }
66 inline bool SignatureDetectionsHasBeenSet() const { return m_signatureDetectionsHasBeenSet; }
67 template <typename SignatureDetectionsT = Aws::Vector<SignatureDetection>>
68 void SetSignatureDetections(SignatureDetectionsT&& value) {
69 m_signatureDetectionsHasBeenSet = true;
70 m_signatureDetections = std::forward<SignatureDetectionsT>(value);
71 }
72 template <typename SignatureDetectionsT = Aws::Vector<SignatureDetection>>
73 LendingDocument& WithSignatureDetections(SignatureDetectionsT&& value) {
74 SetSignatureDetections(std::forward<SignatureDetectionsT>(value));
75 return *this;
76 }
77 template <typename SignatureDetectionsT = SignatureDetection>
78 LendingDocument& AddSignatureDetections(SignatureDetectionsT&& value) {
79 m_signatureDetectionsHasBeenSet = true;
80 m_signatureDetections.emplace_back(std::forward<SignatureDetectionsT>(value));
81 return *this;
82 }
84 private:
85 Aws::Vector<LendingField> m_lendingFields;
86
87 Aws::Vector<SignatureDetection> m_signatureDetections;
88 bool m_lendingFieldsHasBeenSet = false;
89 bool m_signatureDetectionsHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace Textract
94} // namespace Aws
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSignatureDetections(SignatureDetectionsT &&value)
LendingDocument & WithSignatureDetections(SignatureDetectionsT &&value)
LendingDocument & WithLendingFields(LendingFieldsT &&value)
LendingDocument & AddLendingFields(LendingFieldsT &&value)
AWS_TEXTRACT_API LendingDocument(Aws::Utils::Json::JsonView jsonValue)
void SetLendingFields(LendingFieldsT &&value)
const Aws::Vector< LendingField > & GetLendingFields() const
const Aws::Vector< SignatureDetection > & GetSignatureDetections() const
AWS_TEXTRACT_API LendingDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API LendingDocument()=default
LendingDocument & AddSignatureDetections(SignatureDetectionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue