/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The field sort options in a chart configuration.See Also:
* AWS
* API Reference
The sort configuration for a field in a field well.
*/ inline const FieldSort& GetFieldSort() const{ return m_fieldSort; } /** *The sort configuration for a field in a field well.
*/ inline bool FieldSortHasBeenSet() const { return m_fieldSortHasBeenSet; } /** *The sort configuration for a field in a field well.
*/ inline void SetFieldSort(const FieldSort& value) { m_fieldSortHasBeenSet = true; m_fieldSort = value; } /** *The sort configuration for a field in a field well.
*/ inline void SetFieldSort(FieldSort&& value) { m_fieldSortHasBeenSet = true; m_fieldSort = std::move(value); } /** *The sort configuration for a field in a field well.
*/ inline FieldSortOptions& WithFieldSort(const FieldSort& value) { SetFieldSort(value); return *this;} /** *The sort configuration for a field in a field well.
*/ inline FieldSortOptions& WithFieldSort(FieldSort&& value) { SetFieldSort(std::move(value)); return *this;} /** *The sort configuration for a column that is not used in a field well.
*/ inline const ColumnSort& GetColumnSort() const{ return m_columnSort; } /** *The sort configuration for a column that is not used in a field well.
*/ inline bool ColumnSortHasBeenSet() const { return m_columnSortHasBeenSet; } /** *The sort configuration for a column that is not used in a field well.
*/ inline void SetColumnSort(const ColumnSort& value) { m_columnSortHasBeenSet = true; m_columnSort = value; } /** *The sort configuration for a column that is not used in a field well.
*/ inline void SetColumnSort(ColumnSort&& value) { m_columnSortHasBeenSet = true; m_columnSort = std::move(value); } /** *The sort configuration for a column that is not used in a field well.
*/ inline FieldSortOptions& WithColumnSort(const ColumnSort& value) { SetColumnSort(value); return *this;} /** *The sort configuration for a column that is not used in a field well.
*/ inline FieldSortOptions& WithColumnSort(ColumnSort&& value) { SetColumnSort(std::move(value)); return *this;} private: FieldSort m_fieldSort; bool m_fieldSortHasBeenSet = false; ColumnSort m_columnSort; bool m_columnSortHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws