AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
XssMatchTuple.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#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 WAF
23{
24namespace Model
25{
26
43 {
44 public:
45 AWS_WAF_API XssMatchTuple();
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 XssMatchTuple& WithFieldToMatch(const FieldToMatch& value) { SetFieldToMatch(value); return *this;}
61 inline XssMatchTuple& 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); }
105 inline XssMatchTuple& WithTextTransformation(TextTransformation&& value) { SetTextTransformation(std::move(value)); return *this;}
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 WAF
118} // namespace Aws
void SetTextTransformation(const TextTransformation &value)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
const TextTransformation & GetTextTransformation() const
XssMatchTuple & WithFieldToMatch(const FieldToMatch &value)
void SetFieldToMatch(const FieldToMatch &value)
void SetTextTransformation(TextTransformation &&value)
XssMatchTuple & WithTextTransformation(TextTransformation &&value)
AWS_WAF_API XssMatchTuple(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API XssMatchTuple & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFieldToMatch(FieldToMatch &&value)
XssMatchTuple & WithTextTransformation(const TextTransformation &value)
XssMatchTuple & WithFieldToMatch(FieldToMatch &&value)
const FieldToMatch & GetFieldToMatch() const
Aws::Utils::Json::JsonValue JsonValue