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

The field wells of a tree map.

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 TreeMapFieldWells { public: AWS_QUICKSIGHT_API TreeMapFieldWells(); AWS_QUICKSIGHT_API TreeMapFieldWells(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API TreeMapFieldWells& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The aggregated field wells of a tree map.

*/ inline const TreeMapAggregatedFieldWells& GetTreeMapAggregatedFieldWells() const{ return m_treeMapAggregatedFieldWells; } /** *

The aggregated field wells of a tree map.

*/ inline bool TreeMapAggregatedFieldWellsHasBeenSet() const { return m_treeMapAggregatedFieldWellsHasBeenSet; } /** *

The aggregated field wells of a tree map.

*/ inline void SetTreeMapAggregatedFieldWells(const TreeMapAggregatedFieldWells& value) { m_treeMapAggregatedFieldWellsHasBeenSet = true; m_treeMapAggregatedFieldWells = value; } /** *

The aggregated field wells of a tree map.

*/ inline void SetTreeMapAggregatedFieldWells(TreeMapAggregatedFieldWells&& value) { m_treeMapAggregatedFieldWellsHasBeenSet = true; m_treeMapAggregatedFieldWells = std::move(value); } /** *

The aggregated field wells of a tree map.

*/ inline TreeMapFieldWells& WithTreeMapAggregatedFieldWells(const TreeMapAggregatedFieldWells& value) { SetTreeMapAggregatedFieldWells(value); return *this;} /** *

The aggregated field wells of a tree map.

*/ inline TreeMapFieldWells& WithTreeMapAggregatedFieldWells(TreeMapAggregatedFieldWells&& value) { SetTreeMapAggregatedFieldWells(std::move(value)); return *this;} private: TreeMapAggregatedFieldWells m_treeMapAggregatedFieldWells; bool m_treeMapAggregatedFieldWellsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws