/** * 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.

This is a union type structure. For this structure to be * valid, only one of the attributes can be defined.

See Also:

AWS * API Reference

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

The tooltip item for the fields.

*/ inline const FieldTooltipItem& GetFieldTooltipItem() const{ return m_fieldTooltipItem; } /** *

The tooltip item for the fields.

*/ inline bool FieldTooltipItemHasBeenSet() const { return m_fieldTooltipItemHasBeenSet; } /** *

The tooltip item for the fields.

*/ inline void SetFieldTooltipItem(const FieldTooltipItem& value) { m_fieldTooltipItemHasBeenSet = true; m_fieldTooltipItem = value; } /** *

The tooltip item for the fields.

*/ inline void SetFieldTooltipItem(FieldTooltipItem&& value) { m_fieldTooltipItemHasBeenSet = true; m_fieldTooltipItem = std::move(value); } /** *

The tooltip item for the fields.

*/ inline TooltipItem& WithFieldTooltipItem(const FieldTooltipItem& value) { SetFieldTooltipItem(value); return *this;} /** *

The tooltip item for the fields.

*/ inline TooltipItem& WithFieldTooltipItem(FieldTooltipItem&& value) { SetFieldTooltipItem(std::move(value)); return *this;} /** *

The tooltip item for the columns that are not part of a field well.

*/ inline const ColumnTooltipItem& GetColumnTooltipItem() const{ return m_columnTooltipItem; } /** *

The tooltip item for the columns that are not part of a field well.

*/ inline bool ColumnTooltipItemHasBeenSet() const { return m_columnTooltipItemHasBeenSet; } /** *

The tooltip item for the columns that are not part of a field well.

*/ inline void SetColumnTooltipItem(const ColumnTooltipItem& value) { m_columnTooltipItemHasBeenSet = true; m_columnTooltipItem = value; } /** *

The tooltip item for the columns that are not part of a field well.

*/ inline void SetColumnTooltipItem(ColumnTooltipItem&& value) { m_columnTooltipItemHasBeenSet = true; m_columnTooltipItem = std::move(value); } /** *

The tooltip item for the columns that are not part of a field well.

*/ inline TooltipItem& WithColumnTooltipItem(const ColumnTooltipItem& value) { SetColumnTooltipItem(value); return *this;} /** *

The tooltip item for the columns that are not part of a field well.

*/ inline TooltipItem& WithColumnTooltipItem(ColumnTooltipItem&& value) { SetColumnTooltipItem(std::move(value)); return *this;} private: FieldTooltipItem m_fieldTooltipItem; bool m_fieldTooltipItemHasBeenSet = false; ColumnTooltipItem m_columnTooltipItem; bool m_columnTooltipItemHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws