AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LendingResult.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/model/PageClassification.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/textract/model/Extraction.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 LendingResult();
38 AWS_TEXTRACT_API LendingResult(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline int GetPage() const{ return m_page; }
48 inline bool PageHasBeenSet() const { return m_pageHasBeenSet; }
49 inline void SetPage(int value) { m_pageHasBeenSet = true; m_page = value; }
50 inline LendingResult& WithPage(int value) { SetPage(value); return *this;}
52
54
57 inline const PageClassification& GetPageClassification() const{ return m_pageClassification; }
58 inline bool PageClassificationHasBeenSet() const { return m_pageClassificationHasBeenSet; }
59 inline void SetPageClassification(const PageClassification& value) { m_pageClassificationHasBeenSet = true; m_pageClassification = value; }
60 inline void SetPageClassification(PageClassification&& value) { m_pageClassificationHasBeenSet = true; m_pageClassification = std::move(value); }
62 inline LendingResult& WithPageClassification(PageClassification&& value) { SetPageClassification(std::move(value)); return *this;}
64
66
70 inline const Aws::Vector<Extraction>& GetExtractions() const{ return m_extractions; }
71 inline bool ExtractionsHasBeenSet() const { return m_extractionsHasBeenSet; }
72 inline void SetExtractions(const Aws::Vector<Extraction>& value) { m_extractionsHasBeenSet = true; m_extractions = value; }
73 inline void SetExtractions(Aws::Vector<Extraction>&& value) { m_extractionsHasBeenSet = true; m_extractions = std::move(value); }
74 inline LendingResult& WithExtractions(const Aws::Vector<Extraction>& value) { SetExtractions(value); return *this;}
75 inline LendingResult& WithExtractions(Aws::Vector<Extraction>&& value) { SetExtractions(std::move(value)); return *this;}
76 inline LendingResult& AddExtractions(const Extraction& value) { m_extractionsHasBeenSet = true; m_extractions.push_back(value); return *this; }
77 inline LendingResult& AddExtractions(Extraction&& value) { m_extractionsHasBeenSet = true; m_extractions.push_back(std::move(value)); return *this; }
79 private:
80
81 int m_page;
82 bool m_pageHasBeenSet = false;
83
84 PageClassification m_pageClassification;
85 bool m_pageClassificationHasBeenSet = false;
86
87 Aws::Vector<Extraction> m_extractions;
88 bool m_extractionsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Textract
93} // namespace Aws
void SetExtractions(Aws::Vector< Extraction > &&value)
LendingResult & WithExtractions(const Aws::Vector< Extraction > &value)
AWS_TEXTRACT_API LendingResult(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API LendingResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Extraction > & GetExtractions() const
LendingResult & WithExtractions(Aws::Vector< Extraction > &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
LendingResult & AddExtractions(Extraction &&value)
void SetExtractions(const Aws::Vector< Extraction > &value)
void SetPageClassification(PageClassification &&value)
const PageClassification & GetPageClassification() const
void SetPageClassification(const PageClassification &value)
LendingResult & WithPage(int value)
LendingResult & AddExtractions(const Extraction &value)
LendingResult & WithPageClassification(PageClassification &&value)
LendingResult & WithPageClassification(const PageClassification &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue