/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 table visual.

See Also:

AWS * API Reference

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

The selected field options for the table field options.

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

The selected field options for the table field options.

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

The selected field options for the table field options.

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

The selected field options for the table field options.

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

The selected field options for the table field options.

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

The selected field options for the table field options.

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

The selected field options for the table field options.

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

The selected field options for the table field options.

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

The order of field IDs of the field options for a table visual.

*/ inline const Aws::Vector& GetOrder() const{ return m_order; } /** *

The order of field IDs of the field options for a table visual.

*/ inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; } /** *

The order of field IDs of the field options for a table visual.

*/ inline void SetOrder(const Aws::Vector& value) { m_orderHasBeenSet = true; m_order = value; } /** *

The order of field IDs of the field options for a table visual.

*/ inline void SetOrder(Aws::Vector&& value) { m_orderHasBeenSet = true; m_order = std::move(value); } /** *

The order of field IDs of the field options for a table visual.

*/ inline TableFieldOptions& WithOrder(const Aws::Vector& value) { SetOrder(value); return *this;} /** *

The order of field IDs of the field options for a table visual.

*/ inline TableFieldOptions& WithOrder(Aws::Vector&& value) { SetOrder(std::move(value)); return *this;} /** *

The order of field IDs of the field options for a table visual.

*/ inline TableFieldOptions& AddOrder(const Aws::String& value) { m_orderHasBeenSet = true; m_order.push_back(value); return *this; } /** *

The order of field IDs of the field options for a table visual.

*/ inline TableFieldOptions& AddOrder(Aws::String&& value) { m_orderHasBeenSet = true; m_order.push_back(std::move(value)); return *this; } /** *

The order of field IDs of the field options for a table visual.

*/ inline TableFieldOptions& AddOrder(const char* value) { m_orderHasBeenSet = true; m_order.push_back(value); return *this; } private: Aws::Vector m_selectedFieldOptions; bool m_selectedFieldOptionsHasBeenSet = false; Aws::Vector m_order; bool m_orderHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws