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

See * Also:

AWS * API Reference

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

The sort configuration of the location fields.

*/ inline const Aws::Vector& GetCategorySort() const{ return m_categorySort; } /** *

The sort configuration of the location fields.

*/ inline bool CategorySortHasBeenSet() const { return m_categorySortHasBeenSet; } /** *

The sort configuration of the location fields.

*/ inline void SetCategorySort(const Aws::Vector& value) { m_categorySortHasBeenSet = true; m_categorySort = value; } /** *

The sort configuration of the location fields.

*/ inline void SetCategorySort(Aws::Vector&& value) { m_categorySortHasBeenSet = true; m_categorySort = std::move(value); } /** *

The sort configuration of the location fields.

*/ inline FilledMapSortConfiguration& WithCategorySort(const Aws::Vector& value) { SetCategorySort(value); return *this;} /** *

The sort configuration of the location fields.

*/ inline FilledMapSortConfiguration& WithCategorySort(Aws::Vector&& value) { SetCategorySort(std::move(value)); return *this;} /** *

The sort configuration of the location fields.

*/ inline FilledMapSortConfiguration& AddCategorySort(const FieldSortOptions& value) { m_categorySortHasBeenSet = true; m_categorySort.push_back(value); return *this; } /** *

The sort configuration of the location fields.

*/ inline FilledMapSortConfiguration& AddCategorySort(FieldSortOptions&& value) { m_categorySortHasBeenSet = true; m_categorySort.push_back(std::move(value)); return *this; } private: Aws::Vector m_categorySort; bool m_categorySortHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws