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