AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LendingSummary.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/textract/model/DocumentGroup.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Textract
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_TEXTRACT_API LendingSummary() = default;
38 AWS_TEXTRACT_API LendingSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<DocumentGroup>& GetDocumentGroups() const { return m_documentGroups; }
48 inline bool DocumentGroupsHasBeenSet() const { return m_documentGroupsHasBeenSet; }
49 template<typename DocumentGroupsT = Aws::Vector<DocumentGroup>>
50 void SetDocumentGroups(DocumentGroupsT&& value) { m_documentGroupsHasBeenSet = true; m_documentGroups = std::forward<DocumentGroupsT>(value); }
51 template<typename DocumentGroupsT = Aws::Vector<DocumentGroup>>
52 LendingSummary& WithDocumentGroups(DocumentGroupsT&& value) { SetDocumentGroups(std::forward<DocumentGroupsT>(value)); return *this;}
53 template<typename DocumentGroupsT = DocumentGroup>
54 LendingSummary& AddDocumentGroups(DocumentGroupsT&& value) { m_documentGroupsHasBeenSet = true; m_documentGroups.emplace_back(std::forward<DocumentGroupsT>(value)); return *this; }
56
58
61 inline const Aws::Vector<Aws::String>& GetUndetectedDocumentTypes() const { return m_undetectedDocumentTypes; }
62 inline bool UndetectedDocumentTypesHasBeenSet() const { return m_undetectedDocumentTypesHasBeenSet; }
63 template<typename UndetectedDocumentTypesT = Aws::Vector<Aws::String>>
64 void SetUndetectedDocumentTypes(UndetectedDocumentTypesT&& value) { m_undetectedDocumentTypesHasBeenSet = true; m_undetectedDocumentTypes = std::forward<UndetectedDocumentTypesT>(value); }
65 template<typename UndetectedDocumentTypesT = Aws::Vector<Aws::String>>
66 LendingSummary& WithUndetectedDocumentTypes(UndetectedDocumentTypesT&& value) { SetUndetectedDocumentTypes(std::forward<UndetectedDocumentTypesT>(value)); return *this;}
67 template<typename UndetectedDocumentTypesT = Aws::String>
68 LendingSummary& AddUndetectedDocumentTypes(UndetectedDocumentTypesT&& value) { m_undetectedDocumentTypesHasBeenSet = true; m_undetectedDocumentTypes.emplace_back(std::forward<UndetectedDocumentTypesT>(value)); return *this; }
70 private:
71
72 Aws::Vector<DocumentGroup> m_documentGroups;
73 bool m_documentGroupsHasBeenSet = false;
74
75 Aws::Vector<Aws::String> m_undetectedDocumentTypes;
76 bool m_undetectedDocumentTypesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Textract
81} // namespace Aws
void SetUndetectedDocumentTypes(UndetectedDocumentTypesT &&value)
LendingSummary & WithDocumentGroups(DocumentGroupsT &&value)
LendingSummary & WithUndetectedDocumentTypes(UndetectedDocumentTypesT &&value)
void SetDocumentGroups(DocumentGroupsT &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TEXTRACT_API LendingSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API LendingSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API LendingSummary()=default
LendingSummary & AddDocumentGroups(DocumentGroupsT &&value)
LendingSummary & AddUndetectedDocumentTypes(UndetectedDocumentTypesT &&value)
const Aws::Vector< Aws::String > & GetUndetectedDocumentTypes() const
const Aws::Vector< DocumentGroup > & GetDocumentGroups() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue