7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/MatchFieldType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
99 template<
typename DataT = Aws::String>
100 void SetData(DataT&& value) { m_dataHasBeenSet =
true; m_data = std::forward<DataT>(value); }
101 template<
typename DataT = Aws::String>
107 bool m_typeHasBeenSet =
false;
110 bool m_dataHasBeenSet =
false;
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
void SetData(DataT &&value)
const Aws::String & GetData() const
AWS_WAF_API FieldToMatch()=default
AWS_WAF_API FieldToMatch(Aws::Utils::Json::JsonView jsonValue)
void SetType(MatchFieldType value)
AWS_WAF_API FieldToMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
MatchFieldType GetType() const
bool DataHasBeenSet() const
FieldToMatch & WithType(MatchFieldType value)
bool TypeHasBeenSet() const
FieldToMatch & WithData(DataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue