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

See Also:

AWS * API Reference

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

The selected field options for the pivot table field options.

*/ inline const Aws::Vector& GetSelectedFieldOptions() const{ return m_selectedFieldOptions; } /** *

The selected field options for the pivot table field options.

*/ inline bool SelectedFieldOptionsHasBeenSet() const { return m_selectedFieldOptionsHasBeenSet; } /** *

The selected field options for the pivot table field options.

*/ inline void SetSelectedFieldOptions(const Aws::Vector& value) { m_selectedFieldOptionsHasBeenSet = true; m_selectedFieldOptions = value; } /** *

The selected field options for the pivot table field options.

*/ inline void SetSelectedFieldOptions(Aws::Vector&& value) { m_selectedFieldOptionsHasBeenSet = true; m_selectedFieldOptions = std::move(value); } /** *

The selected field options for the pivot table field options.

*/ inline PivotTableFieldOptions& WithSelectedFieldOptions(const Aws::Vector& value) { SetSelectedFieldOptions(value); return *this;} /** *

The selected field options for the pivot table field options.

*/ inline PivotTableFieldOptions& WithSelectedFieldOptions(Aws::Vector&& value) { SetSelectedFieldOptions(std::move(value)); return *this;} /** *

The selected field options for the pivot table field options.

*/ inline PivotTableFieldOptions& AddSelectedFieldOptions(const PivotTableFieldOption& value) { m_selectedFieldOptionsHasBeenSet = true; m_selectedFieldOptions.push_back(value); return *this; } /** *

The selected field options for the pivot table field options.

*/ inline PivotTableFieldOptions& AddSelectedFieldOptions(PivotTableFieldOption&& value) { m_selectedFieldOptionsHasBeenSet = true; m_selectedFieldOptions.push_back(std::move(value)); return *this; } /** *

The data path options for the pivot table field options.

*/ inline const Aws::Vector& GetDataPathOptions() const{ return m_dataPathOptions; } /** *

The data path options for the pivot table field options.

*/ inline bool DataPathOptionsHasBeenSet() const { return m_dataPathOptionsHasBeenSet; } /** *

The data path options for the pivot table field options.

*/ inline void SetDataPathOptions(const Aws::Vector& value) { m_dataPathOptionsHasBeenSet = true; m_dataPathOptions = value; } /** *

The data path options for the pivot table field options.

*/ inline void SetDataPathOptions(Aws::Vector&& value) { m_dataPathOptionsHasBeenSet = true; m_dataPathOptions = std::move(value); } /** *

The data path options for the pivot table field options.

*/ inline PivotTableFieldOptions& WithDataPathOptions(const Aws::Vector& value) { SetDataPathOptions(value); return *this;} /** *

The data path options for the pivot table field options.

*/ inline PivotTableFieldOptions& WithDataPathOptions(Aws::Vector&& value) { SetDataPathOptions(std::move(value)); return *this;} /** *

The data path options for the pivot table field options.

*/ inline PivotTableFieldOptions& AddDataPathOptions(const PivotTableDataPathOption& value) { m_dataPathOptionsHasBeenSet = true; m_dataPathOptions.push_back(value); return *this; } /** *

The data path options for the pivot table field options.

*/ inline PivotTableFieldOptions& AddDataPathOptions(PivotTableDataPathOption&& value) { m_dataPathOptionsHasBeenSet = true; m_dataPathOptions.push_back(std::move(value)); return *this; } /** *

The collapse state options for the pivot table field options.

*/ inline const Aws::Vector& GetCollapseStateOptions() const{ return m_collapseStateOptions; } /** *

The collapse state options for the pivot table field options.

*/ inline bool CollapseStateOptionsHasBeenSet() const { return m_collapseStateOptionsHasBeenSet; } /** *

The collapse state options for the pivot table field options.

*/ inline void SetCollapseStateOptions(const Aws::Vector& value) { m_collapseStateOptionsHasBeenSet = true; m_collapseStateOptions = value; } /** *

The collapse state options for the pivot table field options.

*/ inline void SetCollapseStateOptions(Aws::Vector&& value) { m_collapseStateOptionsHasBeenSet = true; m_collapseStateOptions = std::move(value); } /** *

The collapse state options for the pivot table field options.

*/ inline PivotTableFieldOptions& WithCollapseStateOptions(const Aws::Vector& value) { SetCollapseStateOptions(value); return *this;} /** *

The collapse state options for the pivot table field options.

*/ inline PivotTableFieldOptions& WithCollapseStateOptions(Aws::Vector&& value) { SetCollapseStateOptions(std::move(value)); return *this;} /** *

The collapse state options for the pivot table field options.

*/ inline PivotTableFieldOptions& AddCollapseStateOptions(const PivotTableFieldCollapseStateOption& value) { m_collapseStateOptionsHasBeenSet = true; m_collapseStateOptions.push_back(value); return *this; } /** *

The collapse state options for the pivot table field options.

*/ inline PivotTableFieldOptions& AddCollapseStateOptions(PivotTableFieldCollapseStateOption&& value) { m_collapseStateOptionsHasBeenSet = true; m_collapseStateOptions.push_back(std::move(value)); return *this; } private: Aws::Vector m_selectedFieldOptions; bool m_selectedFieldOptionsHasBeenSet = false; Aws::Vector m_dataPathOptions; bool m_dataPathOptionsHasBeenSet = false; Aws::Vector m_collapseStateOptions; bool m_collapseStateOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws