/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information for sorting a list of domains.See Also:
AWS
* API Reference
Field to be used for sorting the list of domains. It can be either the name
* or the expiration for a domain. Note that if filterCondition
is
* used in the same ListDomains
* call, the field used for sorting has to be the same as the field used for
* filtering.
Field to be used for sorting the list of domains. It can be either the name
* or the expiration for a domain. Note that if filterCondition
is
* used in the same ListDomains
* call, the field used for sorting has to be the same as the field used for
* filtering.
Field to be used for sorting the list of domains. It can be either the name
* or the expiration for a domain. Note that if filterCondition
is
* used in the same ListDomains
* call, the field used for sorting has to be the same as the field used for
* filtering.
Field to be used for sorting the list of domains. It can be either the name
* or the expiration for a domain. Note that if filterCondition
is
* used in the same ListDomains
* call, the field used for sorting has to be the same as the field used for
* filtering.
Field to be used for sorting the list of domains. It can be either the name
* or the expiration for a domain. Note that if filterCondition
is
* used in the same ListDomains
* call, the field used for sorting has to be the same as the field used for
* filtering.
Field to be used for sorting the list of domains. It can be either the name
* or the expiration for a domain. Note that if filterCondition
is
* used in the same ListDomains
* call, the field used for sorting has to be the same as the field used for
* filtering.
The sort order for a list of domains. Either ascending (ASC) or descending * (DES).
*/ inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } /** *The sort order for a list of domains. Either ascending (ASC) or descending * (DES).
*/ inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } /** *The sort order for a list of domains. Either ascending (ASC) or descending * (DES).
*/ inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } /** *The sort order for a list of domains. Either ascending (ASC) or descending * (DES).
*/ inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } /** *The sort order for a list of domains. Either ascending (ASC) or descending * (DES).
*/ inline SortCondition& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} /** *The sort order for a list of domains. Either ascending (ASC) or descending * (DES).
*/ inline SortCondition& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} private: ListDomainsAttributeName m_name; bool m_nameHasBeenSet = false; SortOrder m_sortOrder; bool m_sortOrderHasBeenSet = false; }; } // namespace Model } // namespace Route53Domains } // namespace Aws