7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/FieldToProtectType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
61 template<
typename FieldKeysT = Aws::Vector<Aws::String>>
62 void SetFieldKeys(FieldKeysT&& value) { m_fieldKeysHasBeenSet =
true; m_fieldKeys = std::forward<FieldKeysT>(value); }
63 template<
typename FieldKeysT = Aws::Vector<Aws::String>>
65 template<
typename FieldKeysT = Aws::String>
66 FieldToProtect&
AddFieldKeys(FieldKeysT&& value) { m_fieldKeysHasBeenSet =
true; m_fieldKeys.emplace_back(std::forward<FieldKeysT>(value));
return *
this; }
71 bool m_fieldTypeHasBeenSet =
false;
74 bool m_fieldKeysHasBeenSet =
false;
void SetFieldType(FieldToProtectType value)
AWS_WAFV2_API FieldToProtect & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FieldKeysHasBeenSet() const
void SetFieldKeys(FieldKeysT &&value)
FieldToProtect & WithFieldType(FieldToProtectType value)
AWS_WAFV2_API FieldToProtect()=default
FieldToProtect & WithFieldKeys(FieldKeysT &&value)
AWS_WAFV2_API FieldToProtect(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetFieldKeys() const
bool FieldTypeHasBeenSet() const
FieldToProtect & AddFieldKeys(FieldKeysT &&value)
FieldToProtectType GetFieldType() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue