AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 FirewallRuleGroupAssociation& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 FirewallRuleGroupAssociation& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetFirewallRuleGroupId() const { return m_firewallRuleGroupId; }
72 inline bool FirewallRuleGroupIdHasBeenSet() const { return m_firewallRuleGroupIdHasBeenSet; }
73 template<typename FirewallRuleGroupIdT = Aws::String>
74 void SetFirewallRuleGroupId(FirewallRuleGroupIdT&& value) { m_firewallRuleGroupIdHasBeenSet = true; m_firewallRuleGroupId = std::forward<FirewallRuleGroupIdT>(value); }
75 template<typename FirewallRuleGroupIdT = Aws::String>
76 FirewallRuleGroupAssociation& WithFirewallRuleGroupId(FirewallRuleGroupIdT&& value) { SetFirewallRuleGroupId(std::forward<FirewallRuleGroupIdT>(value)); return *this;}
78
80
83 inline const Aws::String& GetVpcId() const { return m_vpcId; }
84 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
85 template<typename VpcIdT = Aws::String>
86 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
87 template<typename VpcIdT = Aws::String>
88 FirewallRuleGroupAssociation& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
90
92
95 inline const Aws::String& GetName() const { return m_name; }
96 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
97 template<typename NameT = Aws::String>
98 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
99 template<typename NameT = Aws::String>
100 FirewallRuleGroupAssociation& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
102
104
109 inline int GetPriority() const { return m_priority; }
110 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
111 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
112 inline FirewallRuleGroupAssociation& WithPriority(int value) { SetPriority(value); return *this;}
114
116
121 inline MutationProtectionStatus GetMutationProtection() const { return m_mutationProtection; }
122 inline bool MutationProtectionHasBeenSet() const { return m_mutationProtectionHasBeenSet; }
123 inline void SetMutationProtection(MutationProtectionStatus value) { m_mutationProtectionHasBeenSet = true; m_mutationProtection = value; }
126
128
133 inline const Aws::String& GetManagedOwnerName() const { return m_managedOwnerName; }
134 inline bool ManagedOwnerNameHasBeenSet() const { return m_managedOwnerNameHasBeenSet; }
135 template<typename ManagedOwnerNameT = Aws::String>
136 void SetManagedOwnerName(ManagedOwnerNameT&& value) { m_managedOwnerNameHasBeenSet = true; m_managedOwnerName = std::forward<ManagedOwnerNameT>(value); }
137 template<typename ManagedOwnerNameT = Aws::String>
138 FirewallRuleGroupAssociation& WithManagedOwnerName(ManagedOwnerNameT&& value) { SetManagedOwnerName(std::forward<ManagedOwnerNameT>(value)); return *this;}
140
142
145 inline FirewallRuleGroupAssociationStatus GetStatus() const { return m_status; }
146 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
147 inline void SetStatus(FirewallRuleGroupAssociationStatus value) { m_statusHasBeenSet = true; m_status = value; }
150
152
155 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
156 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
157 template<typename StatusMessageT = Aws::String>
158 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
159 template<typename StatusMessageT = Aws::String>
160 FirewallRuleGroupAssociation& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
162
164
169 inline const Aws::String& GetCreatorRequestId() const { return m_creatorRequestId; }
170 inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
171 template<typename CreatorRequestIdT = Aws::String>
172 void SetCreatorRequestId(CreatorRequestIdT&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::forward<CreatorRequestIdT>(value); }
173 template<typename CreatorRequestIdT = Aws::String>
174 FirewallRuleGroupAssociation& WithCreatorRequestId(CreatorRequestIdT&& value) { SetCreatorRequestId(std::forward<CreatorRequestIdT>(value)); return *this;}
176
178
182 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
183 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
184 template<typename CreationTimeT = Aws::String>
185 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
186 template<typename CreationTimeT = Aws::String>
187 FirewallRuleGroupAssociation& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
189
191
195 inline const Aws::String& GetModificationTime() const { return m_modificationTime; }
196 inline bool ModificationTimeHasBeenSet() const { return m_modificationTimeHasBeenSet; }
197 template<typename ModificationTimeT = Aws::String>
198 void SetModificationTime(ModificationTimeT&& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = std::forward<ModificationTimeT>(value); }
199 template<typename ModificationTimeT = Aws::String>
200 FirewallRuleGroupAssociation& WithModificationTime(ModificationTimeT&& value) { SetModificationTime(std::forward<ModificationTimeT>(value)); return *this;}
202 private:
203
204 Aws::String m_id;
205 bool m_idHasBeenSet = false;
206
207 Aws::String m_arn;
208 bool m_arnHasBeenSet = false;
209
210 Aws::String m_firewallRuleGroupId;
211 bool m_firewallRuleGroupIdHasBeenSet = false;
212
213 Aws::String m_vpcId;
214 bool m_vpcIdHasBeenSet = false;
215
216 Aws::String m_name;
217 bool m_nameHasBeenSet = false;
218
219 int m_priority{0};
220 bool m_priorityHasBeenSet = false;
221
223 bool m_mutationProtectionHasBeenSet = false;
224
225 Aws::String m_managedOwnerName;
226 bool m_managedOwnerNameHasBeenSet = false;
227
229 bool m_statusHasBeenSet = false;
230
231 Aws::String m_statusMessage;
232 bool m_statusMessageHasBeenSet = false;
233
234 Aws::String m_creatorRequestId;
235 bool m_creatorRequestIdHasBeenSet = false;
236
237 Aws::String m_creationTime;
238 bool m_creationTimeHasBeenSet = false;
239
240 Aws::String m_modificationTime;
241 bool m_modificationTimeHasBeenSet = false;
242 };
243
244} // namespace Model
245} // namespace Route53Resolver
246} // 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