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

See Also:

AWS * API Reference

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

The unique identifier of a body section.

*/ inline const Aws::String& GetSectionId() const{ return m_sectionId; } /** *

The unique identifier of a body section.

*/ inline bool SectionIdHasBeenSet() const { return m_sectionIdHasBeenSet; } /** *

The unique identifier of a body section.

*/ inline void SetSectionId(const Aws::String& value) { m_sectionIdHasBeenSet = true; m_sectionId = value; } /** *

The unique identifier of a body section.

*/ inline void SetSectionId(Aws::String&& value) { m_sectionIdHasBeenSet = true; m_sectionId = std::move(value); } /** *

The unique identifier of a body section.

*/ inline void SetSectionId(const char* value) { m_sectionIdHasBeenSet = true; m_sectionId.assign(value); } /** *

The unique identifier of a body section.

*/ inline BodySectionConfiguration& WithSectionId(const Aws::String& value) { SetSectionId(value); return *this;} /** *

The unique identifier of a body section.

*/ inline BodySectionConfiguration& WithSectionId(Aws::String&& value) { SetSectionId(std::move(value)); return *this;} /** *

The unique identifier of a body section.

*/ inline BodySectionConfiguration& WithSectionId(const char* value) { SetSectionId(value); return *this;} /** *

The configuration of content in a body section.

*/ inline const BodySectionContent& GetContent() const{ return m_content; } /** *

The configuration of content in a body section.

*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *

The configuration of content in a body section.

*/ inline void SetContent(const BodySectionContent& value) { m_contentHasBeenSet = true; m_content = value; } /** *

The configuration of content in a body section.

*/ inline void SetContent(BodySectionContent&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *

The configuration of content in a body section.

*/ inline BodySectionConfiguration& WithContent(const BodySectionContent& value) { SetContent(value); return *this;} /** *

The configuration of content in a body section.

*/ inline BodySectionConfiguration& WithContent(BodySectionContent&& value) { SetContent(std::move(value)); return *this;} /** *

The style options of a body section.

*/ inline const SectionStyle& GetStyle() const{ return m_style; } /** *

The style options of a body section.

*/ inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; } /** *

The style options of a body section.

*/ inline void SetStyle(const SectionStyle& value) { m_styleHasBeenSet = true; m_style = value; } /** *

The style options of a body section.

*/ inline void SetStyle(SectionStyle&& value) { m_styleHasBeenSet = true; m_style = std::move(value); } /** *

The style options of a body section.

*/ inline BodySectionConfiguration& WithStyle(const SectionStyle& value) { SetStyle(value); return *this;} /** *

The style options of a body section.

*/ inline BodySectionConfiguration& WithStyle(SectionStyle&& value) { SetStyle(std::move(value)); return *this;} /** *

The configuration of a page break for a section.

*/ inline const SectionPageBreakConfiguration& GetPageBreakConfiguration() const{ return m_pageBreakConfiguration; } /** *

The configuration of a page break for a section.

*/ inline bool PageBreakConfigurationHasBeenSet() const { return m_pageBreakConfigurationHasBeenSet; } /** *

The configuration of a page break for a section.

*/ inline void SetPageBreakConfiguration(const SectionPageBreakConfiguration& value) { m_pageBreakConfigurationHasBeenSet = true; m_pageBreakConfiguration = value; } /** *

The configuration of a page break for a section.

*/ inline void SetPageBreakConfiguration(SectionPageBreakConfiguration&& value) { m_pageBreakConfigurationHasBeenSet = true; m_pageBreakConfiguration = std::move(value); } /** *

The configuration of a page break for a section.

*/ inline BodySectionConfiguration& WithPageBreakConfiguration(const SectionPageBreakConfiguration& value) { SetPageBreakConfiguration(value); return *this;} /** *

The configuration of a page break for a section.

*/ inline BodySectionConfiguration& WithPageBreakConfiguration(SectionPageBreakConfiguration&& value) { SetPageBreakConfiguration(std::move(value)); return *this;} private: Aws::String m_sectionId; bool m_sectionIdHasBeenSet = false; BodySectionContent m_content; bool m_contentHasBeenSet = false; SectionStyle m_style; bool m_styleHasBeenSet = false; SectionPageBreakConfiguration m_pageBreakConfiguration; bool m_pageBreakConfigurationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws