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

The share label options for the labels.

See Also:

AWS * API Reference

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

Determines whether or not the label is visible.

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

Determines whether or not the label is visible.

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

Determines whether or not the label is visible.

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

Determines whether or not the label is visible.

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

Determines whether or not the label is visible.

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

Determines whether or not the label is visible.

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

The font configuration of the label.

*/ inline const FontConfiguration& GetFontConfiguration() const{ return m_fontConfiguration; } /** *

The font configuration of the label.

*/ inline bool FontConfigurationHasBeenSet() const { return m_fontConfigurationHasBeenSet; } /** *

The font configuration of the label.

*/ inline void SetFontConfiguration(const FontConfiguration& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = value; } /** *

The font configuration of the label.

*/ inline void SetFontConfiguration(FontConfiguration&& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = std::move(value); } /** *

The font configuration of the label.

*/ inline LabelOptions& WithFontConfiguration(const FontConfiguration& value) { SetFontConfiguration(value); return *this;} /** *

The font configuration of the label.

*/ inline LabelOptions& WithFontConfiguration(FontConfiguration&& value) { SetFontConfiguration(std::move(value)); return *this;} /** *

The text for the label.

*/ inline const Aws::String& GetCustomLabel() const{ return m_customLabel; } /** *

The text for the label.

*/ inline bool CustomLabelHasBeenSet() const { return m_customLabelHasBeenSet; } /** *

The text for the label.

*/ inline void SetCustomLabel(const Aws::String& value) { m_customLabelHasBeenSet = true; m_customLabel = value; } /** *

The text for the label.

*/ inline void SetCustomLabel(Aws::String&& value) { m_customLabelHasBeenSet = true; m_customLabel = std::move(value); } /** *

The text for the label.

*/ inline void SetCustomLabel(const char* value) { m_customLabelHasBeenSet = true; m_customLabel.assign(value); } /** *

The text for the label.

*/ inline LabelOptions& WithCustomLabel(const Aws::String& value) { SetCustomLabel(value); return *this;} /** *

The text for the label.

*/ inline LabelOptions& WithCustomLabel(Aws::String&& value) { SetCustomLabel(std::move(value)); return *this;} /** *

The text for the label.

*/ inline LabelOptions& WithCustomLabel(const char* value) { SetCustomLabel(value); return *this;} private: Visibility m_visibility; bool m_visibilityHasBeenSet = false; FontConfiguration m_fontConfiguration; bool m_fontConfigurationHasBeenSet = false; Aws::String m_customLabel; bool m_customLabelHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws