AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PageClassification.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/Prediction.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Textract
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_TEXTRACT_API PageClassification();
40 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<Prediction>& GetPageType() const{ return m_pageType; }
49 inline bool PageTypeHasBeenSet() const { return m_pageTypeHasBeenSet; }
50 inline void SetPageType(const Aws::Vector<Prediction>& value) { m_pageTypeHasBeenSet = true; m_pageType = value; }
51 inline void SetPageType(Aws::Vector<Prediction>&& value) { m_pageTypeHasBeenSet = true; m_pageType = std::move(value); }
52 inline PageClassification& WithPageType(const Aws::Vector<Prediction>& value) { SetPageType(value); return *this;}
53 inline PageClassification& WithPageType(Aws::Vector<Prediction>&& value) { SetPageType(std::move(value)); return *this;}
54 inline PageClassification& AddPageType(const Prediction& value) { m_pageTypeHasBeenSet = true; m_pageType.push_back(value); return *this; }
55 inline PageClassification& AddPageType(Prediction&& value) { m_pageTypeHasBeenSet = true; m_pageType.push_back(std::move(value)); return *this; }
57
59
63 inline const Aws::Vector<Prediction>& GetPageNumber() const{ return m_pageNumber; }
64 inline bool PageNumberHasBeenSet() const { return m_pageNumberHasBeenSet; }
65 inline void SetPageNumber(const Aws::Vector<Prediction>& value) { m_pageNumberHasBeenSet = true; m_pageNumber = value; }
66 inline void SetPageNumber(Aws::Vector<Prediction>&& value) { m_pageNumberHasBeenSet = true; m_pageNumber = std::move(value); }
67 inline PageClassification& WithPageNumber(const Aws::Vector<Prediction>& value) { SetPageNumber(value); return *this;}
68 inline PageClassification& WithPageNumber(Aws::Vector<Prediction>&& value) { SetPageNumber(std::move(value)); return *this;}
69 inline PageClassification& AddPageNumber(const Prediction& value) { m_pageNumberHasBeenSet = true; m_pageNumber.push_back(value); return *this; }
70 inline PageClassification& AddPageNumber(Prediction&& value) { m_pageNumberHasBeenSet = true; m_pageNumber.push_back(std::move(value)); return *this; }
72 private:
73
74 Aws::Vector<Prediction> m_pageType;
75 bool m_pageTypeHasBeenSet = false;
76
77 Aws::Vector<Prediction> m_pageNumber;
78 bool m_pageNumberHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Textract
83} // namespace Aws
PageClassification & WithPageType(Aws::Vector< Prediction > &&value)
PageClassification & WithPageNumber(Aws::Vector< Prediction > &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPageType(const Aws::Vector< Prediction > &value)
AWS_TEXTRACT_API PageClassification & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Prediction > & GetPageType() const
const Aws::Vector< Prediction > & GetPageNumber() const
PageClassification & AddPageNumber(const Prediction &value)
PageClassification & AddPageType(const Prediction &value)
void SetPageNumber(const Aws::Vector< Prediction > &value)
PageClassification & AddPageNumber(Prediction &&value)
AWS_TEXTRACT_API PageClassification(Aws::Utils::Json::JsonView jsonValue)
PageClassification & WithPageNumber(const Aws::Vector< Prediction > &value)
void SetPageNumber(Aws::Vector< Prediction > &&value)
void SetPageType(Aws::Vector< Prediction > &&value)
PageClassification & AddPageType(Prediction &&value)
PageClassification & WithPageType(const Aws::Vector< Prediction > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue