AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LendingDocument.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/textract/model/LendingField.h>
10#include <aws/textract/model/SignatureDetection.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 LendingDocument() = default;
38 AWS_TEXTRACT_API LendingDocument(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<LendingField>& GetLendingFields() const { return m_lendingFields; }
48 inline bool LendingFieldsHasBeenSet() const { return m_lendingFieldsHasBeenSet; }
49 template<typename LendingFieldsT = Aws::Vector<LendingField>>
50 void SetLendingFields(LendingFieldsT&& value) { m_lendingFieldsHasBeenSet = true; m_lendingFields = std::forward<LendingFieldsT>(value); }
51 template<typename LendingFieldsT = Aws::Vector<LendingField>>
52 LendingDocument& WithLendingFields(LendingFieldsT&& value) { SetLendingFields(std::forward<LendingFieldsT>(value)); return *this;}
53 template<typename LendingFieldsT = LendingField>
54 LendingDocument& AddLendingFields(LendingFieldsT&& value) { m_lendingFieldsHasBeenSet = true; m_lendingFields.emplace_back(std::forward<LendingFieldsT>(value)); return *this; }
56
58
61 inline const Aws::Vector<SignatureDetection>& GetSignatureDetections() const { return m_signatureDetections; }
62 inline bool SignatureDetectionsHasBeenSet() const { return m_signatureDetectionsHasBeenSet; }
63 template<typename SignatureDetectionsT = Aws::Vector<SignatureDetection>>
64 void SetSignatureDetections(SignatureDetectionsT&& value) { m_signatureDetectionsHasBeenSet = true; m_signatureDetections = std::forward<SignatureDetectionsT>(value); }
65 template<typename SignatureDetectionsT = Aws::Vector<SignatureDetection>>
66 LendingDocument& WithSignatureDetections(SignatureDetectionsT&& value) { SetSignatureDetections(std::forward<SignatureDetectionsT>(value)); return *this;}
67 template<typename SignatureDetectionsT = SignatureDetection>
68 LendingDocument& AddSignatureDetections(SignatureDetectionsT&& value) { m_signatureDetectionsHasBeenSet = true; m_signatureDetections.emplace_back(std::forward<SignatureDetectionsT>(value)); return *this; }
70 private:
71
72 Aws::Vector<LendingField> m_lendingFields;
73 bool m_lendingFieldsHasBeenSet = false;
74
75 Aws::Vector<SignatureDetection> m_signatureDetections;
76 bool m_signatureDetectionsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Textract
81} // 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