AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLendingFields(const Aws::Vector<LendingField>& value) { m_lendingFieldsHasBeenSet = true; m_lendingFields = value; }
50 inline void SetLendingFields(Aws::Vector<LendingField>&& value) { m_lendingFieldsHasBeenSet = true; m_lendingFields = std::move(value); }
51 inline LendingDocument& WithLendingFields(const Aws::Vector<LendingField>& value) { SetLendingFields(value); return *this;}
52 inline LendingDocument& WithLendingFields(Aws::Vector<LendingField>&& value) { SetLendingFields(std::move(value)); return *this;}
53 inline LendingDocument& AddLendingFields(const LendingField& value) { m_lendingFieldsHasBeenSet = true; m_lendingFields.push_back(value); return *this; }
54 inline LendingDocument& AddLendingFields(LendingField&& value) { m_lendingFieldsHasBeenSet = true; m_lendingFields.push_back(std::move(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 inline void SetSignatureDetections(const Aws::Vector<SignatureDetection>& value) { m_signatureDetectionsHasBeenSet = true; m_signatureDetections = value; }
64 inline void SetSignatureDetections(Aws::Vector<SignatureDetection>&& value) { m_signatureDetectionsHasBeenSet = true; m_signatureDetections = std::move(value); }
67 inline LendingDocument& AddSignatureDetections(const SignatureDetection& value) { m_signatureDetectionsHasBeenSet = true; m_signatureDetections.push_back(value); return *this; }
68 inline LendingDocument& AddSignatureDetections(SignatureDetection&& value) { m_signatureDetectionsHasBeenSet = true; m_signatureDetections.push_back(std::move(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
LendingDocument & WithSignatureDetections(Aws::Vector< SignatureDetection > &&value)
LendingDocument & AddSignatureDetections(const SignatureDetection &value)
void SetSignatureDetections(Aws::Vector< SignatureDetection > &&value)
void SetLendingFields(Aws::Vector< LendingField > &&value)
LendingDocument & AddLendingFields(const LendingField &value)
LendingDocument & WithLendingFields(Aws::Vector< LendingField > &&value)
LendingDocument & AddSignatureDetections(SignatureDetection &&value)
AWS_TEXTRACT_API LendingDocument(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< LendingField > & GetLendingFields() const
const Aws::Vector< SignatureDetection > & GetSignatureDetections() const
AWS_TEXTRACT_API LendingDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSignatureDetections(const Aws::Vector< SignatureDetection > &value)
LendingDocument & WithSignatureDetections(const Aws::Vector< SignatureDetection > &value)
void SetLendingFields(const Aws::Vector< LendingField > &value)
LendingDocument & AddLendingFields(LendingField &&value)
LendingDocument & WithLendingFields(const Aws::Vector< LendingField > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue