AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
PaginationConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace QuickSight {
17namespace Model {
18
26 public:
27 AWS_QUICKSIGHT_API PaginationConfiguration() = default;
30 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline long long GetPageSize() const { return m_pageSize; }
37 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
38 inline void SetPageSize(long long value) {
39 m_pageSizeHasBeenSet = true;
40 m_pageSize = value;
41 }
42 inline PaginationConfiguration& WithPageSize(long long value) {
43 SetPageSize(value);
44 return *this;
45 }
47
49
52 inline long long GetPageNumber() const { return m_pageNumber; }
53 inline bool PageNumberHasBeenSet() const { return m_pageNumberHasBeenSet; }
54 inline void SetPageNumber(long long value) {
55 m_pageNumberHasBeenSet = true;
56 m_pageNumber = value;
57 }
58 inline PaginationConfiguration& WithPageNumber(long long value) {
59 SetPageNumber(value);
60 return *this;
61 }
63 private:
64 long long m_pageSize{0};
65
66 long long m_pageNumber{0};
67 bool m_pageSizeHasBeenSet = false;
68 bool m_pageNumberHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace QuickSight
73} // namespace Aws
AWS_QUICKSIGHT_API PaginationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PaginationConfiguration & WithPageNumber(long long value)
PaginationConfiguration & WithPageSize(long long value)
AWS_QUICKSIGHT_API PaginationConfiguration()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API PaginationConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue