/** * 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 KPI visual.

See Also:

AWS * API Reference

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

The sort configuration of the trend group fields.

*/ inline const Aws::Vector& GetTrendGroupSort() const{ return m_trendGroupSort; } /** *

The sort configuration of the trend group fields.

*/ inline bool TrendGroupSortHasBeenSet() const { return m_trendGroupSortHasBeenSet; } /** *

The sort configuration of the trend group fields.

*/ inline void SetTrendGroupSort(const Aws::Vector& value) { m_trendGroupSortHasBeenSet = true; m_trendGroupSort = value; } /** *

The sort configuration of the trend group fields.

*/ inline void SetTrendGroupSort(Aws::Vector&& value) { m_trendGroupSortHasBeenSet = true; m_trendGroupSort = std::move(value); } /** *

The sort configuration of the trend group fields.

*/ inline KPISortConfiguration& WithTrendGroupSort(const Aws::Vector& value) { SetTrendGroupSort(value); return *this;} /** *

The sort configuration of the trend group fields.

*/ inline KPISortConfiguration& WithTrendGroupSort(Aws::Vector&& value) { SetTrendGroupSort(std::move(value)); return *this;} /** *

The sort configuration of the trend group fields.

*/ inline KPISortConfiguration& AddTrendGroupSort(const FieldSortOptions& value) { m_trendGroupSortHasBeenSet = true; m_trendGroupSort.push_back(value); return *this; } /** *

The sort configuration of the trend group fields.

*/ inline KPISortConfiguration& AddTrendGroupSort(FieldSortOptions&& value) { m_trendGroupSortHasBeenSet = true; m_trendGroupSort.push_back(std::move(value)); return *this; } private: Aws::Vector m_trendGroupSort; bool m_trendGroupSortHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws