AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SplitDocument.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Textract
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_TEXTRACT_API SplitDocument();
36 AWS_TEXTRACT_API SplitDocument(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetIndex() const{ return m_index; }
46 inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; }
47 inline void SetIndex(int value) { m_indexHasBeenSet = true; m_index = value; }
48 inline SplitDocument& WithIndex(int value) { SetIndex(value); return *this;}
50
52
56 inline const Aws::Vector<int>& GetPages() const{ return m_pages; }
57 inline bool PagesHasBeenSet() const { return m_pagesHasBeenSet; }
58 inline void SetPages(const Aws::Vector<int>& value) { m_pagesHasBeenSet = true; m_pages = value; }
59 inline void SetPages(Aws::Vector<int>&& value) { m_pagesHasBeenSet = true; m_pages = std::move(value); }
60 inline SplitDocument& WithPages(const Aws::Vector<int>& value) { SetPages(value); return *this;}
61 inline SplitDocument& WithPages(Aws::Vector<int>&& value) { SetPages(std::move(value)); return *this;}
62 inline SplitDocument& AddPages(int value) { m_pagesHasBeenSet = true; m_pages.push_back(value); return *this; }
64 private:
65
66 int m_index;
67 bool m_indexHasBeenSet = false;
68
69 Aws::Vector<int> m_pages;
70 bool m_pagesHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Textract
75} // namespace Aws
const Aws::Vector< int > & GetPages() const
SplitDocument & WithPages(Aws::Vector< int > &&value)
SplitDocument & AddPages(int value)
SplitDocument & WithPages(const Aws::Vector< int > &value)
void SetPages(Aws::Vector< int > &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
SplitDocument & WithIndex(int value)
AWS_TEXTRACT_API SplitDocument(Aws::Utils::Json::JsonView jsonValue)
void SetPages(const Aws::Vector< int > &value)
AWS_TEXTRACT_API SplitDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue