AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDocumentGroups(const Aws::Vector<DocumentGroup>& value) { m_documentGroupsHasBeenSet = true; m_documentGroups = value; }
50 inline void SetDocumentGroups(Aws::Vector<DocumentGroup>&& value) { m_documentGroupsHasBeenSet = true; m_documentGroups = std::move(value); }
52 inline LendingSummary& WithDocumentGroups(Aws::Vector<DocumentGroup>&& value) { SetDocumentGroups(std::move(value)); return *this;}
53 inline LendingSummary& AddDocumentGroups(const DocumentGroup& value) { m_documentGroupsHasBeenSet = true; m_documentGroups.push_back(value); return *this; }
54 inline LendingSummary& AddDocumentGroups(DocumentGroup&& value) { m_documentGroupsHasBeenSet = true; m_documentGroups.push_back(std::move(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 inline void SetUndetectedDocumentTypes(const Aws::Vector<Aws::String>& value) { m_undetectedDocumentTypesHasBeenSet = true; m_undetectedDocumentTypes = value; }
64 inline void SetUndetectedDocumentTypes(Aws::Vector<Aws::String>&& value) { m_undetectedDocumentTypesHasBeenSet = true; m_undetectedDocumentTypes = std::move(value); }
67 inline LendingSummary& AddUndetectedDocumentTypes(const Aws::String& value) { m_undetectedDocumentTypesHasBeenSet = true; m_undetectedDocumentTypes.push_back(value); return *this; }
68 inline LendingSummary& AddUndetectedDocumentTypes(Aws::String&& value) { m_undetectedDocumentTypesHasBeenSet = true; m_undetectedDocumentTypes.push_back(std::move(value)); return *this; }
69 inline LendingSummary& AddUndetectedDocumentTypes(const char* value) { m_undetectedDocumentTypesHasBeenSet = true; m_undetectedDocumentTypes.push_back(value); return *this; }
71 private:
72
73 Aws::Vector<DocumentGroup> m_documentGroups;
74 bool m_documentGroupsHasBeenSet = false;
75
76 Aws::Vector<Aws::String> m_undetectedDocumentTypes;
77 bool m_undetectedDocumentTypesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Textract
82} // namespace Aws
LendingSummary & WithDocumentGroups(const Aws::Vector< DocumentGroup > &value)
LendingSummary & WithUndetectedDocumentTypes(const Aws::Vector< Aws::String > &value)
void SetUndetectedDocumentTypes(const Aws::Vector< Aws::String > &value)
LendingSummary & AddUndetectedDocumentTypes(const char *value)
LendingSummary & AddUndetectedDocumentTypes(Aws::String &&value)
void SetUndetectedDocumentTypes(Aws::Vector< Aws::String > &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDocumentGroups(Aws::Vector< DocumentGroup > &&value)
AWS_TEXTRACT_API LendingSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDocumentGroups(const Aws::Vector< DocumentGroup > &value)
AWS_TEXTRACT_API LendingSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LendingSummary & WithDocumentGroups(Aws::Vector< DocumentGroup > &&value)
LendingSummary & WithUndetectedDocumentTypes(Aws::Vector< Aws::String > &&value)
LendingSummary & AddDocumentGroups(const DocumentGroup &value)
const Aws::Vector< Aws::String > & GetUndetectedDocumentTypes() const
const Aws::Vector< DocumentGroup > & GetDocumentGroups() const
LendingSummary & AddDocumentGroups(DocumentGroup &&value)
LendingSummary & AddUndetectedDocumentTypes(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue