/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Allows data paths to be sorted by a specific data value.See
* Also:
AWS
* API Reference
Determines the sort direction.
*/ inline const SortDirection& GetDirection() const{ return m_direction; } /** *Determines the sort direction.
*/ inline bool DirectionHasBeenSet() const { return m_directionHasBeenSet; } /** *Determines the sort direction.
*/ inline void SetDirection(const SortDirection& value) { m_directionHasBeenSet = true; m_direction = value; } /** *Determines the sort direction.
*/ inline void SetDirection(SortDirection&& value) { m_directionHasBeenSet = true; m_direction = std::move(value); } /** *Determines the sort direction.
*/ inline DataPathSort& WithDirection(const SortDirection& value) { SetDirection(value); return *this;} /** *Determines the sort direction.
*/ inline DataPathSort& WithDirection(SortDirection&& value) { SetDirection(std::move(value)); return *this;} /** *The list of data paths that need to be sorted.
*/ inline const Aws::VectorThe list of data paths that need to be sorted.
*/ inline bool SortPathsHasBeenSet() const { return m_sortPathsHasBeenSet; } /** *The list of data paths that need to be sorted.
*/ inline void SetSortPaths(const Aws::VectorThe list of data paths that need to be sorted.
*/ inline void SetSortPaths(Aws::VectorThe list of data paths that need to be sorted.
*/ inline DataPathSort& WithSortPaths(const Aws::VectorThe list of data paths that need to be sorted.
*/ inline DataPathSort& WithSortPaths(Aws::VectorThe list of data paths that need to be sorted.
*/ inline DataPathSort& AddSortPaths(const DataPathValue& value) { m_sortPathsHasBeenSet = true; m_sortPaths.push_back(value); return *this; } /** *The list of data paths that need to be sorted.
*/ inline DataPathSort& AddSortPaths(DataPathValue&& value) { m_sortPathsHasBeenSet = true; m_sortPaths.push_back(std::move(value)); return *this; } private: SortDirection m_direction; bool m_directionHasBeenSet = false; Aws::Vector