AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Page.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/Range.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 Macie2
22{
23namespace Model
24{
25
32 class Page
33 {
34 public:
35 AWS_MACIE2_API Page();
36 AWS_MACIE2_API Page(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MACIE2_API Page& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Range& GetLineRange() const{ return m_lineRange; }
46 inline bool LineRangeHasBeenSet() const { return m_lineRangeHasBeenSet; }
47 inline void SetLineRange(const Range& value) { m_lineRangeHasBeenSet = true; m_lineRange = value; }
48 inline void SetLineRange(Range&& value) { m_lineRangeHasBeenSet = true; m_lineRange = std::move(value); }
49 inline Page& WithLineRange(const Range& value) { SetLineRange(value); return *this;}
50 inline Page& WithLineRange(Range&& value) { SetLineRange(std::move(value)); return *this;}
52
54
57 inline const Range& GetOffsetRange() const{ return m_offsetRange; }
58 inline bool OffsetRangeHasBeenSet() const { return m_offsetRangeHasBeenSet; }
59 inline void SetOffsetRange(const Range& value) { m_offsetRangeHasBeenSet = true; m_offsetRange = value; }
60 inline void SetOffsetRange(Range&& value) { m_offsetRangeHasBeenSet = true; m_offsetRange = std::move(value); }
61 inline Page& WithOffsetRange(const Range& value) { SetOffsetRange(value); return *this;}
62 inline Page& WithOffsetRange(Range&& value) { SetOffsetRange(std::move(value)); return *this;}
64
66
69 inline long long GetPageNumber() const{ return m_pageNumber; }
70 inline bool PageNumberHasBeenSet() const { return m_pageNumberHasBeenSet; }
71 inline void SetPageNumber(long long value) { m_pageNumberHasBeenSet = true; m_pageNumber = value; }
72 inline Page& WithPageNumber(long long value) { SetPageNumber(value); return *this;}
74 private:
75
76 Range m_lineRange;
77 bool m_lineRangeHasBeenSet = false;
78
79 Range m_offsetRange;
80 bool m_offsetRangeHasBeenSet = false;
81
82 long long m_pageNumber;
83 bool m_pageNumberHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Macie2
88} // namespace Aws
Page & WithLineRange(Range &&value)
Definition Page.h:50
AWS_MACIE2_API Page(Aws::Utils::Json::JsonView jsonValue)
Page & WithLineRange(const Range &value)
Definition Page.h:49
AWS_MACIE2_API Page()
long long GetPageNumber() const
Definition Page.h:69
Page & WithOffsetRange(const Range &value)
Definition Page.h:61
Page & WithPageNumber(long long value)
Definition Page.h:72
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOffsetRange(Range &&value)
Definition Page.h:60
const Range & GetOffsetRange() const
Definition Page.h:57
void SetLineRange(const Range &value)
Definition Page.h:47
const Range & GetLineRange() const
Definition Page.h:45
void SetPageNumber(long long value)
Definition Page.h:71
void SetLineRange(Range &&value)
Definition Page.h:48
bool PageNumberHasBeenSet() const
Definition Page.h:70
bool LineRangeHasBeenSet() const
Definition Page.h:46
void SetOffsetRange(const Range &value)
Definition Page.h:59
bool OffsetRangeHasBeenSet() const
Definition Page.h:58
Page & WithOffsetRange(Range &&value)
Definition Page.h:62
AWS_MACIE2_API Page & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue