AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DocumentGroup.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/textract/model/SplitDocument.h>
11#include <aws/textract/model/DetectedSignature.h>
12#include <aws/textract/model/UndetectedSignature.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Textract
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_TEXTRACT_API DocumentGroup() = default;
40 AWS_TEXTRACT_API DocumentGroup(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::String& GetType() const { return m_type; }
52 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
53 template<typename TypeT = Aws::String>
54 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
55 template<typename TypeT = Aws::String>
56 DocumentGroup& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
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) { m_splitDocumentsHasBeenSet = true; m_splitDocuments = std::forward<SplitDocumentsT>(value); }
68 template<typename SplitDocumentsT = Aws::Vector<SplitDocument>>
69 DocumentGroup& WithSplitDocuments(SplitDocumentsT&& value) { SetSplitDocuments(std::forward<SplitDocumentsT>(value)); return *this;}
70 template<typename SplitDocumentsT = SplitDocument>
71 DocumentGroup& AddSplitDocuments(SplitDocumentsT&& value) { m_splitDocumentsHasBeenSet = true; m_splitDocuments.emplace_back(std::forward<SplitDocumentsT>(value)); return *this; }
73
75
78 inline const Aws::Vector<DetectedSignature>& GetDetectedSignatures() const { return m_detectedSignatures; }
79 inline bool DetectedSignaturesHasBeenSet() const { return m_detectedSignaturesHasBeenSet; }
80 template<typename DetectedSignaturesT = Aws::Vector<DetectedSignature>>
81 void SetDetectedSignatures(DetectedSignaturesT&& value) { m_detectedSignaturesHasBeenSet = true; m_detectedSignatures = std::forward<DetectedSignaturesT>(value); }
82 template<typename DetectedSignaturesT = Aws::Vector<DetectedSignature>>
83 DocumentGroup& WithDetectedSignatures(DetectedSignaturesT&& value) { SetDetectedSignatures(std::forward<DetectedSignaturesT>(value)); return *this;}
84 template<typename DetectedSignaturesT = DetectedSignature>
85 DocumentGroup& AddDetectedSignatures(DetectedSignaturesT&& value) { m_detectedSignaturesHasBeenSet = true; m_detectedSignatures.emplace_back(std::forward<DetectedSignaturesT>(value)); return *this; }
87
89
92 inline const Aws::Vector<UndetectedSignature>& GetUndetectedSignatures() const { return m_undetectedSignatures; }
93 inline bool UndetectedSignaturesHasBeenSet() const { return m_undetectedSignaturesHasBeenSet; }
94 template<typename UndetectedSignaturesT = Aws::Vector<UndetectedSignature>>
95 void SetUndetectedSignatures(UndetectedSignaturesT&& value) { m_undetectedSignaturesHasBeenSet = true; m_undetectedSignatures = std::forward<UndetectedSignaturesT>(value); }
96 template<typename UndetectedSignaturesT = Aws::Vector<UndetectedSignature>>
97 DocumentGroup& WithUndetectedSignatures(UndetectedSignaturesT&& value) { SetUndetectedSignatures(std::forward<UndetectedSignaturesT>(value)); return *this;}
98 template<typename UndetectedSignaturesT = UndetectedSignature>
99 DocumentGroup& AddUndetectedSignatures(UndetectedSignaturesT&& value) { m_undetectedSignaturesHasBeenSet = true; m_undetectedSignatures.emplace_back(std::forward<UndetectedSignaturesT>(value)); return *this; }
101 private:
102
103 Aws::String m_type;
104 bool m_typeHasBeenSet = false;
105
106 Aws::Vector<SplitDocument> m_splitDocuments;
107 bool m_splitDocumentsHasBeenSet = false;
108
109 Aws::Vector<DetectedSignature> m_detectedSignatures;
110 bool m_detectedSignaturesHasBeenSet = false;
111
112 Aws::Vector<UndetectedSignature> m_undetectedSignatures;
113 bool m_undetectedSignaturesHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Textract
118} // 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