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

The configuration of a page break for a section.

See Also:

* AWS * API Reference

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

The configuration of a page break after a section.

*/ inline const SectionAfterPageBreak& GetAfter() const{ return m_after; } /** *

The configuration of a page break after a section.

*/ inline bool AfterHasBeenSet() const { return m_afterHasBeenSet; } /** *

The configuration of a page break after a section.

*/ inline void SetAfter(const SectionAfterPageBreak& value) { m_afterHasBeenSet = true; m_after = value; } /** *

The configuration of a page break after a section.

*/ inline void SetAfter(SectionAfterPageBreak&& value) { m_afterHasBeenSet = true; m_after = std::move(value); } /** *

The configuration of a page break after a section.

*/ inline SectionPageBreakConfiguration& WithAfter(const SectionAfterPageBreak& value) { SetAfter(value); return *this;} /** *

The configuration of a page break after a section.

*/ inline SectionPageBreakConfiguration& WithAfter(SectionAfterPageBreak&& value) { SetAfter(std::move(value)); return *this;} private: SectionAfterPageBreak m_after; bool m_afterHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws