AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DocumentGroup.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/textract/Textract_EXPORTS.h>
10#include <aws/textract/model/DetectedSignature.h>
11#include <aws/textract/model/SplitDocument.h>
12#include <aws/textract/model/UndetectedSignature.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Textract {
24namespace Model {
25
33 public:
34 AWS_TEXTRACT_API DocumentGroup() = default;
35 AWS_TEXTRACT_API DocumentGroup(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
45 inline const Aws::String& GetType() const { return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 template <typename TypeT = Aws::String>
48 void SetType(TypeT&& value) {
49 m_typeHasBeenSet = true;
50 m_type = std::forward<TypeT>(value);
51 }
52 template <typename TypeT = Aws::String>
53 DocumentGroup& WithType(TypeT&& value) {
54 SetType(std::forward<TypeT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::Vector<SplitDocument>& GetSplitDocuments() const { return m_splitDocuments; }
65 inline bool SplitDocumentsHasBeenSet() const { return m_splitDocumentsHasBeenSet; }
66 template <typename SplitDocumentsT = Aws::Vector<SplitDocument>>
67 void SetSplitDocuments(SplitDocumentsT&& value) {
68 m_splitDocumentsHasBeenSet = true;
69 m_splitDocuments = std::forward<SplitDocumentsT>(value);
70 }
71 template <typename SplitDocumentsT = Aws::Vector<SplitDocument>>
72 DocumentGroup& WithSplitDocuments(SplitDocumentsT&& value) {
73 SetSplitDocuments(std::forward<SplitDocumentsT>(value));
74 return *this;
75 }
76 template <typename SplitDocumentsT = SplitDocument>
77 DocumentGroup& AddSplitDocuments(SplitDocumentsT&& value) {
78 m_splitDocumentsHasBeenSet = true;
79 m_splitDocuments.emplace_back(std::forward<SplitDocumentsT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Vector<DetectedSignature>& GetDetectedSignatures() const { return m_detectedSignatures; }
89 inline bool DetectedSignaturesHasBeenSet() const { return m_detectedSignaturesHasBeenSet; }
90 template <typename DetectedSignaturesT = Aws::Vector<DetectedSignature>>
91 void SetDetectedSignatures(DetectedSignaturesT&& value) {
92 m_detectedSignaturesHasBeenSet = true;
93 m_detectedSignatures = std::forward<DetectedSignaturesT>(value);
94 }
95 template <typename DetectedSignaturesT = Aws::Vector<DetectedSignature>>
96 DocumentGroup& WithDetectedSignatures(DetectedSignaturesT&& value) {
97 SetDetectedSignatures(std::forward<DetectedSignaturesT>(value));
98 return *this;
99 }
100 template <typename DetectedSignaturesT = DetectedSignature>
101 DocumentGroup& AddDetectedSignatures(DetectedSignaturesT&& value) {
102 m_detectedSignaturesHasBeenSet = true;
103 m_detectedSignatures.emplace_back(std::forward<DetectedSignaturesT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Vector<UndetectedSignature>& GetUndetectedSignatures() const { return m_undetectedSignatures; }
113 inline bool UndetectedSignaturesHasBeenSet() const { return m_undetectedSignaturesHasBeenSet; }
114 template <typename UndetectedSignaturesT = Aws::Vector<UndetectedSignature>>
115 void SetUndetectedSignatures(UndetectedSignaturesT&& value) {
116 m_undetectedSignaturesHasBeenSet = true;
117 m_undetectedSignatures = std::forward<UndetectedSignaturesT>(value);
118 }
119 template <typename UndetectedSignaturesT = Aws::Vector<UndetectedSignature>>
120 DocumentGroup& WithUndetectedSignatures(UndetectedSignaturesT&& value) {
121 SetUndetectedSignatures(std::forward<UndetectedSignaturesT>(value));
122 return *this;
123 }
124 template <typename UndetectedSignaturesT = UndetectedSignature>
125 DocumentGroup& AddUndetectedSignatures(UndetectedSignaturesT&& value) {
126 m_undetectedSignaturesHasBeenSet = true;
127 m_undetectedSignatures.emplace_back(std::forward<UndetectedSignaturesT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_type;
133
134 Aws::Vector<SplitDocument> m_splitDocuments;
135
136 Aws::Vector<DetectedSignature> m_detectedSignatures;
137
138 Aws::Vector<UndetectedSignature> m_undetectedSignatures;
139 bool m_typeHasBeenSet = false;
140 bool m_splitDocumentsHasBeenSet = false;
141 bool m_detectedSignaturesHasBeenSet = false;
142 bool m_undetectedSignaturesHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace Textract
147} // namespace Aws
void SetDetectedSignatures(DetectedSignaturesT &&value)
DocumentGroup & WithDetectedSignatures(DetectedSignaturesT &&value)
AWS_TEXTRACT_API DocumentGroup()=default
DocumentGroup & AddSplitDocuments(SplitDocumentsT &&value)
const Aws::Vector< DetectedSignature > & GetDetectedSignatures() const
void SetSplitDocuments(SplitDocumentsT &&value)
DocumentGroup & WithUndetectedSignatures(UndetectedSignaturesT &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentGroup & WithSplitDocuments(SplitDocumentsT &&value)
const Aws::Vector< UndetectedSignature > & GetUndetectedSignatures() const
DocumentGroup & AddUndetectedSignatures(UndetectedSignaturesT &&value)
void SetUndetectedSignatures(UndetectedSignaturesT &&value)
const Aws::Vector< SplitDocument > & GetSplitDocuments() const
AWS_TEXTRACT_API DocumentGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentGroup & AddDetectedSignatures(DetectedSignaturesT &&value)
AWS_TEXTRACT_API DocumentGroup(Aws::Utils::Json::JsonView jsonValue)
DocumentGroup & WithType(TypeT &&value)
const Aws::String & GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue