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

The configuration for a section-based layout.

See Also:

AWS * API Reference

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

A list of header section configurations.

*/ inline const Aws::Vector& GetHeaderSections() const{ return m_headerSections; } /** *

A list of header section configurations.

*/ inline bool HeaderSectionsHasBeenSet() const { return m_headerSectionsHasBeenSet; } /** *

A list of header section configurations.

*/ inline void SetHeaderSections(const Aws::Vector& value) { m_headerSectionsHasBeenSet = true; m_headerSections = value; } /** *

A list of header section configurations.

*/ inline void SetHeaderSections(Aws::Vector&& value) { m_headerSectionsHasBeenSet = true; m_headerSections = std::move(value); } /** *

A list of header section configurations.

*/ inline SectionBasedLayoutConfiguration& WithHeaderSections(const Aws::Vector& value) { SetHeaderSections(value); return *this;} /** *

A list of header section configurations.

*/ inline SectionBasedLayoutConfiguration& WithHeaderSections(Aws::Vector&& value) { SetHeaderSections(std::move(value)); return *this;} /** *

A list of header section configurations.

*/ inline SectionBasedLayoutConfiguration& AddHeaderSections(const HeaderFooterSectionConfiguration& value) { m_headerSectionsHasBeenSet = true; m_headerSections.push_back(value); return *this; } /** *

A list of header section configurations.

*/ inline SectionBasedLayoutConfiguration& AddHeaderSections(HeaderFooterSectionConfiguration&& value) { m_headerSectionsHasBeenSet = true; m_headerSections.push_back(std::move(value)); return *this; } /** *

A list of body section configurations.

*/ inline const Aws::Vector& GetBodySections() const{ return m_bodySections; } /** *

A list of body section configurations.

*/ inline bool BodySectionsHasBeenSet() const { return m_bodySectionsHasBeenSet; } /** *

A list of body section configurations.

*/ inline void SetBodySections(const Aws::Vector& value) { m_bodySectionsHasBeenSet = true; m_bodySections = value; } /** *

A list of body section configurations.

*/ inline void SetBodySections(Aws::Vector&& value) { m_bodySectionsHasBeenSet = true; m_bodySections = std::move(value); } /** *

A list of body section configurations.

*/ inline SectionBasedLayoutConfiguration& WithBodySections(const Aws::Vector& value) { SetBodySections(value); return *this;} /** *

A list of body section configurations.

*/ inline SectionBasedLayoutConfiguration& WithBodySections(Aws::Vector&& value) { SetBodySections(std::move(value)); return *this;} /** *

A list of body section configurations.

*/ inline SectionBasedLayoutConfiguration& AddBodySections(const BodySectionConfiguration& value) { m_bodySectionsHasBeenSet = true; m_bodySections.push_back(value); return *this; } /** *

A list of body section configurations.

*/ inline SectionBasedLayoutConfiguration& AddBodySections(BodySectionConfiguration&& value) { m_bodySectionsHasBeenSet = true; m_bodySections.push_back(std::move(value)); return *this; } /** *

A list of footer section configurations.

*/ inline const Aws::Vector& GetFooterSections() const{ return m_footerSections; } /** *

A list of footer section configurations.

*/ inline bool FooterSectionsHasBeenSet() const { return m_footerSectionsHasBeenSet; } /** *

A list of footer section configurations.

*/ inline void SetFooterSections(const Aws::Vector& value) { m_footerSectionsHasBeenSet = true; m_footerSections = value; } /** *

A list of footer section configurations.

*/ inline void SetFooterSections(Aws::Vector&& value) { m_footerSectionsHasBeenSet = true; m_footerSections = std::move(value); } /** *

A list of footer section configurations.

*/ inline SectionBasedLayoutConfiguration& WithFooterSections(const Aws::Vector& value) { SetFooterSections(value); return *this;} /** *

A list of footer section configurations.

*/ inline SectionBasedLayoutConfiguration& WithFooterSections(Aws::Vector&& value) { SetFooterSections(std::move(value)); return *this;} /** *

A list of footer section configurations.

*/ inline SectionBasedLayoutConfiguration& AddFooterSections(const HeaderFooterSectionConfiguration& value) { m_footerSectionsHasBeenSet = true; m_footerSections.push_back(value); return *this; } /** *

A list of footer section configurations.

*/ inline SectionBasedLayoutConfiguration& AddFooterSections(HeaderFooterSectionConfiguration&& value) { m_footerSectionsHasBeenSet = true; m_footerSections.push_back(std::move(value)); return *this; } /** *

The options for the canvas of a section-based layout.

*/ inline const SectionBasedLayoutCanvasSizeOptions& GetCanvasSizeOptions() const{ return m_canvasSizeOptions; } /** *

The options for the canvas of a section-based layout.

*/ inline bool CanvasSizeOptionsHasBeenSet() const { return m_canvasSizeOptionsHasBeenSet; } /** *

The options for the canvas of a section-based layout.

*/ inline void SetCanvasSizeOptions(const SectionBasedLayoutCanvasSizeOptions& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = value; } /** *

The options for the canvas of a section-based layout.

*/ inline void SetCanvasSizeOptions(SectionBasedLayoutCanvasSizeOptions&& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = std::move(value); } /** *

The options for the canvas of a section-based layout.

*/ inline SectionBasedLayoutConfiguration& WithCanvasSizeOptions(const SectionBasedLayoutCanvasSizeOptions& value) { SetCanvasSizeOptions(value); return *this;} /** *

The options for the canvas of a section-based layout.

*/ inline SectionBasedLayoutConfiguration& WithCanvasSizeOptions(SectionBasedLayoutCanvasSizeOptions&& value) { SetCanvasSizeOptions(std::move(value)); return *this;} private: Aws::Vector m_headerSections; bool m_headerSectionsHasBeenSet = false; Aws::Vector m_bodySections; bool m_bodySectionsHasBeenSet = false; Aws::Vector m_footerSections; bool m_footerSectionsHasBeenSet = false; SectionBasedLayoutCanvasSizeOptions m_canvasSizeOptions; bool m_canvasSizeOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws