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

See Also:

AWS * API Reference

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

The visibility of the subtitle label.

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

The visibility of the subtitle label.

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

The visibility of the subtitle label.

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

The visibility of the subtitle label.

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

The visibility of the subtitle label.

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

The visibility of the subtitle label.

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

The long text format of the subtitle label, such as plain text or rich * text.

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

The long text format of the subtitle label, such as plain text or rich * text.

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

The long text format of the subtitle label, such as plain text or rich * text.

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

The long text format of the subtitle label, such as plain text or rich * text.

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

The long text format of the subtitle label, such as plain text or rich * text.

*/ inline VisualSubtitleLabelOptions& WithFormatText(const LongFormatText& value) { SetFormatText(value); return *this;} /** *

The long text format of the subtitle label, such as plain text or rich * text.

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