AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Regex.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WAFV2
22{
23namespace Model
24{
25
32 class Regex
33 {
34 public:
35 AWS_WAFV2_API Regex();
36 AWS_WAFV2_API Regex(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WAFV2_API Regex& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetRegexString() const{ return m_regexString; }
46 inline bool RegexStringHasBeenSet() const { return m_regexStringHasBeenSet; }
47 inline void SetRegexString(const Aws::String& value) { m_regexStringHasBeenSet = true; m_regexString = value; }
48 inline void SetRegexString(Aws::String&& value) { m_regexStringHasBeenSet = true; m_regexString = std::move(value); }
49 inline void SetRegexString(const char* value) { m_regexStringHasBeenSet = true; m_regexString.assign(value); }
50 inline Regex& WithRegexString(const Aws::String& value) { SetRegexString(value); return *this;}
51 inline Regex& WithRegexString(Aws::String&& value) { SetRegexString(std::move(value)); return *this;}
52 inline Regex& WithRegexString(const char* value) { SetRegexString(value); return *this;}
54 private:
55
56 Aws::String m_regexString;
57 bool m_regexStringHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace WAFV2
62} // namespace Aws
void SetRegexString(const char *value)
Definition Regex.h:49
void SetRegexString(Aws::String &&value)
Definition Regex.h:48
bool RegexStringHasBeenSet() const
Definition Regex.h:46
AWS_WAFV2_API Regex(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRegexString() const
Definition Regex.h:45
void SetRegexString(const Aws::String &value)
Definition Regex.h:47
AWS_WAFV2_API Regex & operator=(Aws::Utils::Json::JsonView jsonValue)
Regex & WithRegexString(const char *value)
Definition Regex.h:52
AWS_WAFV2_API Regex()
Regex & WithRegexString(Aws::String &&value)
Definition Regex.h:51
Regex & WithRegexString(const Aws::String &value)
Definition Regex.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue