AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FirewallRuleGroupAssociation.h
1
6#pragma once
7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53resolver/model/MutationProtectionStatus.h>
10#include <aws/route53resolver/model/FirewallRuleGroupAssociationStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Route53Resolver
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ROUTE53RESOLVER_API FirewallRuleGroupAssociation();
38 AWS_ROUTE53RESOLVER_API FirewallRuleGroupAssociation(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline FirewallRuleGroupAssociation& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline FirewallRuleGroupAssociation& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline FirewallRuleGroupAssociation& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline FirewallRuleGroupAssociation& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline FirewallRuleGroupAssociation& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline FirewallRuleGroupAssociation& WithArn(const char* value) { SetArn(value); return *this;}
70
72
75 inline const Aws::String& GetFirewallRuleGroupId() const{ return m_firewallRuleGroupId; }
76 inline bool FirewallRuleGroupIdHasBeenSet() const { return m_firewallRuleGroupIdHasBeenSet; }
77 inline void SetFirewallRuleGroupId(const Aws::String& value) { m_firewallRuleGroupIdHasBeenSet = true; m_firewallRuleGroupId = value; }
78 inline void SetFirewallRuleGroupId(Aws::String&& value) { m_firewallRuleGroupIdHasBeenSet = true; m_firewallRuleGroupId = std::move(value); }
79 inline void SetFirewallRuleGroupId(const char* value) { m_firewallRuleGroupIdHasBeenSet = true; m_firewallRuleGroupId.assign(value); }
82 inline FirewallRuleGroupAssociation& WithFirewallRuleGroupId(const char* value) { SetFirewallRuleGroupId(value); return *this;}
84
86
89 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
90 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
91 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
92 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
93 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
94 inline FirewallRuleGroupAssociation& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
95 inline FirewallRuleGroupAssociation& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
96 inline FirewallRuleGroupAssociation& WithVpcId(const char* value) { SetVpcId(value); return *this;}
98
100
103 inline const Aws::String& GetName() const{ return m_name; }
104 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
105 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
106 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
107 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
108 inline FirewallRuleGroupAssociation& WithName(const Aws::String& value) { SetName(value); return *this;}
109 inline FirewallRuleGroupAssociation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
110 inline FirewallRuleGroupAssociation& WithName(const char* value) { SetName(value); return *this;}
112
114
119 inline int GetPriority() const{ return m_priority; }
120 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
121 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
122 inline FirewallRuleGroupAssociation& WithPriority(int value) { SetPriority(value); return *this;}
124
126
131 inline const MutationProtectionStatus& GetMutationProtection() const{ return m_mutationProtection; }
132 inline bool MutationProtectionHasBeenSet() const { return m_mutationProtectionHasBeenSet; }
133 inline void SetMutationProtection(const MutationProtectionStatus& value) { m_mutationProtectionHasBeenSet = true; m_mutationProtection = value; }
134 inline void SetMutationProtection(MutationProtectionStatus&& value) { m_mutationProtectionHasBeenSet = true; m_mutationProtection = std::move(value); }
138
140
145 inline const Aws::String& GetManagedOwnerName() const{ return m_managedOwnerName; }
146 inline bool ManagedOwnerNameHasBeenSet() const { return m_managedOwnerNameHasBeenSet; }
147 inline void SetManagedOwnerName(const Aws::String& value) { m_managedOwnerNameHasBeenSet = true; m_managedOwnerName = value; }
148 inline void SetManagedOwnerName(Aws::String&& value) { m_managedOwnerNameHasBeenSet = true; m_managedOwnerName = std::move(value); }
149 inline void SetManagedOwnerName(const char* value) { m_managedOwnerNameHasBeenSet = true; m_managedOwnerName.assign(value); }
151 inline FirewallRuleGroupAssociation& WithManagedOwnerName(Aws::String&& value) { SetManagedOwnerName(std::move(value)); return *this;}
152 inline FirewallRuleGroupAssociation& WithManagedOwnerName(const char* value) { SetManagedOwnerName(value); return *this;}
154
156
159 inline const FirewallRuleGroupAssociationStatus& GetStatus() const{ return m_status; }
160 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
161 inline void SetStatus(const FirewallRuleGroupAssociationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
162 inline void SetStatus(FirewallRuleGroupAssociationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
164 inline FirewallRuleGroupAssociation& WithStatus(FirewallRuleGroupAssociationStatus&& value) { SetStatus(std::move(value)); return *this;}
166
168
171 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
172 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
173 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
174 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
175 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
176 inline FirewallRuleGroupAssociation& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
177 inline FirewallRuleGroupAssociation& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
178 inline FirewallRuleGroupAssociation& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
180
182
187 inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
188 inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
189 inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = value; }
190 inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::move(value); }
191 inline void SetCreatorRequestId(const char* value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId.assign(value); }
193 inline FirewallRuleGroupAssociation& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
194 inline FirewallRuleGroupAssociation& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
196
198
202 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
203 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
204 inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
205 inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
206 inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); }
207 inline FirewallRuleGroupAssociation& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
208 inline FirewallRuleGroupAssociation& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
209 inline FirewallRuleGroupAssociation& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
211
213
217 inline const Aws::String& GetModificationTime() const{ return m_modificationTime; }
218 inline bool ModificationTimeHasBeenSet() const { return m_modificationTimeHasBeenSet; }
219 inline void SetModificationTime(const Aws::String& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = value; }
220 inline void SetModificationTime(Aws::String&& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = std::move(value); }
221 inline void SetModificationTime(const char* value) { m_modificationTimeHasBeenSet = true; m_modificationTime.assign(value); }
223 inline FirewallRuleGroupAssociation& WithModificationTime(Aws::String&& value) { SetModificationTime(std::move(value)); return *this;}
224 inline FirewallRuleGroupAssociation& WithModificationTime(const char* value) { SetModificationTime(value); return *this;}
226 private:
227
228 Aws::String m_id;
229 bool m_idHasBeenSet = false;
230
231 Aws::String m_arn;
232 bool m_arnHasBeenSet = false;
233
234 Aws::String m_firewallRuleGroupId;
235 bool m_firewallRuleGroupIdHasBeenSet = false;
236
237 Aws::String m_vpcId;
238 bool m_vpcIdHasBeenSet = false;
239
240 Aws::String m_name;
241 bool m_nameHasBeenSet = false;
242
243 int m_priority;
244 bool m_priorityHasBeenSet = false;
245
246 MutationProtectionStatus m_mutationProtection;
247 bool m_mutationProtectionHasBeenSet = false;
248
249 Aws::String m_managedOwnerName;
250 bool m_managedOwnerNameHasBeenSet = false;
251
253 bool m_statusHasBeenSet = false;
254
255 Aws::String m_statusMessage;
256 bool m_statusMessageHasBeenSet = false;
257
258 Aws::String m_creatorRequestId;
259 bool m_creatorRequestIdHasBeenSet = false;
260
261 Aws::String m_creationTime;
262 bool m_creationTimeHasBeenSet = false;
263
264 Aws::String m_modificationTime;
265 bool m_modificationTimeHasBeenSet = false;
266 };
267
268} // namespace Model
269} // namespace Route53Resolver
270} // namespace Aws
FirewallRuleGroupAssociation & WithArn(const Aws::String &value)
FirewallRuleGroupAssociation & WithStatusMessage(const char *value)
FirewallRuleGroupAssociation & WithArn(const char *value)
FirewallRuleGroupAssociation & WithModificationTime(const char *value)
FirewallRuleGroupAssociation & WithCreatorRequestId(const char *value)
FirewallRuleGroupAssociation & WithManagedOwnerName(const Aws::String &value)
FirewallRuleGroupAssociation & WithName(const Aws::String &value)
FirewallRuleGroupAssociation & WithName(Aws::String &&value)
FirewallRuleGroupAssociation & WithModificationTime(Aws::String &&value)
FirewallRuleGroupAssociation & WithModificationTime(const Aws::String &value)
FirewallRuleGroupAssociation & WithCreationTime(const Aws::String &value)
FirewallRuleGroupAssociation & WithCreatorRequestId(Aws::String &&value)
FirewallRuleGroupAssociation & WithVpcId(Aws::String &&value)
FirewallRuleGroupAssociation & WithStatus(const FirewallRuleGroupAssociationStatus &value)
FirewallRuleGroupAssociation & WithVpcId(const Aws::String &value)
FirewallRuleGroupAssociation & WithMutationProtection(const MutationProtectionStatus &value)
const FirewallRuleGroupAssociationStatus & GetStatus() const
FirewallRuleGroupAssociation & WithId(Aws::String &&value)
AWS_ROUTE53RESOLVER_API FirewallRuleGroupAssociation(Aws::Utils::Json::JsonView jsonValue)
FirewallRuleGroupAssociation & WithManagedOwnerName(Aws::String &&value)
FirewallRuleGroupAssociation & WithCreationTime(Aws::String &&value)
FirewallRuleGroupAssociation & WithId(const char *value)
void SetMutationProtection(const MutationProtectionStatus &value)
FirewallRuleGroupAssociation & WithManagedOwnerName(const char *value)
FirewallRuleGroupAssociation & WithArn(Aws::String &&value)
FirewallRuleGroupAssociation & WithMutationProtection(MutationProtectionStatus &&value)
FirewallRuleGroupAssociation & WithStatus(FirewallRuleGroupAssociationStatus &&value)
AWS_ROUTE53RESOLVER_API FirewallRuleGroupAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const FirewallRuleGroupAssociationStatus &value)
FirewallRuleGroupAssociation & WithFirewallRuleGroupId(const Aws::String &value)
FirewallRuleGroupAssociation & WithName(const char *value)
FirewallRuleGroupAssociation & WithVpcId(const char *value)
FirewallRuleGroupAssociation & WithId(const Aws::String &value)
FirewallRuleGroupAssociation & WithCreatorRequestId(const Aws::String &value)
FirewallRuleGroupAssociation & WithFirewallRuleGroupId(const char *value)
FirewallRuleGroupAssociation & WithStatusMessage(const Aws::String &value)
void SetStatus(FirewallRuleGroupAssociationStatus &&value)
FirewallRuleGroupAssociation & WithStatusMessage(Aws::String &&value)
FirewallRuleGroupAssociation & WithCreationTime(const char *value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
FirewallRuleGroupAssociation & WithFirewallRuleGroupId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue