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

The options that style a section.

See Also:

AWS * API Reference

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

The height of a section.

Heights can only be defined for header and * footer sections. The default height margin is 0.5 inches.

*/ inline const Aws::String& GetHeight() const{ return m_height; } /** *

The height of a section.

Heights can only be defined for header and * footer sections. The default height margin is 0.5 inches.

*/ inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; } /** *

The height of a section.

Heights can only be defined for header and * footer sections. The default height margin is 0.5 inches.

*/ inline void SetHeight(const Aws::String& value) { m_heightHasBeenSet = true; m_height = value; } /** *

The height of a section.

Heights can only be defined for header and * footer sections. The default height margin is 0.5 inches.

*/ inline void SetHeight(Aws::String&& value) { m_heightHasBeenSet = true; m_height = std::move(value); } /** *

The height of a section.

Heights can only be defined for header and * footer sections. The default height margin is 0.5 inches.

*/ inline void SetHeight(const char* value) { m_heightHasBeenSet = true; m_height.assign(value); } /** *

The height of a section.

Heights can only be defined for header and * footer sections. The default height margin is 0.5 inches.

*/ inline SectionStyle& WithHeight(const Aws::String& value) { SetHeight(value); return *this;} /** *

The height of a section.

Heights can only be defined for header and * footer sections. The default height margin is 0.5 inches.

*/ inline SectionStyle& WithHeight(Aws::String&& value) { SetHeight(std::move(value)); return *this;} /** *

The height of a section.

Heights can only be defined for header and * footer sections. The default height margin is 0.5 inches.

*/ inline SectionStyle& WithHeight(const char* value) { SetHeight(value); return *this;} /** *

The spacing between section content and its top, bottom, left, and right * edges.

There is no padding by default.

*/ inline const Spacing& GetPadding() const{ return m_padding; } /** *

The spacing between section content and its top, bottom, left, and right * edges.

There is no padding by default.

*/ inline bool PaddingHasBeenSet() const { return m_paddingHasBeenSet; } /** *

The spacing between section content and its top, bottom, left, and right * edges.

There is no padding by default.

*/ inline void SetPadding(const Spacing& value) { m_paddingHasBeenSet = true; m_padding = value; } /** *

The spacing between section content and its top, bottom, left, and right * edges.

There is no padding by default.

*/ inline void SetPadding(Spacing&& value) { m_paddingHasBeenSet = true; m_padding = std::move(value); } /** *

The spacing between section content and its top, bottom, left, and right * edges.

There is no padding by default.

*/ inline SectionStyle& WithPadding(const Spacing& value) { SetPadding(value); return *this;} /** *

The spacing between section content and its top, bottom, left, and right * edges.

There is no padding by default.

*/ inline SectionStyle& WithPadding(Spacing&& value) { SetPadding(std::move(value)); return *this;} private: Aws::String m_height; bool m_heightHasBeenSet = false; Spacing m_padding; bool m_paddingHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws