/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the method by which to sort the instances of test
* executions you have carried out.See Also:
AWS
* API Reference
Specifies whether to sort the test set executions by the date and time at * which the test sets were created.
*/ inline const TestExecutionSortAttribute& GetAttribute() const{ return m_attribute; } /** *Specifies whether to sort the test set executions by the date and time at * which the test sets were created.
*/ inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; } /** *Specifies whether to sort the test set executions by the date and time at * which the test sets were created.
*/ inline void SetAttribute(const TestExecutionSortAttribute& value) { m_attributeHasBeenSet = true; m_attribute = value; } /** *Specifies whether to sort the test set executions by the date and time at * which the test sets were created.
*/ inline void SetAttribute(TestExecutionSortAttribute&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); } /** *Specifies whether to sort the test set executions by the date and time at * which the test sets were created.
*/ inline TestExecutionSortBy& WithAttribute(const TestExecutionSortAttribute& value) { SetAttribute(value); return *this;} /** *Specifies whether to sort the test set executions by the date and time at * which the test sets were created.
*/ inline TestExecutionSortBy& WithAttribute(TestExecutionSortAttribute&& 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 TestExecutionSortBy& WithOrder(const SortOrder& value) { SetOrder(value); return *this;} /** *Specifies whether to sort in ascending or descending order.
*/ inline TestExecutionSortBy& WithOrder(SortOrder&& value) { SetOrder(std::move(value)); return *this;} private: TestExecutionSortAttribute m_attribute; bool m_attributeHasBeenSet = false; SortOrder m_order; bool m_orderHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws