/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The pagination configuration for a table visual or boxplot.

See * Also:

AWS * API Reference

*/ class PaginationConfiguration { public: AWS_QUICKSIGHT_API PaginationConfiguration(); AWS_QUICKSIGHT_API PaginationConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API PaginationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Indicates how many items render in one page.

*/ inline long long GetPageSize() const{ return m_pageSize; } /** *

Indicates how many items render in one page.

*/ inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; } /** *

Indicates how many items render in one page.

*/ inline void SetPageSize(long long value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } /** *

Indicates how many items render in one page.

*/ inline PaginationConfiguration& WithPageSize(long long value) { SetPageSize(value); return *this;} /** *

Indicates the page number.

*/ inline long long GetPageNumber() const{ return m_pageNumber; } /** *

Indicates the page number.

*/ inline bool PageNumberHasBeenSet() const { return m_pageNumberHasBeenSet; } /** *

Indicates the page number.

*/ inline void SetPageNumber(long long value) { m_pageNumberHasBeenSet = true; m_pageNumber = value; } /** *

Indicates the page number.

*/ inline PaginationConfiguration& WithPageNumber(long long value) { SetPageNumber(value); return *this;} private: long long m_pageSize; bool m_pageSizeHasBeenSet = false; long long m_pageNumber; bool m_pageNumberHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws