/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Textract { namespace Model { /** *

Summary information about documents grouped by the same document * type.

See Also:

AWS * API Reference

*/ class DocumentGroup { public: AWS_TEXTRACT_API DocumentGroup(); AWS_TEXTRACT_API DocumentGroup(Aws::Utils::Json::JsonView jsonValue); AWS_TEXTRACT_API DocumentGroup& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The type of document that Amazon Textract has detected. See Analyze * Lending Response Objects for a list of all types returned by Textract.

*/ inline const Aws::String& GetType() const{ return m_type; } /** *

The type of document that Amazon Textract has detected. See Analyze * Lending Response Objects for a list of all types returned by Textract.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of document that Amazon Textract has detected. See Analyze * Lending Response Objects for a list of all types returned by Textract.

*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of document that Amazon Textract has detected. See Analyze * Lending Response Objects for a list of all types returned by Textract.

*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of document that Amazon Textract has detected. See Analyze * Lending Response Objects for a list of all types returned by Textract.

*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *

The type of document that Amazon Textract has detected. See Analyze * Lending Response Objects for a list of all types returned by Textract.

*/ inline DocumentGroup& WithType(const Aws::String& value) { SetType(value); return *this;} /** *

The type of document that Amazon Textract has detected. See Analyze * Lending Response Objects for a list of all types returned by Textract.

*/ inline DocumentGroup& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *

The type of document that Amazon Textract has detected. See Analyze * Lending Response Objects for a list of all types returned by Textract.

*/ inline DocumentGroup& WithType(const char* value) { SetType(value); return *this;} /** *

An array that contains information about the pages of a document, defined by * logical boundary.

*/ inline const Aws::Vector& GetSplitDocuments() const{ return m_splitDocuments; } /** *

An array that contains information about the pages of a document, defined by * logical boundary.

*/ inline bool SplitDocumentsHasBeenSet() const { return m_splitDocumentsHasBeenSet; } /** *

An array that contains information about the pages of a document, defined by * logical boundary.

*/ inline void SetSplitDocuments(const Aws::Vector& value) { m_splitDocumentsHasBeenSet = true; m_splitDocuments = value; } /** *

An array that contains information about the pages of a document, defined by * logical boundary.

*/ inline void SetSplitDocuments(Aws::Vector&& value) { m_splitDocumentsHasBeenSet = true; m_splitDocuments = std::move(value); } /** *

An array that contains information about the pages of a document, defined by * logical boundary.

*/ inline DocumentGroup& WithSplitDocuments(const Aws::Vector& value) { SetSplitDocuments(value); return *this;} /** *

An array that contains information about the pages of a document, defined by * logical boundary.

*/ inline DocumentGroup& WithSplitDocuments(Aws::Vector&& value) { SetSplitDocuments(std::move(value)); return *this;} /** *

An array that contains information about the pages of a document, defined by * logical boundary.

*/ inline DocumentGroup& AddSplitDocuments(const SplitDocument& value) { m_splitDocumentsHasBeenSet = true; m_splitDocuments.push_back(value); return *this; } /** *

An array that contains information about the pages of a document, defined by * logical boundary.

*/ inline DocumentGroup& AddSplitDocuments(SplitDocument&& value) { m_splitDocumentsHasBeenSet = true; m_splitDocuments.push_back(std::move(value)); return *this; } /** *

A list of the detected signatures found in a document group.

*/ inline const Aws::Vector& GetDetectedSignatures() const{ return m_detectedSignatures; } /** *

A list of the detected signatures found in a document group.

*/ inline bool DetectedSignaturesHasBeenSet() const { return m_detectedSignaturesHasBeenSet; } /** *

A list of the detected signatures found in a document group.

*/ inline void SetDetectedSignatures(const Aws::Vector& value) { m_detectedSignaturesHasBeenSet = true; m_detectedSignatures = value; } /** *

A list of the detected signatures found in a document group.

*/ inline void SetDetectedSignatures(Aws::Vector&& value) { m_detectedSignaturesHasBeenSet = true; m_detectedSignatures = std::move(value); } /** *

A list of the detected signatures found in a document group.

*/ inline DocumentGroup& WithDetectedSignatures(const Aws::Vector& value) { SetDetectedSignatures(value); return *this;} /** *

A list of the detected signatures found in a document group.

*/ inline DocumentGroup& WithDetectedSignatures(Aws::Vector&& value) { SetDetectedSignatures(std::move(value)); return *this;} /** *

A list of the detected signatures found in a document group.

*/ inline DocumentGroup& AddDetectedSignatures(const DetectedSignature& value) { m_detectedSignaturesHasBeenSet = true; m_detectedSignatures.push_back(value); return *this; } /** *

A list of the detected signatures found in a document group.

*/ inline DocumentGroup& AddDetectedSignatures(DetectedSignature&& value) { m_detectedSignaturesHasBeenSet = true; m_detectedSignatures.push_back(std::move(value)); return *this; } /** *

A list of any expected signatures not found in a document group.

*/ inline const Aws::Vector& GetUndetectedSignatures() const{ return m_undetectedSignatures; } /** *

A list of any expected signatures not found in a document group.

*/ inline bool UndetectedSignaturesHasBeenSet() const { return m_undetectedSignaturesHasBeenSet; } /** *

A list of any expected signatures not found in a document group.

*/ inline void SetUndetectedSignatures(const Aws::Vector& value) { m_undetectedSignaturesHasBeenSet = true; m_undetectedSignatures = value; } /** *

A list of any expected signatures not found in a document group.

*/ inline void SetUndetectedSignatures(Aws::Vector&& value) { m_undetectedSignaturesHasBeenSet = true; m_undetectedSignatures = std::move(value); } /** *

A list of any expected signatures not found in a document group.

*/ inline DocumentGroup& WithUndetectedSignatures(const Aws::Vector& value) { SetUndetectedSignatures(value); return *this;} /** *

A list of any expected signatures not found in a document group.

*/ inline DocumentGroup& WithUndetectedSignatures(Aws::Vector&& value) { SetUndetectedSignatures(std::move(value)); return *this;} /** *

A list of any expected signatures not found in a document group.

*/ inline DocumentGroup& AddUndetectedSignatures(const UndetectedSignature& value) { m_undetectedSignaturesHasBeenSet = true; m_undetectedSignatures.push_back(value); return *this; } /** *

A list of any expected signatures not found in a document group.

*/ inline DocumentGroup& AddUndetectedSignatures(UndetectedSignature&& value) { m_undetectedSignaturesHasBeenSet = true; m_undetectedSignatures.push_back(std::move(value)); return *this; } private: Aws::String m_type; bool m_typeHasBeenSet = false; Aws::Vector m_splitDocuments; bool m_splitDocumentsHasBeenSet = false; Aws::Vector m_detectedSignatures; bool m_detectedSignaturesHasBeenSet = false; Aws::Vector m_undetectedSignatures; bool m_undetectedSignaturesHasBeenSet = false; }; } // namespace Model } // namespace Textract } // namespace Aws