7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/SortOrder.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CostExplorer {
41 template <
typename KeyT = Aws::String>
43 m_keyHasBeenSet =
true;
44 m_key = std::forward<KeyT>(value);
46 template <
typename KeyT = Aws::String>
48 SetKey(std::forward<KeyT>(value));
60 m_sortOrderHasBeenSet =
true;
72 bool m_keyHasBeenSet =
false;
73 bool m_sortOrderHasBeenSet =
false;
AWS_COSTEXPLORER_API SortDefinition()=default
SortDefinition & WithKey(KeyT &&value)
void SetSortOrder(SortOrder value)
SortOrder GetSortOrder() const
void SetKey(KeyT &&value)
bool SortOrderHasBeenSet() const
const Aws::String & GetKey() const
SortDefinition & WithSortOrder(SortOrder value)
AWS_COSTEXPLORER_API SortDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
bool KeyHasBeenSet() const
AWS_COSTEXPLORER_API SortDefinition(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue