/** * 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 field wells for a table visual.

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

The aggregated field well for the table.

*/ inline const TableAggregatedFieldWells& GetTableAggregatedFieldWells() const{ return m_tableAggregatedFieldWells; } /** *

The aggregated field well for the table.

*/ inline bool TableAggregatedFieldWellsHasBeenSet() const { return m_tableAggregatedFieldWellsHasBeenSet; } /** *

The aggregated field well for the table.

*/ inline void SetTableAggregatedFieldWells(const TableAggregatedFieldWells& value) { m_tableAggregatedFieldWellsHasBeenSet = true; m_tableAggregatedFieldWells = value; } /** *

The aggregated field well for the table.

*/ inline void SetTableAggregatedFieldWells(TableAggregatedFieldWells&& value) { m_tableAggregatedFieldWellsHasBeenSet = true; m_tableAggregatedFieldWells = std::move(value); } /** *

The aggregated field well for the table.

*/ inline TableFieldWells& WithTableAggregatedFieldWells(const TableAggregatedFieldWells& value) { SetTableAggregatedFieldWells(value); return *this;} /** *

The aggregated field well for the table.

*/ inline TableFieldWells& WithTableAggregatedFieldWells(TableAggregatedFieldWells&& value) { SetTableAggregatedFieldWells(std::move(value)); return *this;} /** *

The unaggregated field well for the table.

*/ inline const TableUnaggregatedFieldWells& GetTableUnaggregatedFieldWells() const{ return m_tableUnaggregatedFieldWells; } /** *

The unaggregated field well for the table.

*/ inline bool TableUnaggregatedFieldWellsHasBeenSet() const { return m_tableUnaggregatedFieldWellsHasBeenSet; } /** *

The unaggregated field well for the table.

*/ inline void SetTableUnaggregatedFieldWells(const TableUnaggregatedFieldWells& value) { m_tableUnaggregatedFieldWellsHasBeenSet = true; m_tableUnaggregatedFieldWells = value; } /** *

The unaggregated field well for the table.

*/ inline void SetTableUnaggregatedFieldWells(TableUnaggregatedFieldWells&& value) { m_tableUnaggregatedFieldWellsHasBeenSet = true; m_tableUnaggregatedFieldWells = std::move(value); } /** *

The unaggregated field well for the table.

*/ inline TableFieldWells& WithTableUnaggregatedFieldWells(const TableUnaggregatedFieldWells& value) { SetTableUnaggregatedFieldWells(value); return *this;} /** *

The unaggregated field well for the table.

*/ inline TableFieldWells& WithTableUnaggregatedFieldWells(TableUnaggregatedFieldWells&& value) { SetTableUnaggregatedFieldWells(std::move(value)); return *this;} private: TableAggregatedFieldWells m_tableAggregatedFieldWells; bool m_tableAggregatedFieldWellsHasBeenSet = false; TableUnaggregatedFieldWells m_tableUnaggregatedFieldWells; bool m_tableUnaggregatedFieldWellsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws