AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
FirewallRuleGroupAssociation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
9#include <aws/route53resolver/model/FirewallRuleGroupAssociationStatus.h>
10#include <aws/route53resolver/model/MutationProtectionStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Route53Resolver {
22namespace Model {
23
31 public:
32 AWS_ROUTE53RESOLVER_API FirewallRuleGroupAssociation() = default;
33 AWS_ROUTE53RESOLVER_API FirewallRuleGroupAssociation(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetFirewallRuleGroupId() const { return m_firewallRuleGroupId; }
78 inline bool FirewallRuleGroupIdHasBeenSet() const { return m_firewallRuleGroupIdHasBeenSet; }
79 template <typename FirewallRuleGroupIdT = Aws::String>
80 void SetFirewallRuleGroupId(FirewallRuleGroupIdT&& value) {
81 m_firewallRuleGroupIdHasBeenSet = true;
82 m_firewallRuleGroupId = std::forward<FirewallRuleGroupIdT>(value);
83 }
84 template <typename FirewallRuleGroupIdT = Aws::String>
86 SetFirewallRuleGroupId(std::forward<FirewallRuleGroupIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetVpcId() const { return m_vpcId; }
96 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
97 template <typename VpcIdT = Aws::String>
98 void SetVpcId(VpcIdT&& value) {
99 m_vpcIdHasBeenSet = true;
100 m_vpcId = std::forward<VpcIdT>(value);
101 }
102 template <typename VpcIdT = Aws::String>
104 SetVpcId(std::forward<VpcIdT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetName() const { return m_name; }
114 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
115 template <typename NameT = Aws::String>
116 void SetName(NameT&& value) {
117 m_nameHasBeenSet = true;
118 m_name = std::forward<NameT>(value);
119 }
120 template <typename NameT = Aws::String>
122 SetName(std::forward<NameT>(value));
123 return *this;
124 }
126
128
133 inline int GetPriority() const { return m_priority; }
134 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
135 inline void SetPriority(int value) {
136 m_priorityHasBeenSet = true;
137 m_priority = value;
138 }
140 SetPriority(value);
141 return *this;
142 }
144
146
151 inline MutationProtectionStatus GetMutationProtection() const { return m_mutationProtection; }
152 inline bool MutationProtectionHasBeenSet() const { return m_mutationProtectionHasBeenSet; }
154 m_mutationProtectionHasBeenSet = true;
155 m_mutationProtection = value;
156 }
159 return *this;
160 }
162
164
169 inline const Aws::String& GetManagedOwnerName() const { return m_managedOwnerName; }
170 inline bool ManagedOwnerNameHasBeenSet() const { return m_managedOwnerNameHasBeenSet; }
171 template <typename ManagedOwnerNameT = Aws::String>
172 void SetManagedOwnerName(ManagedOwnerNameT&& value) {
173 m_managedOwnerNameHasBeenSet = true;
174 m_managedOwnerName = std::forward<ManagedOwnerNameT>(value);
175 }
176 template <typename ManagedOwnerNameT = Aws::String>
178 SetManagedOwnerName(std::forward<ManagedOwnerNameT>(value));
179 return *this;
180 }
182
184
187 inline FirewallRuleGroupAssociationStatus GetStatus() const { return m_status; }
188 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
190 m_statusHasBeenSet = true;
191 m_status = value;
192 }
194 SetStatus(value);
195 return *this;
196 }
198
200
203 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
204 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
205 template <typename StatusMessageT = Aws::String>
206 void SetStatusMessage(StatusMessageT&& value) {
207 m_statusMessageHasBeenSet = true;
208 m_statusMessage = std::forward<StatusMessageT>(value);
209 }
210 template <typename StatusMessageT = Aws::String>
212 SetStatusMessage(std::forward<StatusMessageT>(value));
213 return *this;
214 }
216
218
223 inline const Aws::String& GetCreatorRequestId() const { return m_creatorRequestId; }
224 inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
225 template <typename CreatorRequestIdT = Aws::String>
226 void SetCreatorRequestId(CreatorRequestIdT&& value) {
227 m_creatorRequestIdHasBeenSet = true;
228 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
229 }
230 template <typename CreatorRequestIdT = Aws::String>
232 SetCreatorRequestId(std::forward<CreatorRequestIdT>(value));
233 return *this;
234 }
236
238
242 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
243 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
244 template <typename CreationTimeT = Aws::String>
245 void SetCreationTime(CreationTimeT&& value) {
246 m_creationTimeHasBeenSet = true;
247 m_creationTime = std::forward<CreationTimeT>(value);
248 }
249 template <typename CreationTimeT = Aws::String>
251 SetCreationTime(std::forward<CreationTimeT>(value));
252 return *this;
253 }
255
257
261 inline const Aws::String& GetModificationTime() const { return m_modificationTime; }
262 inline bool ModificationTimeHasBeenSet() const { return m_modificationTimeHasBeenSet; }
263 template <typename ModificationTimeT = Aws::String>
264 void SetModificationTime(ModificationTimeT&& value) {
265 m_modificationTimeHasBeenSet = true;
266 m_modificationTime = std::forward<ModificationTimeT>(value);
267 }
268 template <typename ModificationTimeT = Aws::String>
270 SetModificationTime(std::forward<ModificationTimeT>(value));
271 return *this;
272 }
274 private:
275 Aws::String m_id;
276
277 Aws::String m_arn;
278
279 Aws::String m_firewallRuleGroupId;
280
281 Aws::String m_vpcId;
282
283 Aws::String m_name;
284
285 int m_priority{0};
286
288
289 Aws::String m_managedOwnerName;
290
292
293 Aws::String m_statusMessage;
294
295 Aws::String m_creatorRequestId;
296
297 Aws::String m_creationTime;
298
299 Aws::String m_modificationTime;
300 bool m_idHasBeenSet = false;
301 bool m_arnHasBeenSet = false;
302 bool m_firewallRuleGroupIdHasBeenSet = false;
303 bool m_vpcIdHasBeenSet = false;
304 bool m_nameHasBeenSet = false;
305 bool m_priorityHasBeenSet = false;
306 bool m_mutationProtectionHasBeenSet = false;
307 bool m_managedOwnerNameHasBeenSet = false;
308 bool m_statusHasBeenSet = false;
309 bool m_statusMessageHasBeenSet = false;
310 bool m_creatorRequestIdHasBeenSet = false;
311 bool m_creationTimeHasBeenSet = false;
312 bool m_modificationTimeHasBeenSet = false;
313};
314
315} // namespace Model
316} // namespace Route53Resolver
317} // namespace Aws
FirewallRuleGroupAssociation & WithModificationTime(ModificationTimeT &&value)
FirewallRuleGroupAssociation & WithStatus(FirewallRuleGroupAssociationStatus value)
FirewallRuleGroupAssociation & WithCreatorRequestId(CreatorRequestIdT &&value)
AWS_ROUTE53RESOLVER_API FirewallRuleGroupAssociation(Aws::Utils::Json::JsonView jsonValue)
FirewallRuleGroupAssociation & WithManagedOwnerName(ManagedOwnerNameT &&value)
FirewallRuleGroupAssociation & WithCreationTime(CreationTimeT &&value)
AWS_ROUTE53RESOLVER_API FirewallRuleGroupAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
FirewallRuleGroupAssociation & WithMutationProtection(MutationProtectionStatus value)
FirewallRuleGroupAssociation & WithFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
FirewallRuleGroupAssociation & WithStatusMessage(StatusMessageT &&value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53RESOLVER_API FirewallRuleGroupAssociation()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue