AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
RegexPatternSetSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WAFV2 {
20namespace Model {
21
32 public:
33 AWS_WAFV2_API RegexPatternSetSummary() = default;
36 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 template <typename NameT = Aws::String>
46 void SetName(NameT&& value) {
47 m_nameHasBeenSet = true;
48 m_name = std::forward<NameT>(value);
49 }
50 template <typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
53 return *this;
54 }
56
58
63 inline const Aws::String& GetId() const { return m_id; }
64 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
65 template <typename IdT = Aws::String>
66 void SetId(IdT&& value) {
67 m_idHasBeenSet = true;
68 m_id = std::forward<IdT>(value);
69 }
70 template <typename IdT = Aws::String>
72 SetId(std::forward<IdT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template <typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) {
85 m_descriptionHasBeenSet = true;
86 m_description = std::forward<DescriptionT>(value);
87 }
88 template <typename DescriptionT = Aws::String>
89 RegexPatternSetSummary& WithDescription(DescriptionT&& value) {
90 SetDescription(std::forward<DescriptionT>(value));
91 return *this;
92 }
94
96
106 inline const Aws::String& GetLockToken() const { return m_lockToken; }
107 inline bool LockTokenHasBeenSet() const { return m_lockTokenHasBeenSet; }
108 template <typename LockTokenT = Aws::String>
109 void SetLockToken(LockTokenT&& value) {
110 m_lockTokenHasBeenSet = true;
111 m_lockToken = std::forward<LockTokenT>(value);
112 }
113 template <typename LockTokenT = Aws::String>
115 SetLockToken(std::forward<LockTokenT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetARN() const { return m_aRN; }
125 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
126 template <typename ARNT = Aws::String>
127 void SetARN(ARNT&& value) {
128 m_aRNHasBeenSet = true;
129 m_aRN = std::forward<ARNT>(value);
130 }
131 template <typename ARNT = Aws::String>
133 SetARN(std::forward<ARNT>(value));
134 return *this;
135 }
137 private:
138 Aws::String m_name;
139
140 Aws::String m_id;
141
142 Aws::String m_description;
143
144 Aws::String m_lockToken;
145
146 Aws::String m_aRN;
147 bool m_nameHasBeenSet = false;
148 bool m_idHasBeenSet = false;
149 bool m_descriptionHasBeenSet = false;
150 bool m_lockTokenHasBeenSet = false;
151 bool m_aRNHasBeenSet = false;
152};
153
154} // namespace Model
155} // namespace WAFV2
156} // namespace Aws
RegexPatternSetSummary & WithLockToken(LockTokenT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
RegexPatternSetSummary & WithARN(ARNT &&value)
AWS_WAFV2_API RegexPatternSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RegexPatternSetSummary & WithName(NameT &&value)
RegexPatternSetSummary & WithDescription(DescriptionT &&value)
AWS_WAFV2_API RegexPatternSetSummary()=default
AWS_WAFV2_API RegexPatternSetSummary(Aws::Utils::Json::JsonView jsonValue)
RegexPatternSetSummary & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue