AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegexPatternSetReferenceStatement.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wafv2/model/FieldToMatch.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/wafv2/model/TextTransformation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace WAFV2
25{
26namespace Model
27{
28
44 {
45 public:
49 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
57 inline const Aws::String& GetARN() const{ return m_aRN; }
58 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
59 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
60 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
61 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
62 inline RegexPatternSetReferenceStatement& WithARN(const Aws::String& value) { SetARN(value); return *this;}
63 inline RegexPatternSetReferenceStatement& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
64 inline RegexPatternSetReferenceStatement& WithARN(const char* value) { SetARN(value); return *this;}
66
68
71 inline const FieldToMatch& GetFieldToMatch() const{ return m_fieldToMatch; }
72 inline bool FieldToMatchHasBeenSet() const { return m_fieldToMatchHasBeenSet; }
73 inline void SetFieldToMatch(const FieldToMatch& value) { m_fieldToMatchHasBeenSet = true; m_fieldToMatch = value; }
74 inline void SetFieldToMatch(FieldToMatch&& value) { m_fieldToMatchHasBeenSet = true; m_fieldToMatch = std::move(value); }
76 inline RegexPatternSetReferenceStatement& WithFieldToMatch(FieldToMatch&& value) { SetFieldToMatch(std::move(value)); return *this;}
78
80
90 inline const Aws::Vector<TextTransformation>& GetTextTransformations() const{ return m_textTransformations; }
91 inline bool TextTransformationsHasBeenSet() const { return m_textTransformationsHasBeenSet; }
92 inline void SetTextTransformations(const Aws::Vector<TextTransformation>& value) { m_textTransformationsHasBeenSet = true; m_textTransformations = value; }
93 inline void SetTextTransformations(Aws::Vector<TextTransformation>&& value) { m_textTransformationsHasBeenSet = true; m_textTransformations = std::move(value); }
96 inline RegexPatternSetReferenceStatement& AddTextTransformations(const TextTransformation& value) { m_textTransformationsHasBeenSet = true; m_textTransformations.push_back(value); return *this; }
97 inline RegexPatternSetReferenceStatement& AddTextTransformations(TextTransformation&& value) { m_textTransformationsHasBeenSet = true; m_textTransformations.push_back(std::move(value)); return *this; }
99 private:
100
101 Aws::String m_aRN;
102 bool m_aRNHasBeenSet = false;
103
104 FieldToMatch m_fieldToMatch;
105 bool m_fieldToMatchHasBeenSet = false;
106
107 Aws::Vector<TextTransformation> m_textTransformations;
108 bool m_textTransformationsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace WAFV2
113} // namespace Aws
RegexPatternSetReferenceStatement & WithARN(const char *value)
RegexPatternSetReferenceStatement & WithARN(Aws::String &&value)
AWS_WAFV2_API RegexPatternSetReferenceStatement(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
RegexPatternSetReferenceStatement & WithTextTransformations(Aws::Vector< TextTransformation > &&value)
RegexPatternSetReferenceStatement & AddTextTransformations(TextTransformation &&value)
RegexPatternSetReferenceStatement & AddTextTransformations(const TextTransformation &value)
void SetTextTransformations(const Aws::Vector< TextTransformation > &value)
void SetTextTransformations(Aws::Vector< TextTransformation > &&value)
AWS_WAFV2_API RegexPatternSetReferenceStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
RegexPatternSetReferenceStatement & WithFieldToMatch(const FieldToMatch &value)
RegexPatternSetReferenceStatement & WithFieldToMatch(FieldToMatch &&value)
const Aws::Vector< TextTransformation > & GetTextTransformations() const
RegexPatternSetReferenceStatement & WithARN(const Aws::String &value)
RegexPatternSetReferenceStatement & WithTextTransformations(const Aws::Vector< TextTransformation > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue