AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegexMatchTuple.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 <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace WAF
24{
25namespace Model
26{
27
51 {
52 public:
53 AWS_WAF_API RegexMatchTuple();
57
58
60
64 inline const FieldToMatch& GetFieldToMatch() const{ return m_fieldToMatch; }
65 inline bool FieldToMatchHasBeenSet() const { return m_fieldToMatchHasBeenSet; }
66 inline void SetFieldToMatch(const FieldToMatch& value) { m_fieldToMatchHasBeenSet = true; m_fieldToMatch = value; }
67 inline void SetFieldToMatch(FieldToMatch&& value) { m_fieldToMatchHasBeenSet = true; m_fieldToMatch = std::move(value); }
68 inline RegexMatchTuple& WithFieldToMatch(const FieldToMatch& value) { SetFieldToMatch(value); return *this;}
69 inline RegexMatchTuple& WithFieldToMatch(FieldToMatch&& value) { SetFieldToMatch(std::move(value)); return *this;}
71
73
108 inline const TextTransformation& GetTextTransformation() const{ return m_textTransformation; }
109 inline bool TextTransformationHasBeenSet() const { return m_textTransformationHasBeenSet; }
110 inline void SetTextTransformation(const TextTransformation& value) { m_textTransformationHasBeenSet = true; m_textTransformation = value; }
111 inline void SetTextTransformation(TextTransformation&& value) { m_textTransformationHasBeenSet = true; m_textTransformation = std::move(value); }
113 inline RegexMatchTuple& WithTextTransformation(TextTransformation&& value) { SetTextTransformation(std::move(value)); return *this;}
115
117
128 inline const Aws::String& GetRegexPatternSetId() const{ return m_regexPatternSetId; }
129 inline bool RegexPatternSetIdHasBeenSet() const { return m_regexPatternSetIdHasBeenSet; }
130 inline void SetRegexPatternSetId(const Aws::String& value) { m_regexPatternSetIdHasBeenSet = true; m_regexPatternSetId = value; }
131 inline void SetRegexPatternSetId(Aws::String&& value) { m_regexPatternSetIdHasBeenSet = true; m_regexPatternSetId = std::move(value); }
132 inline void SetRegexPatternSetId(const char* value) { m_regexPatternSetIdHasBeenSet = true; m_regexPatternSetId.assign(value); }
133 inline RegexMatchTuple& WithRegexPatternSetId(const Aws::String& value) { SetRegexPatternSetId(value); return *this;}
134 inline RegexMatchTuple& WithRegexPatternSetId(Aws::String&& value) { SetRegexPatternSetId(std::move(value)); return *this;}
135 inline RegexMatchTuple& WithRegexPatternSetId(const char* value) { SetRegexPatternSetId(value); return *this;}
137 private:
138
139 FieldToMatch m_fieldToMatch;
140 bool m_fieldToMatchHasBeenSet = false;
141
142 TextTransformation m_textTransformation;
143 bool m_textTransformationHasBeenSet = false;
144
145 Aws::String m_regexPatternSetId;
146 bool m_regexPatternSetIdHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace WAF
151} // namespace Aws
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRegexPatternSetId(const Aws::String &value)
void SetRegexPatternSetId(Aws::String &&value)
AWS_WAF_API RegexMatchTuple & operator=(Aws::Utils::Json::JsonView jsonValue)
RegexMatchTuple & WithRegexPatternSetId(const char *value)
const Aws::String & GetRegexPatternSetId() const
AWS_WAF_API RegexMatchTuple(Aws::Utils::Json::JsonView jsonValue)
void SetRegexPatternSetId(const char *value)
RegexMatchTuple & WithTextTransformation(TextTransformation &&value)
RegexMatchTuple & WithRegexPatternSetId(const Aws::String &value)
const FieldToMatch & GetFieldToMatch() const
void SetFieldToMatch(FieldToMatch &&value)
const TextTransformation & GetTextTransformation() const
RegexMatchTuple & WithTextTransformation(const TextTransformation &value)
void SetTextTransformation(TextTransformation &&value)
RegexMatchTuple & WithFieldToMatch(FieldToMatch &&value)
void SetTextTransformation(const TextTransformation &value)
RegexMatchTuple & WithFieldToMatch(const FieldToMatch &value)
RegexMatchTuple & WithRegexPatternSetId(Aws::String &&value)
void SetFieldToMatch(const FieldToMatch &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue