/** * 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 title label options for a visual.

See Also:

AWS * API Reference

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

The visibility of the title label.

*/ inline const Visibility& GetVisibility() const{ return m_visibility; } /** *

The visibility of the title label.

*/ inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; } /** *

The visibility of the title label.

*/ inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; } /** *

The visibility of the title label.

*/ inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); } /** *

The visibility of the title label.

*/ inline VisualTitleLabelOptions& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;} /** *

The visibility of the title label.

*/ inline VisualTitleLabelOptions& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;} /** *

The short text format of the title label, such as plain text or rich * text.

*/ inline const ShortFormatText& GetFormatText() const{ return m_formatText; } /** *

The short text format of the title label, such as plain text or rich * text.

*/ inline bool FormatTextHasBeenSet() const { return m_formatTextHasBeenSet; } /** *

The short text format of the title label, such as plain text or rich * text.

*/ inline void SetFormatText(const ShortFormatText& value) { m_formatTextHasBeenSet = true; m_formatText = value; } /** *

The short text format of the title label, such as plain text or rich * text.

*/ inline void SetFormatText(ShortFormatText&& value) { m_formatTextHasBeenSet = true; m_formatText = std::move(value); } /** *

The short text format of the title label, such as plain text or rich * text.

*/ inline VisualTitleLabelOptions& WithFormatText(const ShortFormatText& value) { SetFormatText(value); return *this;} /** *

The short text format of the title label, such as plain text or rich * text.

*/ inline VisualTitleLabelOptions& WithFormatText(ShortFormatText&& value) { SetFormatText(std::move(value)); return *this;} private: Visibility m_visibility; bool m_visibilityHasBeenSet = false; ShortFormatText m_formatText; bool m_formatTextHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws