AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SqlInjectionMatchTuple.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/model/FieldToMatch.h>
9#include <aws/waf-regional/model/TextTransformation.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WAFRegional
23{
24namespace Model
25{
26
43 {
44 public:
45 AWS_WAFREGIONAL_API SqlInjectionMatchTuple();
46 AWS_WAFREGIONAL_API SqlInjectionMatchTuple(Aws::Utils::Json::JsonView jsonValue);
48 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
56 inline const FieldToMatch& GetFieldToMatch() const{ return m_fieldToMatch; }
57 inline bool FieldToMatchHasBeenSet() const { return m_fieldToMatchHasBeenSet; }
58 inline void SetFieldToMatch(const FieldToMatch& value) { m_fieldToMatchHasBeenSet = true; m_fieldToMatch = value; }
59 inline void SetFieldToMatch(FieldToMatch&& value) { m_fieldToMatchHasBeenSet = true; m_fieldToMatch = std::move(value); }
60 inline SqlInjectionMatchTuple& WithFieldToMatch(const FieldToMatch& value) { SetFieldToMatch(value); return *this;}
61 inline SqlInjectionMatchTuple& WithFieldToMatch(FieldToMatch&& value) { SetFieldToMatch(std::move(value)); return *this;}
63
65
100 inline const TextTransformation& GetTextTransformation() const{ return m_textTransformation; }
101 inline bool TextTransformationHasBeenSet() const { return m_textTransformationHasBeenSet; }
102 inline void SetTextTransformation(const TextTransformation& value) { m_textTransformationHasBeenSet = true; m_textTransformation = value; }
103 inline void SetTextTransformation(TextTransformation&& value) { m_textTransformationHasBeenSet = true; m_textTransformation = std::move(value); }
107 private:
108
109 FieldToMatch m_fieldToMatch;
110 bool m_fieldToMatchHasBeenSet = false;
111
112 TextTransformation m_textTransformation;
113 bool m_textTransformationHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace WAFRegional
118} // namespace Aws
const TextTransformation & GetTextTransformation() const
AWS_WAFREGIONAL_API SqlInjectionMatchTuple & operator=(Aws::Utils::Json::JsonView jsonValue)
SqlInjectionMatchTuple & WithTextTransformation(const TextTransformation &value)
SqlInjectionMatchTuple & WithFieldToMatch(FieldToMatch &&value)
SqlInjectionMatchTuple & WithFieldToMatch(const FieldToMatch &value)
AWS_WAFREGIONAL_API SqlInjectionMatchTuple(Aws::Utils::Json::JsonView jsonValue)
void SetTextTransformation(const TextTransformation &value)
SqlInjectionMatchTuple & WithTextTransformation(TextTransformation &&value)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue