/** * 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 after a section.

See Also:

* AWS * API Reference

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

The option that enables or disables a page break at the end of a section.

*/ inline const SectionPageBreakStatus& GetStatus() const{ return m_status; } /** *

The option that enables or disables a page break at the end of a section.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The option that enables or disables a page break at the end of a section.

*/ inline void SetStatus(const SectionPageBreakStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The option that enables or disables a page break at the end of a section.

*/ inline void SetStatus(SectionPageBreakStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The option that enables or disables a page break at the end of a section.

*/ inline SectionAfterPageBreak& WithStatus(const SectionPageBreakStatus& value) { SetStatus(value); return *this;} /** *

The option that enables or disables a page break at the end of a section.

*/ inline SectionAfterPageBreak& WithStatus(SectionPageBreakStatus&& value) { SetStatus(std::move(value)); return *this;} private: SectionPageBreakStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws