7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/waf/WAF_EXPORTS.h>
9#include <aws/waf/model/MatchFieldType.h>
77 m_typeHasBeenSet =
true;
99 template <
typename DataT = Aws::String>
101 m_dataHasBeenSet =
true;
102 m_data = std::forward<DataT>(value);
104 template <
typename DataT = Aws::String>
106 SetData(std::forward<DataT>(value));
114 bool m_typeHasBeenSet =
false;
115 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