AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
LendingSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/textract/Textract_EXPORTS.h>
10#include <aws/textract/model/DocumentGroup.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Textract {
22namespace Model {
23
31 public:
32 AWS_TEXTRACT_API LendingSummary() = default;
33 AWS_TEXTRACT_API LendingSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<DocumentGroup>& GetDocumentGroups() const { return m_documentGroups; }
42 inline bool DocumentGroupsHasBeenSet() const { return m_documentGroupsHasBeenSet; }
43 template <typename DocumentGroupsT = Aws::Vector<DocumentGroup>>
44 void SetDocumentGroups(DocumentGroupsT&& value) {
45 m_documentGroupsHasBeenSet = true;
46 m_documentGroups = std::forward<DocumentGroupsT>(value);
47 }
48 template <typename DocumentGroupsT = Aws::Vector<DocumentGroup>>
49 LendingSummary& WithDocumentGroups(DocumentGroupsT&& value) {
50 SetDocumentGroups(std::forward<DocumentGroupsT>(value));
51 return *this;
52 }
53 template <typename DocumentGroupsT = DocumentGroup>
54 LendingSummary& AddDocumentGroups(DocumentGroupsT&& value) {
55 m_documentGroupsHasBeenSet = true;
56 m_documentGroups.emplace_back(std::forward<DocumentGroupsT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Vector<Aws::String>& GetUndetectedDocumentTypes() const { return m_undetectedDocumentTypes; }
66 inline bool UndetectedDocumentTypesHasBeenSet() const { return m_undetectedDocumentTypesHasBeenSet; }
67 template <typename UndetectedDocumentTypesT = Aws::Vector<Aws::String>>
68 void SetUndetectedDocumentTypes(UndetectedDocumentTypesT&& value) {
69 m_undetectedDocumentTypesHasBeenSet = true;
70 m_undetectedDocumentTypes = std::forward<UndetectedDocumentTypesT>(value);
71 }
72 template <typename UndetectedDocumentTypesT = Aws::Vector<Aws::String>>
73 LendingSummary& WithUndetectedDocumentTypes(UndetectedDocumentTypesT&& value) {
74 SetUndetectedDocumentTypes(std::forward<UndetectedDocumentTypesT>(value));
75 return *this;
76 }
77 template <typename UndetectedDocumentTypesT = Aws::String>
78 LendingSummary& AddUndetectedDocumentTypes(UndetectedDocumentTypesT&& value) {
79 m_undetectedDocumentTypesHasBeenSet = true;
80 m_undetectedDocumentTypes.emplace_back(std::forward<UndetectedDocumentTypesT>(value));
81 return *this;
82 }
84 private:
85 Aws::Vector<DocumentGroup> m_documentGroups;
86
87 Aws::Vector<Aws::String> m_undetectedDocumentTypes;
88 bool m_documentGroupsHasBeenSet = false;
89 bool m_undetectedDocumentTypesHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace Textract
94} // 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