/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The sort configuration for a column that is not used in a field
* well.See Also:
AWS
* API Reference
The sort direction.
*/ inline const SortDirection& GetDirection() const{ return m_direction; } /** *The sort direction.
*/ inline bool DirectionHasBeenSet() const { return m_directionHasBeenSet; } /** *The sort direction.
*/ inline void SetDirection(const SortDirection& value) { m_directionHasBeenSet = true; m_direction = value; } /** *The sort direction.
*/ inline void SetDirection(SortDirection&& value) { m_directionHasBeenSet = true; m_direction = std::move(value); } /** *The sort direction.
*/ inline ColumnSort& WithDirection(const SortDirection& value) { SetDirection(value); return *this;} /** *The sort direction.
*/ inline ColumnSort& WithDirection(SortDirection&& value) { SetDirection(std::move(value)); return *this;} /** *The aggregation function that is defined in the column sort.
*/ inline const AggregationFunction& GetAggregationFunction() const{ return m_aggregationFunction; } /** *The aggregation function that is defined in the column sort.
*/ inline bool AggregationFunctionHasBeenSet() const { return m_aggregationFunctionHasBeenSet; } /** *The aggregation function that is defined in the column sort.
*/ inline void SetAggregationFunction(const AggregationFunction& value) { m_aggregationFunctionHasBeenSet = true; m_aggregationFunction = value; } /** *The aggregation function that is defined in the column sort.
*/ inline void SetAggregationFunction(AggregationFunction&& value) { m_aggregationFunctionHasBeenSet = true; m_aggregationFunction = std::move(value); } /** *The aggregation function that is defined in the column sort.
*/ inline ColumnSort& WithAggregationFunction(const AggregationFunction& value) { SetAggregationFunction(value); return *this;} /** *The aggregation function that is defined in the column sort.
*/ inline ColumnSort& WithAggregationFunction(AggregationFunction&& value) { SetAggregationFunction(std::move(value)); return *this;} private: ColumnIdentifier m_sortBy; bool m_sortByHasBeenSet = false; SortDirection m_direction; bool m_directionHasBeenSet = false; AggregationFunction m_aggregationFunction; bool m_aggregationFunctionHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws