7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/SortOrder.h>
48 template<
typename FieldT = Aws::String>
49 void SetField(FieldT&& value) { m_fieldHasBeenSet =
true; m_field = std::forward<FieldT>(value); }
50 template<
typename FieldT = Aws::String>
66 bool m_fieldHasBeenSet =
false;
69 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