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

Contains information regarding DocumentGroups and * UndetectedDocumentTypes.

See Also:

AWS * API Reference

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

Contains an array of all DocumentGroup objects.

*/ inline const Aws::Vector& GetDocumentGroups() const{ return m_documentGroups; } /** *

Contains an array of all DocumentGroup objects.

*/ inline bool DocumentGroupsHasBeenSet() const { return m_documentGroupsHasBeenSet; } /** *

Contains an array of all DocumentGroup objects.

*/ inline void SetDocumentGroups(const Aws::Vector& value) { m_documentGroupsHasBeenSet = true; m_documentGroups = value; } /** *

Contains an array of all DocumentGroup objects.

*/ inline void SetDocumentGroups(Aws::Vector&& value) { m_documentGroupsHasBeenSet = true; m_documentGroups = std::move(value); } /** *

Contains an array of all DocumentGroup objects.

*/ inline LendingSummary& WithDocumentGroups(const Aws::Vector& value) { SetDocumentGroups(value); return *this;} /** *

Contains an array of all DocumentGroup objects.

*/ inline LendingSummary& WithDocumentGroups(Aws::Vector&& value) { SetDocumentGroups(std::move(value)); return *this;} /** *

Contains an array of all DocumentGroup objects.

*/ inline LendingSummary& AddDocumentGroups(const DocumentGroup& value) { m_documentGroupsHasBeenSet = true; m_documentGroups.push_back(value); return *this; } /** *

Contains an array of all DocumentGroup objects.

*/ inline LendingSummary& AddDocumentGroups(DocumentGroup&& value) { m_documentGroupsHasBeenSet = true; m_documentGroups.push_back(std::move(value)); return *this; } /** *

UndetectedDocumentTypes.

*/ inline const Aws::Vector& GetUndetectedDocumentTypes() const{ return m_undetectedDocumentTypes; } /** *

UndetectedDocumentTypes.

*/ inline bool UndetectedDocumentTypesHasBeenSet() const { return m_undetectedDocumentTypesHasBeenSet; } /** *

UndetectedDocumentTypes.

*/ inline void SetUndetectedDocumentTypes(const Aws::Vector& value) { m_undetectedDocumentTypesHasBeenSet = true; m_undetectedDocumentTypes = value; } /** *

UndetectedDocumentTypes.

*/ inline void SetUndetectedDocumentTypes(Aws::Vector&& value) { m_undetectedDocumentTypesHasBeenSet = true; m_undetectedDocumentTypes = std::move(value); } /** *

UndetectedDocumentTypes.

*/ inline LendingSummary& WithUndetectedDocumentTypes(const Aws::Vector& value) { SetUndetectedDocumentTypes(value); return *this;} /** *

UndetectedDocumentTypes.

*/ inline LendingSummary& WithUndetectedDocumentTypes(Aws::Vector&& value) { SetUndetectedDocumentTypes(std::move(value)); return *this;} /** *

UndetectedDocumentTypes.

*/ inline LendingSummary& AddUndetectedDocumentTypes(const Aws::String& value) { m_undetectedDocumentTypesHasBeenSet = true; m_undetectedDocumentTypes.push_back(value); return *this; } /** *

UndetectedDocumentTypes.

*/ inline LendingSummary& AddUndetectedDocumentTypes(Aws::String&& value) { m_undetectedDocumentTypesHasBeenSet = true; m_undetectedDocumentTypes.push_back(std::move(value)); return *this; } /** *

UndetectedDocumentTypes.

*/ inline LendingSummary& AddUndetectedDocumentTypes(const char* value) { m_undetectedDocumentTypesHasBeenSet = true; m_undetectedDocumentTypes.push_back(value); return *this; } private: Aws::Vector m_documentGroups; bool m_documentGroupsHasBeenSet = false; Aws::Vector m_undetectedDocumentTypes; bool m_undetectedDocumentTypesHasBeenSet = false; }; } // namespace Model } // namespace Textract } // namespace Aws