7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
9#include <aws/route53resolver/model/Action.h>
10#include <aws/route53resolver/model/BlockOverrideDnsType.h>
11#include <aws/route53resolver/model/BlockResponse.h>
12#include <aws/route53resolver/model/ConfidenceThreshold.h>
13#include <aws/route53resolver/model/DnsThreatProtection.h>
14#include <aws/route53resolver/model/FirewallDomainRedirectionAction.h>
15#include <aws/route53resolver/model/FirewallRuleType.h>
26namespace Route53Resolver {
51 template <
typename CreatorRequestIdT = Aws::String>
53 m_creatorRequestIdHasBeenSet =
true;
54 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
56 template <
typename CreatorRequestIdT = Aws::String>
70 template <
typename FirewallRuleGroupIdT = Aws::String>
72 m_firewallRuleGroupIdHasBeenSet =
true;
73 m_firewallRuleGroupId = std::forward<FirewallRuleGroupIdT>(value);
75 template <
typename FirewallRuleGroupIdT = Aws::String>
90 template <
typename FirewallDomainListIdT = Aws::String>
92 m_firewallDomainListIdHasBeenSet =
true;
93 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
95 template <
typename FirewallDomainListIdT = Aws::String>
111 m_priorityHasBeenSet =
true;
134 m_actionHasBeenSet =
true;
157 m_blockResponseHasBeenSet =
true;
158 m_blockResponse = value;
174 template <
typename BlockOverr
ideDomainT = Aws::String>
176 m_blockOverrideDomainHasBeenSet =
true;
177 m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value);
179 template <
typename BlockOverr
ideDomainT = Aws::String>
196 m_blockOverrideDnsTypeHasBeenSet =
true;
197 m_blockOverrideDnsType = value;
216 m_blockOverrideTtlHasBeenSet =
true;
217 m_blockOverrideTtl = value;
231 template <
typename NameT = Aws::String>
233 m_nameHasBeenSet =
true;
234 m_name = std::forward<NameT>(value);
236 template <
typename NameT = Aws::String>
238 SetName(std::forward<NameT>(value));
256 m_firewallDomainRedirectionActionHasBeenSet =
true;
257 m_firewallDomainRedirectionAction = value;
287 template <
typename QtypeT = Aws::String>
289 m_qtypeHasBeenSet =
true;
290 m_qtype = std::forward<QtypeT>(value);
292 template <
typename QtypeT = Aws::String>
294 SetQtype(std::forward<QtypeT>(value));
316 m_dnsThreatProtectionHasBeenSet =
true;
317 m_dnsThreatProtection = value;
338 m_confidenceThresholdHasBeenSet =
true;
339 m_confidenceThreshold = value;
355 template <
typename FirewallRuleTypeT = FirewallRuleType>
357 m_firewallRuleTypeHasBeenSet =
true;
358 m_firewallRuleType = std::forward<FirewallRuleTypeT>(value);
360 template <
typename FirewallRuleTypeT = FirewallRuleType>
383 int m_blockOverrideTtl{0};
395 FirewallRuleType m_firewallRuleType;
396 bool m_creatorRequestIdHasBeenSet =
false;
397 bool m_firewallRuleGroupIdHasBeenSet =
false;
398 bool m_firewallDomainListIdHasBeenSet =
false;
399 bool m_priorityHasBeenSet =
false;
400 bool m_actionHasBeenSet =
false;
401 bool m_blockResponseHasBeenSet =
false;
402 bool m_blockOverrideDomainHasBeenSet =
false;
403 bool m_blockOverrideDnsTypeHasBeenSet =
false;
404 bool m_blockOverrideTtlHasBeenSet =
false;
405 bool m_nameHasBeenSet =
false;
406 bool m_firewallDomainRedirectionActionHasBeenSet =
false;
407 bool m_qtypeHasBeenSet =
false;
408 bool m_dnsThreatProtectionHasBeenSet =
false;
409 bool m_confidenceThresholdHasBeenSet =
false;
410 bool m_firewallRuleTypeHasBeenSet =
false;
bool PriorityHasBeenSet() const
bool BlockOverrideTtlHasBeenSet() const
bool FirewallDomainListIdHasBeenSet() const
void SetBlockOverrideDomain(BlockOverrideDomainT &&value)
CreateFirewallRuleEntry & WithBlockResponse(BlockResponse value)
AWS_ROUTE53RESOLVER_API CreateFirewallRuleEntry(Aws::Utils::Json::JsonView jsonValue)
DnsThreatProtection GetDnsThreatProtection() const
bool CreatorRequestIdHasBeenSet() const
void SetCreatorRequestId(CreatorRequestIdT &&value)
bool NameHasBeenSet() const
bool FirewallRuleTypeHasBeenSet() const
CreateFirewallRuleEntry & WithFirewallDomainListId(FirewallDomainListIdT &&value)
CreateFirewallRuleEntry & WithCreatorRequestId(CreatorRequestIdT &&value)
void SetQtype(QtypeT &&value)
const Aws::String & GetName() const
bool ActionHasBeenSet() const
void SetPriority(int value)
bool FirewallRuleGroupIdHasBeenSet() const
CreateFirewallRuleEntry & WithName(NameT &&value)
void SetConfidenceThreshold(ConfidenceThreshold value)
BlockOverrideDnsType GetBlockOverrideDnsType() const
void SetFirewallDomainRedirectionAction(FirewallDomainRedirectionAction value)
CreateFirewallRuleEntry & WithConfidenceThreshold(ConfidenceThreshold value)
void SetFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
const Aws::String & GetFirewallDomainListId() const
bool BlockOverrideDnsTypeHasBeenSet() const
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
bool DnsThreatProtectionHasBeenSet() const
const FirewallRuleType & GetFirewallRuleType() const
AWS_ROUTE53RESOLVER_API CreateFirewallRuleEntry()=default
CreateFirewallRuleEntry & WithBlockOverrideDomain(BlockOverrideDomainT &&value)
CreateFirewallRuleEntry & WithBlockOverrideTtl(int value)
void SetBlockResponse(BlockResponse value)
CreateFirewallRuleEntry & WithFirewallRuleType(FirewallRuleTypeT &&value)
CreateFirewallRuleEntry & WithFirewallDomainRedirectionAction(FirewallDomainRedirectionAction value)
bool QtypeHasBeenSet() const
void SetBlockOverrideDnsType(BlockOverrideDnsType value)
BlockResponse GetBlockResponse() const
void SetFirewallRuleType(FirewallRuleTypeT &&value)
ConfidenceThreshold GetConfidenceThreshold() const
void SetAction(Action value)
bool ConfidenceThresholdHasBeenSet() const
CreateFirewallRuleEntry & WithAction(Action value)
CreateFirewallRuleEntry & WithBlockOverrideDnsType(BlockOverrideDnsType value)
bool BlockOverrideDomainHasBeenSet() const
const Aws::String & GetBlockOverrideDomain() const
CreateFirewallRuleEntry & WithQtype(QtypeT &&value)
const Aws::String & GetQtype() const
int GetBlockOverrideTtl() const
AWS_ROUTE53RESOLVER_API CreateFirewallRuleEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BlockResponseHasBeenSet() const
CreateFirewallRuleEntry & WithFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
void SetName(NameT &&value)
const Aws::String & GetFirewallRuleGroupId() const
void SetDnsThreatProtection(DnsThreatProtection value)
CreateFirewallRuleEntry & WithPriority(int value)
FirewallDomainRedirectionAction GetFirewallDomainRedirectionAction() const
void SetFirewallDomainListId(FirewallDomainListIdT &&value)
bool FirewallDomainRedirectionActionHasBeenSet() const
const Aws::String & GetCreatorRequestId() const
void SetBlockOverrideTtl(int value)
CreateFirewallRuleEntry & WithDnsThreatProtection(DnsThreatProtection value)
FirewallDomainRedirectionAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue