/** * 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 option that determines the text display size.

See Also:

* AWS * API Reference

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

The lexical name for the text size, proportional to its surrounding * context.

*/ inline const RelativeFontSize& GetRelative() const{ return m_relative; } /** *

The lexical name for the text size, proportional to its surrounding * context.

*/ inline bool RelativeHasBeenSet() const { return m_relativeHasBeenSet; } /** *

The lexical name for the text size, proportional to its surrounding * context.

*/ inline void SetRelative(const RelativeFontSize& value) { m_relativeHasBeenSet = true; m_relative = value; } /** *

The lexical name for the text size, proportional to its surrounding * context.

*/ inline void SetRelative(RelativeFontSize&& value) { m_relativeHasBeenSet = true; m_relative = std::move(value); } /** *

The lexical name for the text size, proportional to its surrounding * context.

*/ inline FontSize& WithRelative(const RelativeFontSize& value) { SetRelative(value); return *this;} /** *

The lexical name for the text size, proportional to its surrounding * context.

*/ inline FontSize& WithRelative(RelativeFontSize&& value) { SetRelative(std::move(value)); return *this;} private: RelativeFontSize m_relative; bool m_relativeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws