/** * 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 sort configuration of a heat map.

See Also:

AWS * API Reference

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

The field sort configuration of the rows fields.

*/ inline const Aws::Vector& GetHeatMapRowSort() const{ return m_heatMapRowSort; } /** *

The field sort configuration of the rows fields.

*/ inline bool HeatMapRowSortHasBeenSet() const { return m_heatMapRowSortHasBeenSet; } /** *

The field sort configuration of the rows fields.

*/ inline void SetHeatMapRowSort(const Aws::Vector& value) { m_heatMapRowSortHasBeenSet = true; m_heatMapRowSort = value; } /** *

The field sort configuration of the rows fields.

*/ inline void SetHeatMapRowSort(Aws::Vector&& value) { m_heatMapRowSortHasBeenSet = true; m_heatMapRowSort = std::move(value); } /** *

The field sort configuration of the rows fields.

*/ inline HeatMapSortConfiguration& WithHeatMapRowSort(const Aws::Vector& value) { SetHeatMapRowSort(value); return *this;} /** *

The field sort configuration of the rows fields.

*/ inline HeatMapSortConfiguration& WithHeatMapRowSort(Aws::Vector&& value) { SetHeatMapRowSort(std::move(value)); return *this;} /** *

The field sort configuration of the rows fields.

*/ inline HeatMapSortConfiguration& AddHeatMapRowSort(const FieldSortOptions& value) { m_heatMapRowSortHasBeenSet = true; m_heatMapRowSort.push_back(value); return *this; } /** *

The field sort configuration of the rows fields.

*/ inline HeatMapSortConfiguration& AddHeatMapRowSort(FieldSortOptions&& value) { m_heatMapRowSortHasBeenSet = true; m_heatMapRowSort.push_back(std::move(value)); return *this; } /** *

The column sort configuration for heat map for columns that aren't a part of * a field well.

*/ inline const Aws::Vector& GetHeatMapColumnSort() const{ return m_heatMapColumnSort; } /** *

The column sort configuration for heat map for columns that aren't a part of * a field well.

*/ inline bool HeatMapColumnSortHasBeenSet() const { return m_heatMapColumnSortHasBeenSet; } /** *

The column sort configuration for heat map for columns that aren't a part of * a field well.

*/ inline void SetHeatMapColumnSort(const Aws::Vector& value) { m_heatMapColumnSortHasBeenSet = true; m_heatMapColumnSort = value; } /** *

The column sort configuration for heat map for columns that aren't a part of * a field well.

*/ inline void SetHeatMapColumnSort(Aws::Vector&& value) { m_heatMapColumnSortHasBeenSet = true; m_heatMapColumnSort = std::move(value); } /** *

The column sort configuration for heat map for columns that aren't a part of * a field well.

*/ inline HeatMapSortConfiguration& WithHeatMapColumnSort(const Aws::Vector& value) { SetHeatMapColumnSort(value); return *this;} /** *

The column sort configuration for heat map for columns that aren't a part of * a field well.

*/ inline HeatMapSortConfiguration& WithHeatMapColumnSort(Aws::Vector&& value) { SetHeatMapColumnSort(std::move(value)); return *this;} /** *

The column sort configuration for heat map for columns that aren't a part of * a field well.

*/ inline HeatMapSortConfiguration& AddHeatMapColumnSort(const FieldSortOptions& value) { m_heatMapColumnSortHasBeenSet = true; m_heatMapColumnSort.push_back(value); return *this; } /** *

The column sort configuration for heat map for columns that aren't a part of * a field well.

*/ inline HeatMapSortConfiguration& AddHeatMapColumnSort(FieldSortOptions&& value) { m_heatMapColumnSortHasBeenSet = true; m_heatMapColumnSort.push_back(std::move(value)); return *this; } /** *

The limit on the number of rows that are displayed in a heat map.

*/ inline const ItemsLimitConfiguration& GetHeatMapRowItemsLimitConfiguration() const{ return m_heatMapRowItemsLimitConfiguration; } /** *

The limit on the number of rows that are displayed in a heat map.

*/ inline bool HeatMapRowItemsLimitConfigurationHasBeenSet() const { return m_heatMapRowItemsLimitConfigurationHasBeenSet; } /** *

The limit on the number of rows that are displayed in a heat map.

*/ inline void SetHeatMapRowItemsLimitConfiguration(const ItemsLimitConfiguration& value) { m_heatMapRowItemsLimitConfigurationHasBeenSet = true; m_heatMapRowItemsLimitConfiguration = value; } /** *

The limit on the number of rows that are displayed in a heat map.

*/ inline void SetHeatMapRowItemsLimitConfiguration(ItemsLimitConfiguration&& value) { m_heatMapRowItemsLimitConfigurationHasBeenSet = true; m_heatMapRowItemsLimitConfiguration = std::move(value); } /** *

The limit on the number of rows that are displayed in a heat map.

*/ inline HeatMapSortConfiguration& WithHeatMapRowItemsLimitConfiguration(const ItemsLimitConfiguration& value) { SetHeatMapRowItemsLimitConfiguration(value); return *this;} /** *

The limit on the number of rows that are displayed in a heat map.

*/ inline HeatMapSortConfiguration& WithHeatMapRowItemsLimitConfiguration(ItemsLimitConfiguration&& value) { SetHeatMapRowItemsLimitConfiguration(std::move(value)); return *this;} /** *

The limit on the number of columns that are displayed in a heat map.

*/ inline const ItemsLimitConfiguration& GetHeatMapColumnItemsLimitConfiguration() const{ return m_heatMapColumnItemsLimitConfiguration; } /** *

The limit on the number of columns that are displayed in a heat map.

*/ inline bool HeatMapColumnItemsLimitConfigurationHasBeenSet() const { return m_heatMapColumnItemsLimitConfigurationHasBeenSet; } /** *

The limit on the number of columns that are displayed in a heat map.

*/ inline void SetHeatMapColumnItemsLimitConfiguration(const ItemsLimitConfiguration& value) { m_heatMapColumnItemsLimitConfigurationHasBeenSet = true; m_heatMapColumnItemsLimitConfiguration = value; } /** *

The limit on the number of columns that are displayed in a heat map.

*/ inline void SetHeatMapColumnItemsLimitConfiguration(ItemsLimitConfiguration&& value) { m_heatMapColumnItemsLimitConfigurationHasBeenSet = true; m_heatMapColumnItemsLimitConfiguration = std::move(value); } /** *

The limit on the number of columns that are displayed in a heat map.

*/ inline HeatMapSortConfiguration& WithHeatMapColumnItemsLimitConfiguration(const ItemsLimitConfiguration& value) { SetHeatMapColumnItemsLimitConfiguration(value); return *this;} /** *

The limit on the number of columns that are displayed in a heat map.

*/ inline HeatMapSortConfiguration& WithHeatMapColumnItemsLimitConfiguration(ItemsLimitConfiguration&& value) { SetHeatMapColumnItemsLimitConfiguration(std::move(value)); return *this;} private: Aws::Vector m_heatMapRowSort; bool m_heatMapRowSortHasBeenSet = false; Aws::Vector m_heatMapColumnSort; bool m_heatMapColumnSortHasBeenSet = false; ItemsLimitConfiguration m_heatMapRowItemsLimitConfiguration; bool m_heatMapRowItemsLimitConfigurationHasBeenSet = false; ItemsLimitConfiguration m_heatMapColumnItemsLimitConfiguration; bool m_heatMapColumnItemsLimitConfigurationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws