AWS SDK for C++

AWS SDK for C++ Version 1.11.783

Loading...
Searching...
No Matches
DeleteFirewallRuleResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53globalresolver/Route53GlobalResolver_EXPORTS.h>
11#include <aws/route53globalresolver/model/BlockOverrideDnsQueryType.h>
12#include <aws/route53globalresolver/model/CRResourceStatus.h>
13#include <aws/route53globalresolver/model/ConfidenceThreshold.h>
14#include <aws/route53globalresolver/model/DnsAdvancedProtection.h>
15#include <aws/route53globalresolver/model/FirewallBlockResponse.h>
16#include <aws/route53globalresolver/model/FirewallRuleAction.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace Route53GlobalResolver {
30namespace Model {
32 public:
33 AWS_ROUTE53GLOBALRESOLVER_API DeleteFirewallRuleResult() = default;
36
38
41 inline FirewallRuleAction GetAction() const { return m_action; }
42 inline void SetAction(FirewallRuleAction value) {
43 m_actionHasBeenSet = true;
44 m_action = value;
45 }
47 SetAction(value);
48 return *this;
49 }
51
53
57 inline BlockOverrideDnsQueryType GetBlockOverrideDnsType() const { return m_blockOverrideDnsType; }
59 m_blockOverrideDnsTypeHasBeenSet = true;
60 m_blockOverrideDnsType = value;
61 }
64 return *this;
65 }
67
69
73 inline const Aws::String& GetBlockOverrideDomain() const { return m_blockOverrideDomain; }
74 template <typename BlockOverrideDomainT = Aws::String>
75 void SetBlockOverrideDomain(BlockOverrideDomainT&& value) {
76 m_blockOverrideDomainHasBeenSet = true;
77 m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value);
78 }
79 template <typename BlockOverrideDomainT = Aws::String>
80 DeleteFirewallRuleResult& WithBlockOverrideDomain(BlockOverrideDomainT&& value) {
81 SetBlockOverrideDomain(std::forward<BlockOverrideDomainT>(value));
82 return *this;
83 }
85
87
91 inline int GetBlockOverrideTtl() const { return m_blockOverrideTtl; }
92 inline void SetBlockOverrideTtl(int value) {
93 m_blockOverrideTtlHasBeenSet = true;
94 m_blockOverrideTtl = value;
95 }
98 return *this;
99 }
101
103
107 inline FirewallBlockResponse GetBlockResponse() const { return m_blockResponse; }
109 m_blockResponseHasBeenSet = true;
110 m_blockResponse = value;
111 }
113 SetBlockResponse(value);
114 return *this;
115 }
117
119
123 inline ConfidenceThreshold GetConfidenceThreshold() const { return m_confidenceThreshold; }
125 m_confidenceThresholdHasBeenSet = true;
126 m_confidenceThreshold = value;
127 }
130 return *this;
131 }
133
135
138 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
139 template <typename CreatedAtT = Aws::Utils::DateTime>
140 void SetCreatedAt(CreatedAtT&& value) {
141 m_createdAtHasBeenSet = true;
142 m_createdAt = std::forward<CreatedAtT>(value);
143 }
144 template <typename CreatedAtT = Aws::Utils::DateTime>
146 SetCreatedAt(std::forward<CreatedAtT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetDescription() const { return m_description; }
156 template <typename DescriptionT = Aws::String>
157 void SetDescription(DescriptionT&& value) {
158 m_descriptionHasBeenSet = true;
159 m_description = std::forward<DescriptionT>(value);
160 }
161 template <typename DescriptionT = Aws::String>
163 SetDescription(std::forward<DescriptionT>(value));
164 return *this;
165 }
167
169
173 inline DnsAdvancedProtection GetDnsAdvancedProtection() const { return m_dnsAdvancedProtection; }
175 m_dnsAdvancedProtectionHasBeenSet = true;
176 m_dnsAdvancedProtection = value;
177 }
180 return *this;
181 }
183
185
189 inline const Aws::String& GetFirewallDomainListId() const { return m_firewallDomainListId; }
190 template <typename FirewallDomainListIdT = Aws::String>
191 void SetFirewallDomainListId(FirewallDomainListIdT&& value) {
192 m_firewallDomainListIdHasBeenSet = true;
193 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
194 }
195 template <typename FirewallDomainListIdT = Aws::String>
196 DeleteFirewallRuleResult& WithFirewallDomainListId(FirewallDomainListIdT&& value) {
197 SetFirewallDomainListId(std::forward<FirewallDomainListIdT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::String& GetId() const { return m_id; }
207 template <typename IdT = Aws::String>
208 void SetId(IdT&& value) {
209 m_idHasBeenSet = true;
210 m_id = std::forward<IdT>(value);
211 }
212 template <typename IdT = Aws::String>
214 SetId(std::forward<IdT>(value));
215 return *this;
216 }
218
220
223 inline const Aws::String& GetName() const { return m_name; }
224 template <typename NameT = Aws::String>
225 void SetName(NameT&& value) {
226 m_nameHasBeenSet = true;
227 m_name = std::forward<NameT>(value);
228 }
229 template <typename NameT = Aws::String>
231 SetName(std::forward<NameT>(value));
232 return *this;
233 }
235
237
240 inline long long GetPriority() const { return m_priority; }
241 inline void SetPriority(long long value) {
242 m_priorityHasBeenSet = true;
243 m_priority = value;
244 }
245 inline DeleteFirewallRuleResult& WithPriority(long long value) {
246 SetPriority(value);
247 return *this;
248 }
250
252
256 inline const Aws::String& GetDnsViewId() const { return m_dnsViewId; }
257 template <typename DnsViewIdT = Aws::String>
258 void SetDnsViewId(DnsViewIdT&& value) {
259 m_dnsViewIdHasBeenSet = true;
260 m_dnsViewId = std::forward<DnsViewIdT>(value);
261 }
262 template <typename DnsViewIdT = Aws::String>
264 SetDnsViewId(std::forward<DnsViewIdT>(value));
265 return *this;
266 }
268
270
274 inline const Aws::String& GetQueryType() const { return m_queryType; }
275 template <typename QueryTypeT = Aws::String>
276 void SetQueryType(QueryTypeT&& value) {
277 m_queryTypeHasBeenSet = true;
278 m_queryType = std::forward<QueryTypeT>(value);
279 }
280 template <typename QueryTypeT = Aws::String>
282 SetQueryType(std::forward<QueryTypeT>(value));
283 return *this;
284 }
286
288
291 inline CRResourceStatus GetStatus() const { return m_status; }
292 inline void SetStatus(CRResourceStatus value) {
293 m_statusHasBeenSet = true;
294 m_status = value;
295 }
297 SetStatus(value);
298 return *this;
299 }
301
303
307 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
308 template <typename UpdatedAtT = Aws::Utils::DateTime>
309 void SetUpdatedAt(UpdatedAtT&& value) {
310 m_updatedAtHasBeenSet = true;
311 m_updatedAt = std::forward<UpdatedAtT>(value);
312 }
313 template <typename UpdatedAtT = Aws::Utils::DateTime>
315 SetUpdatedAt(std::forward<UpdatedAtT>(value));
316 return *this;
317 }
319
321
322 inline const Aws::String& GetRequestId() const { return m_requestId; }
323 template <typename RequestIdT = Aws::String>
324 void SetRequestId(RequestIdT&& value) {
325 m_requestIdHasBeenSet = true;
326 m_requestId = std::forward<RequestIdT>(value);
327 }
328 template <typename RequestIdT = Aws::String>
330 SetRequestId(std::forward<RequestIdT>(value));
331 return *this;
332 }
334 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
335
336 private:
338
340
341 Aws::String m_blockOverrideDomain;
342
343 int m_blockOverrideTtl{0};
344
346
348
349 Aws::Utils::DateTime m_createdAt{};
350
351 Aws::String m_description;
352
354
355 Aws::String m_firewallDomainListId;
356
357 Aws::String m_id;
358
359 Aws::String m_name;
360
361 long long m_priority{0};
362
363 Aws::String m_dnsViewId;
364
365 Aws::String m_queryType;
366
368
369 Aws::Utils::DateTime m_updatedAt{};
370
371 Aws::String m_requestId;
372 Aws::Http::HttpResponseCode m_HttpResponseCode;
373 bool m_actionHasBeenSet = false;
374 bool m_blockOverrideDnsTypeHasBeenSet = false;
375 bool m_blockOverrideDomainHasBeenSet = false;
376 bool m_blockOverrideTtlHasBeenSet = false;
377 bool m_blockResponseHasBeenSet = false;
378 bool m_confidenceThresholdHasBeenSet = false;
379 bool m_createdAtHasBeenSet = false;
380 bool m_descriptionHasBeenSet = false;
381 bool m_dnsAdvancedProtectionHasBeenSet = false;
382 bool m_firewallDomainListIdHasBeenSet = false;
383 bool m_idHasBeenSet = false;
384 bool m_nameHasBeenSet = false;
385 bool m_priorityHasBeenSet = false;
386 bool m_dnsViewIdHasBeenSet = false;
387 bool m_queryTypeHasBeenSet = false;
388 bool m_statusHasBeenSet = false;
389 bool m_updatedAtHasBeenSet = false;
390 bool m_requestIdHasBeenSet = false;
391};
392
393} // namespace Model
394} // namespace Route53GlobalResolver
395} // namespace Aws
DeleteFirewallRuleResult & WithCreatedAt(CreatedAtT &&value)
DeleteFirewallRuleResult & WithRequestId(RequestIdT &&value)
AWS_ROUTE53GLOBALRESOLVER_API DeleteFirewallRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteFirewallRuleResult & WithBlockOverrideDomain(BlockOverrideDomainT &&value)
DeleteFirewallRuleResult & WithQueryType(QueryTypeT &&value)
DeleteFirewallRuleResult & WithDescription(DescriptionT &&value)
DeleteFirewallRuleResult & WithUpdatedAt(UpdatedAtT &&value)
DeleteFirewallRuleResult & WithFirewallDomainListId(FirewallDomainListIdT &&value)
DeleteFirewallRuleResult & WithBlockResponse(FirewallBlockResponse value)
DeleteFirewallRuleResult & WithDnsAdvancedProtection(DnsAdvancedProtection value)
DeleteFirewallRuleResult & WithBlockOverrideDnsType(BlockOverrideDnsQueryType value)
DeleteFirewallRuleResult & WithAction(FirewallRuleAction value)
DeleteFirewallRuleResult & WithConfidenceThreshold(ConfidenceThreshold value)
DeleteFirewallRuleResult & WithStatus(CRResourceStatus value)
DeleteFirewallRuleResult & WithDnsViewId(DnsViewIdT &&value)
AWS_ROUTE53GLOBALRESOLVER_API DeleteFirewallRuleResult()=default
AWS_ROUTE53GLOBALRESOLVER_API DeleteFirewallRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue