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 {
47 template <
typename FirewallRuleGroupIdT = Aws::String>
49 m_firewallRuleGroupIdHasBeenSet =
true;
50 m_firewallRuleGroupId = std::forward<FirewallRuleGroupIdT>(value);
52 template <
typename FirewallRuleGroupIdT = Aws::String>
65 template <
typename FirewallDomainListIdT = Aws::String>
67 m_firewallDomainListIdHasBeenSet =
true;
68 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
70 template <
typename FirewallDomainListIdT = Aws::String>
83 template <
typename FirewallThreatProtectionIdT = Aws::String>
85 m_firewallThreatProtectionIdHasBeenSet =
true;
86 m_firewallThreatProtectionId = std::forward<FirewallThreatProtectionIdT>(value);
88 template <
typename FirewallThreatProtectionIdT = Aws::String>
101 template <
typename NameT = Aws::String>
103 m_nameHasBeenSet =
true;
104 m_name = std::forward<NameT>(value);
106 template <
typename NameT = Aws::String>
108 SetName(std::forward<NameT>(value));
122 m_priorityHasBeenSet =
true;
145 m_actionHasBeenSet =
true;
168 m_blockResponseHasBeenSet =
true;
169 m_blockResponse = value;
185 template <
typename BlockOverr
ideDomainT = Aws::String>
187 m_blockOverrideDomainHasBeenSet =
true;
188 m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value);
190 template <
typename BlockOverr
ideDomainT = Aws::String>
207 m_blockOverrideDnsTypeHasBeenSet =
true;
208 m_blockOverrideDnsType = value;
226 m_blockOverrideTtlHasBeenSet =
true;
227 m_blockOverrideTtl = value;
243 template <
typename CreatorRequestIdT = Aws::String>
245 m_creatorRequestIdHasBeenSet =
true;
246 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
248 template <
typename CreatorRequestIdT = Aws::String>
262 template <
typename CreationTimeT = Aws::String>
264 m_creationTimeHasBeenSet =
true;
265 m_creationTime = std::forward<CreationTimeT>(value);
267 template <
typename CreationTimeT = Aws::String>
281 template <
typename ModificationTimeT = Aws::String>
283 m_modificationTimeHasBeenSet =
true;
284 m_modificationTime = std::forward<ModificationTimeT>(value);
286 template <
typename ModificationTimeT = Aws::String>
306 m_firewallDomainRedirectionActionHasBeenSet =
true;
307 m_firewallDomainRedirectionAction = value;
337 template <
typename QtypeT = Aws::String>
339 m_qtypeHasBeenSet =
true;
340 m_qtype = std::forward<QtypeT>(value);
342 template <
typename QtypeT = Aws::String>
344 SetQtype(std::forward<QtypeT>(value));
362 m_dnsThreatProtectionHasBeenSet =
true;
363 m_dnsThreatProtection = value;
384 m_confidenceThresholdHasBeenSet =
true;
385 m_confidenceThreshold = value;
400 template <
typename FirewallRuleTypeT = FirewallRuleType>
402 m_firewallRuleTypeHasBeenSet =
true;
403 m_firewallRuleType = std::forward<FirewallRuleTypeT>(value);
405 template <
typename FirewallRuleTypeT = FirewallRuleType>
430 int m_blockOverrideTtl{0};
446 FirewallRuleType m_firewallRuleType;
447 bool m_firewallRuleGroupIdHasBeenSet =
false;
448 bool m_firewallDomainListIdHasBeenSet =
false;
449 bool m_firewallThreatProtectionIdHasBeenSet =
false;
450 bool m_nameHasBeenSet =
false;
451 bool m_priorityHasBeenSet =
false;
452 bool m_actionHasBeenSet =
false;
453 bool m_blockResponseHasBeenSet =
false;
454 bool m_blockOverrideDomainHasBeenSet =
false;
455 bool m_blockOverrideDnsTypeHasBeenSet =
false;
456 bool m_blockOverrideTtlHasBeenSet =
false;
457 bool m_creatorRequestIdHasBeenSet =
false;
458 bool m_creationTimeHasBeenSet =
false;
459 bool m_modificationTimeHasBeenSet =
false;
460 bool m_firewallDomainRedirectionActionHasBeenSet =
false;
461 bool m_qtypeHasBeenSet =
false;
462 bool m_dnsThreatProtectionHasBeenSet =
false;
463 bool m_confidenceThresholdHasBeenSet =
false;
464 bool m_firewallRuleTypeHasBeenSet =
false;
FirewallRule & WithQtype(QtypeT &&value)
void SetDnsThreatProtection(DnsThreatProtection value)
void SetName(NameT &&value)
void SetFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
AWS_ROUTE53RESOLVER_API FirewallRule(Aws::Utils::Json::JsonView jsonValue)
FirewallRule & WithBlockOverrideDomain(BlockOverrideDomainT &&value)
FirewallRule & WithAction(Action value)
FirewallRule & WithBlockOverrideDnsType(BlockOverrideDnsType value)
const Aws::String & GetModificationTime() const
void SetBlockOverrideDomain(BlockOverrideDomainT &&value)
FirewallRule & WithFirewallRuleType(FirewallRuleTypeT &&value)
void SetModificationTime(ModificationTimeT &&value)
const Aws::String & GetCreationTime() const
void SetFirewallRuleType(FirewallRuleTypeT &&value)
bool QtypeHasBeenSet() const
bool FirewallDomainRedirectionActionHasBeenSet() const
bool FirewallThreatProtectionIdHasBeenSet() const
bool DnsThreatProtectionHasBeenSet() const
bool FirewallDomainListIdHasBeenSet() const
FirewallRule & WithFirewallDomainRedirectionAction(FirewallDomainRedirectionAction value)
AWS_ROUTE53RESOLVER_API FirewallRule()=default
bool BlockOverrideDomainHasBeenSet() const
FirewallRule & WithCreatorRequestId(CreatorRequestIdT &&value)
const Aws::String & GetBlockOverrideDomain() const
bool ModificationTimeHasBeenSet() const
FirewallRule & WithDnsThreatProtection(DnsThreatProtection value)
AWS_ROUTE53RESOLVER_API FirewallRule & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFirewallThreatProtectionId() const
void SetFirewallDomainRedirectionAction(FirewallDomainRedirectionAction value)
void SetBlockResponse(BlockResponse value)
bool PriorityHasBeenSet() const
FirewallRule & WithConfidenceThreshold(ConfidenceThreshold value)
bool BlockOverrideTtlHasBeenSet() const
BlockOverrideDnsType GetBlockOverrideDnsType() const
FirewallRule & WithPriority(int value)
const Aws::String & GetCreatorRequestId() const
FirewallRule & WithFirewallThreatProtectionId(FirewallThreatProtectionIdT &&value)
const Aws::String & GetFirewallDomainListId() const
bool CreatorRequestIdHasBeenSet() const
bool BlockResponseHasBeenSet() const
FirewallDomainRedirectionAction GetFirewallDomainRedirectionAction() const
bool NameHasBeenSet() const
void SetBlockOverrideTtl(int value)
DnsThreatProtection GetDnsThreatProtection() const
void SetConfidenceThreshold(ConfidenceThreshold value)
FirewallRule & WithName(NameT &&value)
bool BlockOverrideDnsTypeHasBeenSet() const
const FirewallRuleType & GetFirewallRuleType() const
FirewallRule & WithFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
FirewallRule & WithCreationTime(CreationTimeT &&value)
void SetBlockOverrideDnsType(BlockOverrideDnsType value)
BlockResponse GetBlockResponse() const
bool FirewallRuleTypeHasBeenSet() const
bool FirewallRuleGroupIdHasBeenSet() const
void SetAction(Action value)
void SetFirewallThreatProtectionId(FirewallThreatProtectionIdT &&value)
ConfidenceThreshold GetConfidenceThreshold() const
bool ConfidenceThresholdHasBeenSet() const
const Aws::String & GetQtype() const
void SetCreatorRequestId(CreatorRequestIdT &&value)
void SetQtype(QtypeT &&value)
FirewallRule & WithFirewallDomainListId(FirewallDomainListIdT &&value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActionHasBeenSet() const
FirewallRule & WithBlockOverrideTtl(int value)
FirewallRule & WithBlockResponse(BlockResponse value)
void SetPriority(int value)
FirewallRule & WithModificationTime(ModificationTimeT &&value)
void SetFirewallDomainListId(FirewallDomainListIdT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetName() const
bool CreationTimeHasBeenSet() const
const Aws::String & GetFirewallRuleGroupId() const
int GetBlockOverrideTtl() const
FirewallDomainRedirectionAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue