AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegexPatternSetSummary.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
36 {
37 public:
38 AWS_WAFV2_API RegexPatternSetSummary();
41 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline RegexPatternSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline RegexPatternSetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline RegexPatternSetSummary& WithName(const char* value) { SetName(value); return *this;}
58
60
65 inline const Aws::String& GetId() const{ return m_id; }
66 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
67 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
68 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
69 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
70 inline RegexPatternSetSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
71 inline RegexPatternSetSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
72 inline RegexPatternSetSummary& WithId(const char* value) { SetId(value); return *this;}
74
76
79 inline const Aws::String& GetDescription() const{ return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
82 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
83 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
84 inline RegexPatternSetSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
85 inline RegexPatternSetSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
86 inline RegexPatternSetSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
88
90
100 inline const Aws::String& GetLockToken() const{ return m_lockToken; }
101 inline bool LockTokenHasBeenSet() const { return m_lockTokenHasBeenSet; }
102 inline void SetLockToken(const Aws::String& value) { m_lockTokenHasBeenSet = true; m_lockToken = value; }
103 inline void SetLockToken(Aws::String&& value) { m_lockTokenHasBeenSet = true; m_lockToken = std::move(value); }
104 inline void SetLockToken(const char* value) { m_lockTokenHasBeenSet = true; m_lockToken.assign(value); }
105 inline RegexPatternSetSummary& WithLockToken(const Aws::String& value) { SetLockToken(value); return *this;}
106 inline RegexPatternSetSummary& WithLockToken(Aws::String&& value) { SetLockToken(std::move(value)); return *this;}
107 inline RegexPatternSetSummary& WithLockToken(const char* value) { SetLockToken(value); return *this;}
109
111
114 inline const Aws::String& GetARN() const{ return m_aRN; }
115 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
116 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
117 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
118 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
119 inline RegexPatternSetSummary& WithARN(const Aws::String& value) { SetARN(value); return *this;}
120 inline RegexPatternSetSummary& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
121 inline RegexPatternSetSummary& WithARN(const char* value) { SetARN(value); return *this;}
123 private:
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 Aws::String m_id;
129 bool m_idHasBeenSet = false;
130
131 Aws::String m_description;
132 bool m_descriptionHasBeenSet = false;
133
134 Aws::String m_lockToken;
135 bool m_lockTokenHasBeenSet = false;
136
137 Aws::String m_aRN;
138 bool m_aRNHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace WAFV2
143} // namespace Aws
RegexPatternSetSummary & WithDescription(Aws::String &&value)
RegexPatternSetSummary & WithId(const char *value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
RegexPatternSetSummary & WithId(const Aws::String &value)
AWS_WAFV2_API RegexPatternSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RegexPatternSetSummary & WithDescription(const char *value)
RegexPatternSetSummary & WithARN(Aws::String &&value)
void SetDescription(const Aws::String &value)
RegexPatternSetSummary & WithId(Aws::String &&value)
RegexPatternSetSummary & WithDescription(const Aws::String &value)
RegexPatternSetSummary & WithLockToken(Aws::String &&value)
RegexPatternSetSummary & WithName(Aws::String &&value)
RegexPatternSetSummary & WithARN(const char *value)
RegexPatternSetSummary & WithARN(const Aws::String &value)
RegexPatternSetSummary & WithLockToken(const char *value)
RegexPatternSetSummary & WithName(const char *value)
AWS_WAFV2_API RegexPatternSetSummary(Aws::Utils::Json::JsonView jsonValue)
RegexPatternSetSummary & WithLockToken(const Aws::String &value)
RegexPatternSetSummary & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue