/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies attributes for sorting a list of bot locales.See
* Also:
AWS
* API Reference
The bot locale attribute to sort by.
*/ inline const BotLocaleSortAttribute& GetAttribute() const{ return m_attribute; } /** *The bot locale attribute to sort by.
*/ inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; } /** *The bot locale attribute to sort by.
*/ inline void SetAttribute(const BotLocaleSortAttribute& value) { m_attributeHasBeenSet = true; m_attribute = value; } /** *The bot locale attribute to sort by.
*/ inline void SetAttribute(BotLocaleSortAttribute&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); } /** *The bot locale attribute to sort by.
*/ inline BotLocaleSortBy& WithAttribute(const BotLocaleSortAttribute& value) { SetAttribute(value); return *this;} /** *The bot locale attribute to sort by.
*/ inline BotLocaleSortBy& WithAttribute(BotLocaleSortAttribute&& value) { SetAttribute(std::move(value)); return *this;} /** *Specifies whether to sort the bot locales in ascending or descending * order.
*/ inline const SortOrder& GetOrder() const{ return m_order; } /** *Specifies whether to sort the bot locales in ascending or descending * order.
*/ inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; } /** *Specifies whether to sort the bot locales in ascending or descending * order.
*/ inline void SetOrder(const SortOrder& value) { m_orderHasBeenSet = true; m_order = value; } /** *Specifies whether to sort the bot locales in ascending or descending * order.
*/ inline void SetOrder(SortOrder&& value) { m_orderHasBeenSet = true; m_order = std::move(value); } /** *Specifies whether to sort the bot locales in ascending or descending * order.
*/ inline BotLocaleSortBy& WithOrder(const SortOrder& value) { SetOrder(value); return *this;} /** *Specifies whether to sort the bot locales in ascending or descending * order.
*/ inline BotLocaleSortBy& WithOrder(SortOrder&& value) { SetOrder(std::move(value)); return *this;} private: BotLocaleSortAttribute m_attribute; bool m_attributeHasBeenSet = false; SortOrder m_order; bool m_orderHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws