/** * 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 tooltip item for the fields.

See Also:

AWS * API Reference

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

The unique ID of the field that is targeted by the tooltip.

*/ inline const Aws::String& GetFieldId() const{ return m_fieldId; } /** *

The unique ID of the field that is targeted by the tooltip.

*/ inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; } /** *

The unique ID of the field that is targeted by the tooltip.

*/ inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; } /** *

The unique ID of the field that is targeted by the tooltip.

*/ inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); } /** *

The unique ID of the field that is targeted by the tooltip.

*/ inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); } /** *

The unique ID of the field that is targeted by the tooltip.

*/ inline FieldTooltipItem& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;} /** *

The unique ID of the field that is targeted by the tooltip.

*/ inline FieldTooltipItem& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;} /** *

The unique ID of the field that is targeted by the tooltip.

*/ inline FieldTooltipItem& WithFieldId(const char* value) { SetFieldId(value); return *this;} /** *

The label of the tooltip item.

*/ inline const Aws::String& GetLabel() const{ return m_label; } /** *

The label of the tooltip item.

*/ inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } /** *

The label of the tooltip item.

*/ inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; } /** *

The label of the tooltip item.

*/ inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } /** *

The label of the tooltip item.

*/ inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); } /** *

The label of the tooltip item.

*/ inline FieldTooltipItem& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} /** *

The label of the tooltip item.

*/ inline FieldTooltipItem& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} /** *

The label of the tooltip item.

*/ inline FieldTooltipItem& WithLabel(const char* value) { SetLabel(value); return *this;} /** *

The visibility of the tooltip item.

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

The visibility of the tooltip item.

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

The visibility of the tooltip item.

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

The visibility of the tooltip item.

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

The visibility of the tooltip item.

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

The visibility of the tooltip item.

*/ inline FieldTooltipItem& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;} private: Aws::String m_fieldId; bool m_fieldIdHasBeenSet = false; Aws::String m_label; bool m_labelHasBeenSet = false; Visibility m_visibility; bool m_visibilityHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws