AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
49
50
52
56 inline const FieldToMatch& GetFieldToMatch() const { return m_fieldToMatch; }
57 inline bool FieldToMatchHasBeenSet() const { return m_fieldToMatchHasBeenSet; }
58 template<typename FieldToMatchT = FieldToMatch>
59 void SetFieldToMatch(FieldToMatchT&& value) { m_fieldToMatchHasBeenSet = true; m_fieldToMatch = std::forward<FieldToMatchT>(value); }
60 template<typename FieldToMatchT = FieldToMatch>
61 XssMatchTuple& WithFieldToMatch(FieldToMatchT&& value) { SetFieldToMatch(std::forward<FieldToMatchT>(value)); return *this;}
63
65
100 inline TextTransformation GetTextTransformation() const { return m_textTransformation; }
101 inline bool TextTransformationHasBeenSet() const { return m_textTransformationHasBeenSet; }
102 inline void SetTextTransformation(TextTransformation value) { m_textTransformationHasBeenSet = true; m_textTransformation = value; }
105 private:
106
107 FieldToMatch m_fieldToMatch;
108 bool m_fieldToMatchHasBeenSet = false;
109
111 bool m_textTransformationHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace WAF
116} // namespace Aws
void SetTextTransformation(TextTransformation value)
AWS_WAF_API XssMatchTuple()=default
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
XssMatchTuple & WithTextTransformation(TextTransformation value)
XssMatchTuple & WithFieldToMatch(FieldToMatchT &&value)
AWS_WAF_API XssMatchTuple(Aws::Utils::Json::JsonView jsonValue)
TextTransformation GetTextTransformation() const
AWS_WAF_API XssMatchTuple & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFieldToMatch(FieldToMatchT &&value)
const FieldToMatch & GetFieldToMatch() const
Aws::Utils::Json::JsonValue JsonValue