7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
10#include <aws/wafv2/model/FieldToProtectType.h>
45 m_fieldTypeHasBeenSet =
true;
67 template <
typename FieldKeysT = Aws::Vector<Aws::String>>
69 m_fieldKeysHasBeenSet =
true;
70 m_fieldKeys = std::forward<FieldKeysT>(value);
72 template <
typename FieldKeysT = Aws::Vector<Aws::String>>
77 template <
typename FieldKeysT = Aws::String>
79 m_fieldKeysHasBeenSet =
true;
80 m_fieldKeys.emplace_back(std::forward<FieldKeysT>(value));
88 bool m_fieldTypeHasBeenSet =
false;
89 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