AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
54 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
55 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
56 inline DocumentGroup& WithType(const Aws::String& value) { SetType(value); return *this;}
57 inline DocumentGroup& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
58 inline DocumentGroup& WithType(const char* value) { SetType(value); return *this;}
60
62
66 inline const Aws::Vector<SplitDocument>& GetSplitDocuments() const{ return m_splitDocuments; }
67 inline bool SplitDocumentsHasBeenSet() const { return m_splitDocumentsHasBeenSet; }
68 inline void SetSplitDocuments(const Aws::Vector<SplitDocument>& value) { m_splitDocumentsHasBeenSet = true; m_splitDocuments = value; }
69 inline void SetSplitDocuments(Aws::Vector<SplitDocument>&& value) { m_splitDocumentsHasBeenSet = true; m_splitDocuments = std::move(value); }
71 inline DocumentGroup& WithSplitDocuments(Aws::Vector<SplitDocument>&& value) { SetSplitDocuments(std::move(value)); return *this;}
72 inline DocumentGroup& AddSplitDocuments(const SplitDocument& value) { m_splitDocumentsHasBeenSet = true; m_splitDocuments.push_back(value); return *this; }
73 inline DocumentGroup& AddSplitDocuments(SplitDocument&& value) { m_splitDocumentsHasBeenSet = true; m_splitDocuments.push_back(std::move(value)); return *this; }
75
77
80 inline const Aws::Vector<DetectedSignature>& GetDetectedSignatures() const{ return m_detectedSignatures; }
81 inline bool DetectedSignaturesHasBeenSet() const { return m_detectedSignaturesHasBeenSet; }
82 inline void SetDetectedSignatures(const Aws::Vector<DetectedSignature>& value) { m_detectedSignaturesHasBeenSet = true; m_detectedSignatures = value; }
83 inline void SetDetectedSignatures(Aws::Vector<DetectedSignature>&& value) { m_detectedSignaturesHasBeenSet = true; m_detectedSignatures = std::move(value); }
86 inline DocumentGroup& AddDetectedSignatures(const DetectedSignature& value) { m_detectedSignaturesHasBeenSet = true; m_detectedSignatures.push_back(value); return *this; }
87 inline DocumentGroup& AddDetectedSignatures(DetectedSignature&& value) { m_detectedSignaturesHasBeenSet = true; m_detectedSignatures.push_back(std::move(value)); return *this; }
89
91
94 inline const Aws::Vector<UndetectedSignature>& GetUndetectedSignatures() const{ return m_undetectedSignatures; }
95 inline bool UndetectedSignaturesHasBeenSet() const { return m_undetectedSignaturesHasBeenSet; }
96 inline void SetUndetectedSignatures(const Aws::Vector<UndetectedSignature>& value) { m_undetectedSignaturesHasBeenSet = true; m_undetectedSignatures = value; }
97 inline void SetUndetectedSignatures(Aws::Vector<UndetectedSignature>&& value) { m_undetectedSignaturesHasBeenSet = true; m_undetectedSignatures = std::move(value); }
100 inline DocumentGroup& AddUndetectedSignatures(const UndetectedSignature& value) { m_undetectedSignaturesHasBeenSet = true; m_undetectedSignatures.push_back(value); return *this; }
101 inline DocumentGroup& AddUndetectedSignatures(UndetectedSignature&& value) { m_undetectedSignaturesHasBeenSet = true; m_undetectedSignatures.push_back(std::move(value)); return *this; }
103 private:
104
105 Aws::String m_type;
106 bool m_typeHasBeenSet = false;
107
108 Aws::Vector<SplitDocument> m_splitDocuments;
109 bool m_splitDocumentsHasBeenSet = false;
110
111 Aws::Vector<DetectedSignature> m_detectedSignatures;
112 bool m_detectedSignaturesHasBeenSet = false;
113
114 Aws::Vector<UndetectedSignature> m_undetectedSignatures;
115 bool m_undetectedSignaturesHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Textract
120} // namespace Aws
void SetDetectedSignatures(Aws::Vector< DetectedSignature > &&value)
const Aws::Vector< DetectedSignature > & GetDetectedSignatures() const
DocumentGroup & AddSplitDocuments(const SplitDocument &value)
DocumentGroup & WithDetectedSignatures(const Aws::Vector< DetectedSignature > &value)
DocumentGroup & AddUndetectedSignatures(const UndetectedSignature &value)
void SetSplitDocuments(Aws::Vector< SplitDocument > &&value)
DocumentGroup & AddDetectedSignatures(DetectedSignature &&value)
DocumentGroup & WithSplitDocuments(const Aws::Vector< SplitDocument > &value)
DocumentGroup & WithSplitDocuments(Aws::Vector< SplitDocument > &&value)
void SetType(Aws::String &&value)
void SetDetectedSignatures(const Aws::Vector< DetectedSignature > &value)
void SetUndetectedSignatures(const Aws::Vector< UndetectedSignature > &value)
DocumentGroup & AddUndetectedSignatures(UndetectedSignature &&value)
DocumentGroup & WithType(Aws::String &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentGroup & WithType(const Aws::String &value)
DocumentGroup & WithUndetectedSignatures(const Aws::Vector< UndetectedSignature > &value)
void SetSplitDocuments(const Aws::Vector< SplitDocument > &value)
DocumentGroup & AddSplitDocuments(SplitDocument &&value)
DocumentGroup & WithDetectedSignatures(Aws::Vector< DetectedSignature > &&value)
DocumentGroup & AddDetectedSignatures(const DetectedSignature &value)
const Aws::Vector< UndetectedSignature > & GetUndetectedSignatures() const
DocumentGroup & WithUndetectedSignatures(Aws::Vector< UndetectedSignature > &&value)
void SetUndetectedSignatures(Aws::Vector< UndetectedSignature > &&value)
void SetType(const Aws::String &value)
const Aws::Vector< SplitDocument > & GetSplitDocuments() const
AWS_TEXTRACT_API DocumentGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API DocumentGroup(Aws::Utils::Json::JsonView jsonValue)
void SetType(const char *value)
DocumentGroup & WithType(const char *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