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

See Also:

AWS * API Reference

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

The layout configuration of a body section.

*/ inline const SectionLayoutConfiguration& GetLayout() const{ return m_layout; } /** *

The layout configuration of a body section.

*/ inline bool LayoutHasBeenSet() const { return m_layoutHasBeenSet; } /** *

The layout configuration of a body section.

*/ inline void SetLayout(const SectionLayoutConfiguration& value) { m_layoutHasBeenSet = true; m_layout = value; } /** *

The layout configuration of a body section.

*/ inline void SetLayout(SectionLayoutConfiguration&& value) { m_layoutHasBeenSet = true; m_layout = std::move(value); } /** *

The layout configuration of a body section.

*/ inline BodySectionContent& WithLayout(const SectionLayoutConfiguration& value) { SetLayout(value); return *this;} /** *

The layout configuration of a body section.

*/ inline BodySectionContent& WithLayout(SectionLayoutConfiguration&& value) { SetLayout(std::move(value)); return *this;} private: SectionLayoutConfiguration m_layout; bool m_layoutHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws