/** * 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 weight, or * boldness.

See Also:

AWS * API Reference

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

The lexical name for the level of boldness of the text display.

*/ inline const FontWeightName& GetName() const{ return m_name; } /** *

The lexical name for the level of boldness of the text display.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The lexical name for the level of boldness of the text display.

*/ inline void SetName(const FontWeightName& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The lexical name for the level of boldness of the text display.

*/ inline void SetName(FontWeightName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The lexical name for the level of boldness of the text display.

*/ inline FontWeight& WithName(const FontWeightName& value) { SetName(value); return *this;} /** *

The lexical name for the level of boldness of the text display.

*/ inline FontWeight& WithName(FontWeightName&& value) { SetName(std::move(value)); return *this;} private: FontWeightName m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws