AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SqlInjectionMatchTuple.h
1
6#pragma once
7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/FieldToMatch.h>
9#include <aws/waf/model/TextTransformation.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WAF {
21namespace Model {
22
39 public:
40 AWS_WAF_API SqlInjectionMatchTuple() = default;
44
46
50 inline const FieldToMatch& GetFieldToMatch() const { return m_fieldToMatch; }
51 inline bool FieldToMatchHasBeenSet() const { return m_fieldToMatchHasBeenSet; }
52 template <typename FieldToMatchT = FieldToMatch>
53 void SetFieldToMatch(FieldToMatchT&& value) {
54 m_fieldToMatchHasBeenSet = true;
55 m_fieldToMatch = std::forward<FieldToMatchT>(value);
56 }
57 template <typename FieldToMatchT = FieldToMatch>
58 SqlInjectionMatchTuple& WithFieldToMatch(FieldToMatchT&& value) {
59 SetFieldToMatch(std::forward<FieldToMatchT>(value));
60 return *this;
61 }
63
65
100 inline TextTransformation GetTextTransformation() const { return m_textTransformation; }
101 inline bool TextTransformationHasBeenSet() const { return m_textTransformationHasBeenSet; }
103 m_textTransformationHasBeenSet = true;
104 m_textTransformation = value;
105 }
108 return *this;
109 }
111 private:
112 FieldToMatch m_fieldToMatch;
113
115 bool m_fieldToMatchHasBeenSet = false;
116 bool m_textTransformationHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace WAF
121} // namespace Aws
SqlInjectionMatchTuple & WithTextTransformation(TextTransformation value)
AWS_WAF_API SqlInjectionMatchTuple(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API SqlInjectionMatchTuple()=default
AWS_WAF_API SqlInjectionMatchTuple & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
SqlInjectionMatchTuple & WithFieldToMatch(FieldToMatchT &&value)
void SetTextTransformation(TextTransformation value)
Aws::Utils::Json::JsonValue JsonValue