/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the methods by which to sort the test
* set.See Also:
AWS
* API Reference
Specifies whether to sort the test sets by name or by the time they were last * updated.
*/ inline const TestSetSortAttribute& GetAttribute() const{ return m_attribute; } /** *Specifies whether to sort the test sets by name or by the time they were last * updated.
*/ inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; } /** *Specifies whether to sort the test sets by name or by the time they were last * updated.
*/ inline void SetAttribute(const TestSetSortAttribute& value) { m_attributeHasBeenSet = true; m_attribute = value; } /** *Specifies whether to sort the test sets by name or by the time they were last * updated.
*/ inline void SetAttribute(TestSetSortAttribute&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); } /** *Specifies whether to sort the test sets by name or by the time they were last * updated.
*/ inline TestSetSortBy& WithAttribute(const TestSetSortAttribute& value) { SetAttribute(value); return *this;} /** *Specifies whether to sort the test sets by name or by the time they were last * updated.
*/ inline TestSetSortBy& WithAttribute(TestSetSortAttribute&& value) { SetAttribute(std::move(value)); return *this;} /** *Specifies whether to sort in ascending or descending order.
*/ inline const SortOrder& GetOrder() const{ return m_order; } /** *Specifies whether to sort in ascending or descending order.
*/ inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; } /** *Specifies whether to sort in ascending or descending order.
*/ inline void SetOrder(const SortOrder& value) { m_orderHasBeenSet = true; m_order = value; } /** *Specifies whether to sort in ascending or descending order.
*/ inline void SetOrder(SortOrder&& value) { m_orderHasBeenSet = true; m_order = std::move(value); } /** *Specifies whether to sort in ascending or descending order.
*/ inline TestSetSortBy& WithOrder(const SortOrder& value) { SetOrder(value); return *this;} /** *Specifies whether to sort in ascending or descending order.
*/ inline TestSetSortBy& WithOrder(SortOrder&& value) { SetOrder(std::move(value)); return *this;} private: TestSetSortAttribute m_attribute; bool m_attributeHasBeenSet = false; SortOrder m_order; bool m_orderHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws