7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/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;
MatchFieldType GetType() const
bool DataHasBeenSet() const
FieldToMatch & WithData(DataT &&value)
AWS_WAFREGIONAL_API FieldToMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetData() const
void SetType(MatchFieldType value)
AWS_WAFREGIONAL_API FieldToMatch()=default
AWS_WAFREGIONAL_API FieldToMatch(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetData(DataT &&value)
FieldToMatch & WithType(MatchFieldType value)
bool TypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue