AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IdentityDocument.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/IdentityDocumentField.h>
10#include <aws/textract/model/Block.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 IdentityDocument();
38 AWS_TEXTRACT_API IdentityDocument(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline int GetDocumentIndex() const{ return m_documentIndex; }
49 inline bool DocumentIndexHasBeenSet() const { return m_documentIndexHasBeenSet; }
50 inline void SetDocumentIndex(int value) { m_documentIndexHasBeenSet = true; m_documentIndex = value; }
51 inline IdentityDocument& WithDocumentIndex(int value) { SetDocumentIndex(value); return *this;}
53
55
59 inline const Aws::Vector<IdentityDocumentField>& GetIdentityDocumentFields() const{ return m_identityDocumentFields; }
60 inline bool IdentityDocumentFieldsHasBeenSet() const { return m_identityDocumentFieldsHasBeenSet; }
61 inline void SetIdentityDocumentFields(const Aws::Vector<IdentityDocumentField>& value) { m_identityDocumentFieldsHasBeenSet = true; m_identityDocumentFields = value; }
62 inline void SetIdentityDocumentFields(Aws::Vector<IdentityDocumentField>&& value) { m_identityDocumentFieldsHasBeenSet = true; m_identityDocumentFields = std::move(value); }
65 inline IdentityDocument& AddIdentityDocumentFields(const IdentityDocumentField& value) { m_identityDocumentFieldsHasBeenSet = true; m_identityDocumentFields.push_back(value); return *this; }
66 inline IdentityDocument& AddIdentityDocumentFields(IdentityDocumentField&& value) { m_identityDocumentFieldsHasBeenSet = true; m_identityDocumentFields.push_back(std::move(value)); return *this; }
68
70
73 inline const Aws::Vector<Block>& GetBlocks() const{ return m_blocks; }
74 inline bool BlocksHasBeenSet() const { return m_blocksHasBeenSet; }
75 inline void SetBlocks(const Aws::Vector<Block>& value) { m_blocksHasBeenSet = true; m_blocks = value; }
76 inline void SetBlocks(Aws::Vector<Block>&& value) { m_blocksHasBeenSet = true; m_blocks = std::move(value); }
77 inline IdentityDocument& WithBlocks(const Aws::Vector<Block>& value) { SetBlocks(value); return *this;}
78 inline IdentityDocument& WithBlocks(Aws::Vector<Block>&& value) { SetBlocks(std::move(value)); return *this;}
79 inline IdentityDocument& AddBlocks(const Block& value) { m_blocksHasBeenSet = true; m_blocks.push_back(value); return *this; }
80 inline IdentityDocument& AddBlocks(Block&& value) { m_blocksHasBeenSet = true; m_blocks.push_back(std::move(value)); return *this; }
82 private:
83
84 int m_documentIndex;
85 bool m_documentIndexHasBeenSet = false;
86
87 Aws::Vector<IdentityDocumentField> m_identityDocumentFields;
88 bool m_identityDocumentFieldsHasBeenSet = false;
89
90 Aws::Vector<Block> m_blocks;
91 bool m_blocksHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Textract
96} // namespace Aws
void SetBlocks(const Aws::Vector< Block > &value)
AWS_TEXTRACT_API IdentityDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API IdentityDocument(Aws::Utils::Json::JsonView jsonValue)
IdentityDocument & AddIdentityDocumentFields(const IdentityDocumentField &value)
const Aws::Vector< IdentityDocumentField > & GetIdentityDocumentFields() const
IdentityDocument & AddBlocks(Block &&value)
void SetIdentityDocumentFields(Aws::Vector< IdentityDocumentField > &&value)
IdentityDocument & WithBlocks(const Aws::Vector< Block > &value)
void SetBlocks(Aws::Vector< Block > &&value)
const Aws::Vector< Block > & GetBlocks() const
IdentityDocument & AddIdentityDocumentFields(IdentityDocumentField &&value)
IdentityDocument & WithBlocks(Aws::Vector< Block > &&value)
IdentityDocument & AddBlocks(const Block &value)
void SetIdentityDocumentFields(const Aws::Vector< IdentityDocumentField > &value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
IdentityDocument & WithDocumentIndex(int value)
IdentityDocument & WithIdentityDocumentFields(const Aws::Vector< IdentityDocumentField > &value)
IdentityDocument & WithIdentityDocumentFields(Aws::Vector< IdentityDocumentField > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue