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

Configures the display properties of the given text.

See Also:

* AWS * API Reference

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

The option that determines the text display size.

*/ inline const FontSize& GetFontSize() const{ return m_fontSize; } /** *

The option that determines the text display size.

*/ inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; } /** *

The option that determines the text display size.

*/ inline void SetFontSize(const FontSize& value) { m_fontSizeHasBeenSet = true; m_fontSize = value; } /** *

The option that determines the text display size.

*/ inline void SetFontSize(FontSize&& value) { m_fontSizeHasBeenSet = true; m_fontSize = std::move(value); } /** *

The option that determines the text display size.

*/ inline FontConfiguration& WithFontSize(const FontSize& value) { SetFontSize(value); return *this;} /** *

The option that determines the text display size.

*/ inline FontConfiguration& WithFontSize(FontSize&& value) { SetFontSize(std::move(value)); return *this;} /** *

Determines the appearance of decorative lines on the text.

*/ inline const FontDecoration& GetFontDecoration() const{ return m_fontDecoration; } /** *

Determines the appearance of decorative lines on the text.

*/ inline bool FontDecorationHasBeenSet() const { return m_fontDecorationHasBeenSet; } /** *

Determines the appearance of decorative lines on the text.

*/ inline void SetFontDecoration(const FontDecoration& value) { m_fontDecorationHasBeenSet = true; m_fontDecoration = value; } /** *

Determines the appearance of decorative lines on the text.

*/ inline void SetFontDecoration(FontDecoration&& value) { m_fontDecorationHasBeenSet = true; m_fontDecoration = std::move(value); } /** *

Determines the appearance of decorative lines on the text.

*/ inline FontConfiguration& WithFontDecoration(const FontDecoration& value) { SetFontDecoration(value); return *this;} /** *

Determines the appearance of decorative lines on the text.

*/ inline FontConfiguration& WithFontDecoration(FontDecoration&& value) { SetFontDecoration(std::move(value)); return *this;} /** *

Determines the color of the text.

*/ inline const Aws::String& GetFontColor() const{ return m_fontColor; } /** *

Determines the color of the text.

*/ inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; } /** *

Determines the color of the text.

*/ inline void SetFontColor(const Aws::String& value) { m_fontColorHasBeenSet = true; m_fontColor = value; } /** *

Determines the color of the text.

*/ inline void SetFontColor(Aws::String&& value) { m_fontColorHasBeenSet = true; m_fontColor = std::move(value); } /** *

Determines the color of the text.

*/ inline void SetFontColor(const char* value) { m_fontColorHasBeenSet = true; m_fontColor.assign(value); } /** *

Determines the color of the text.

*/ inline FontConfiguration& WithFontColor(const Aws::String& value) { SetFontColor(value); return *this;} /** *

Determines the color of the text.

*/ inline FontConfiguration& WithFontColor(Aws::String&& value) { SetFontColor(std::move(value)); return *this;} /** *

Determines the color of the text.

*/ inline FontConfiguration& WithFontColor(const char* value) { SetFontColor(value); return *this;} /** *

The option that determines the text display weight, or boldness.

*/ inline const FontWeight& GetFontWeight() const{ return m_fontWeight; } /** *

The option that determines the text display weight, or boldness.

*/ inline bool FontWeightHasBeenSet() const { return m_fontWeightHasBeenSet; } /** *

The option that determines the text display weight, or boldness.

*/ inline void SetFontWeight(const FontWeight& value) { m_fontWeightHasBeenSet = true; m_fontWeight = value; } /** *

The option that determines the text display weight, or boldness.

*/ inline void SetFontWeight(FontWeight&& value) { m_fontWeightHasBeenSet = true; m_fontWeight = std::move(value); } /** *

The option that determines the text display weight, or boldness.

*/ inline FontConfiguration& WithFontWeight(const FontWeight& value) { SetFontWeight(value); return *this;} /** *

The option that determines the text display weight, or boldness.

*/ inline FontConfiguration& WithFontWeight(FontWeight&& value) { SetFontWeight(std::move(value)); return *this;} /** *

Determines the text display face that is inherited by the given font * family.

*/ inline const FontStyle& GetFontStyle() const{ return m_fontStyle; } /** *

Determines the text display face that is inherited by the given font * family.

*/ inline bool FontStyleHasBeenSet() const { return m_fontStyleHasBeenSet; } /** *

Determines the text display face that is inherited by the given font * family.

*/ inline void SetFontStyle(const FontStyle& value) { m_fontStyleHasBeenSet = true; m_fontStyle = value; } /** *

Determines the text display face that is inherited by the given font * family.

*/ inline void SetFontStyle(FontStyle&& value) { m_fontStyleHasBeenSet = true; m_fontStyle = std::move(value); } /** *

Determines the text display face that is inherited by the given font * family.

*/ inline FontConfiguration& WithFontStyle(const FontStyle& value) { SetFontStyle(value); return *this;} /** *

Determines the text display face that is inherited by the given font * family.

*/ inline FontConfiguration& WithFontStyle(FontStyle&& value) { SetFontStyle(std::move(value)); return *this;} private: FontSize m_fontSize; bool m_fontSizeHasBeenSet = false; FontDecoration m_fontDecoration; bool m_fontDecorationHasBeenSet = false; Aws::String m_fontColor; bool m_fontColorHasBeenSet = false; FontWeight m_fontWeight; bool m_fontWeightHasBeenSet = false; FontStyle m_fontStyle; bool m_fontStyleHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws