7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/SortOrder.h>
42 template <
typename FieldT = Aws::String>
44 m_fieldHasBeenSet =
true;
45 m_field = std::forward<FieldT>(value);
47 template <
typename FieldT = Aws::String>
49 SetField(std::forward<FieldT>(value));
61 m_sortOrderHasBeenSet =
true;
73 bool m_fieldHasBeenSet =
false;
74 bool m_sortOrderHasBeenSet =
false;
void SetSortOrder(SortOrder value)
SortOrder GetSortOrder() const
void SetField(FieldT &&value)
bool FieldHasBeenSet() const
SortCriterion & WithSortOrder(SortOrder value)
const Aws::String & GetField() const
AWS_SECURITYHUB_API SortCriterion(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API SortCriterion()=default
AWS_SECURITYHUB_API SortCriterion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool SortOrderHasBeenSet() const
SortCriterion & WithField(FieldT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue