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

The setup for the detailed tooltip.

See Also:

AWS * API Reference

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

The visibility of Show aggregations.

*/ inline const Visibility& GetAggregationVisibility() const{ return m_aggregationVisibility; } /** *

The visibility of Show aggregations.

*/ inline bool AggregationVisibilityHasBeenSet() const { return m_aggregationVisibilityHasBeenSet; } /** *

The visibility of Show aggregations.

*/ inline void SetAggregationVisibility(const Visibility& value) { m_aggregationVisibilityHasBeenSet = true; m_aggregationVisibility = value; } /** *

The visibility of Show aggregations.

*/ inline void SetAggregationVisibility(Visibility&& value) { m_aggregationVisibilityHasBeenSet = true; m_aggregationVisibility = std::move(value); } /** *

The visibility of Show aggregations.

*/ inline FieldBasedTooltip& WithAggregationVisibility(const Visibility& value) { SetAggregationVisibility(value); return *this;} /** *

The visibility of Show aggregations.

*/ inline FieldBasedTooltip& WithAggregationVisibility(Visibility&& value) { SetAggregationVisibility(std::move(value)); return *this;} /** *

The type for the >tooltip title. Choose one of the following options:

*
  • NONE: Doesn't use the primary value as the title.

    *
  • PRIMARY_VALUE: Uses primary value as the title.

    *
*/ inline const TooltipTitleType& GetTooltipTitleType() const{ return m_tooltipTitleType; } /** *

The type for the >tooltip title. Choose one of the following options:

*
  • NONE: Doesn't use the primary value as the title.

    *
  • PRIMARY_VALUE: Uses primary value as the title.

    *
*/ inline bool TooltipTitleTypeHasBeenSet() const { return m_tooltipTitleTypeHasBeenSet; } /** *

The type for the >tooltip title. Choose one of the following options:

*
  • NONE: Doesn't use the primary value as the title.

    *
  • PRIMARY_VALUE: Uses primary value as the title.

    *
*/ inline void SetTooltipTitleType(const TooltipTitleType& value) { m_tooltipTitleTypeHasBeenSet = true; m_tooltipTitleType = value; } /** *

The type for the >tooltip title. Choose one of the following options:

*
  • NONE: Doesn't use the primary value as the title.

    *
  • PRIMARY_VALUE: Uses primary value as the title.

    *
*/ inline void SetTooltipTitleType(TooltipTitleType&& value) { m_tooltipTitleTypeHasBeenSet = true; m_tooltipTitleType = std::move(value); } /** *

The type for the >tooltip title. Choose one of the following options:

*
  • NONE: Doesn't use the primary value as the title.

    *
  • PRIMARY_VALUE: Uses primary value as the title.

    *
*/ inline FieldBasedTooltip& WithTooltipTitleType(const TooltipTitleType& value) { SetTooltipTitleType(value); return *this;} /** *

The type for the >tooltip title. Choose one of the following options:

*
  • NONE: Doesn't use the primary value as the title.

    *
  • PRIMARY_VALUE: Uses primary value as the title.

    *
*/ inline FieldBasedTooltip& WithTooltipTitleType(TooltipTitleType&& value) { SetTooltipTitleType(std::move(value)); return *this;} /** *

The fields configuration in the tooltip.

*/ inline const Aws::Vector& GetTooltipFields() const{ return m_tooltipFields; } /** *

The fields configuration in the tooltip.

*/ inline bool TooltipFieldsHasBeenSet() const { return m_tooltipFieldsHasBeenSet; } /** *

The fields configuration in the tooltip.

*/ inline void SetTooltipFields(const Aws::Vector& value) { m_tooltipFieldsHasBeenSet = true; m_tooltipFields = value; } /** *

The fields configuration in the tooltip.

*/ inline void SetTooltipFields(Aws::Vector&& value) { m_tooltipFieldsHasBeenSet = true; m_tooltipFields = std::move(value); } /** *

The fields configuration in the tooltip.

*/ inline FieldBasedTooltip& WithTooltipFields(const Aws::Vector& value) { SetTooltipFields(value); return *this;} /** *

The fields configuration in the tooltip.

*/ inline FieldBasedTooltip& WithTooltipFields(Aws::Vector&& value) { SetTooltipFields(std::move(value)); return *this;} /** *

The fields configuration in the tooltip.

*/ inline FieldBasedTooltip& AddTooltipFields(const TooltipItem& value) { m_tooltipFieldsHasBeenSet = true; m_tooltipFields.push_back(value); return *this; } /** *

The fields configuration in the tooltip.

*/ inline FieldBasedTooltip& AddTooltipFields(TooltipItem&& value) { m_tooltipFieldsHasBeenSet = true; m_tooltipFields.push_back(std::move(value)); return *this; } private: Visibility m_aggregationVisibility; bool m_aggregationVisibilityHasBeenSet = false; TooltipTitleType m_tooltipTitleType; bool m_tooltipTitleTypeHasBeenSet = false; Aws::Vector m_tooltipFields; bool m_tooltipFieldsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws