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 {
48 template <
typename FirewallRuleGroupIdT = Aws::String>
50 m_firewallRuleGroupIdHasBeenSet =
true;
51 m_firewallRuleGroupId = std::forward<FirewallRuleGroupIdT>(value);
53 template <
typename FirewallRuleGroupIdT = Aws::String>
68 template <
typename FirewallDomainListIdT = Aws::String>
70 m_firewallDomainListIdHasBeenSet =
true;
71 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
73 template <
typename FirewallDomainListIdT = Aws::String>
86 template <
typename FirewallThreatProtectionIdT = Aws::String>
88 m_firewallThreatProtectionIdHasBeenSet =
true;
89 m_firewallThreatProtectionId = std::forward<FirewallThreatProtectionIdT>(value);
91 template <
typename FirewallThreatProtectionIdT = Aws::String>
107 m_priorityHasBeenSet =
true;
130 m_actionHasBeenSet =
true;
153 m_blockResponseHasBeenSet =
true;
154 m_blockResponse = value;
170 template <
typename BlockOverr
ideDomainT = Aws::String>
172 m_blockOverrideDomainHasBeenSet =
true;
173 m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value);
175 template <
typename BlockOverr
ideDomainT = Aws::String>
192 m_blockOverrideDnsTypeHasBeenSet =
true;
193 m_blockOverrideDnsType = value;
212 m_blockOverrideTtlHasBeenSet =
true;
213 m_blockOverrideTtl = value;
227 template <
typename NameT = Aws::String>
229 m_nameHasBeenSet =
true;
230 m_name = std::forward<NameT>(value);
232 template <
typename NameT = Aws::String>
234 SetName(std::forward<NameT>(value));
252 m_firewallDomainRedirectionActionHasBeenSet =
true;
253 m_firewallDomainRedirectionAction = value;
283 template <
typename QtypeT = Aws::String>
285 m_qtypeHasBeenSet =
true;
286 m_qtype = std::forward<QtypeT>(value);
288 template <
typename QtypeT = Aws::String>
290 SetQtype(std::forward<QtypeT>(value));
312 m_dnsThreatProtectionHasBeenSet =
true;
313 m_dnsThreatProtection = value;
334 m_confidenceThresholdHasBeenSet =
true;
335 m_confidenceThreshold = value;
351 template <
typename FirewallRuleTypeT = FirewallRuleType>
353 m_firewallRuleTypeHasBeenSet =
true;
354 m_firewallRuleType = std::forward<FirewallRuleTypeT>(value);
356 template <
typename FirewallRuleTypeT = FirewallRuleType>
379 int m_blockOverrideTtl{0};
391 FirewallRuleType m_firewallRuleType;
392 bool m_firewallRuleGroupIdHasBeenSet =
false;
393 bool m_firewallDomainListIdHasBeenSet =
false;
394 bool m_firewallThreatProtectionIdHasBeenSet =
false;
395 bool m_priorityHasBeenSet =
false;
396 bool m_actionHasBeenSet =
false;
397 bool m_blockResponseHasBeenSet =
false;
398 bool m_blockOverrideDomainHasBeenSet =
false;
399 bool m_blockOverrideDnsTypeHasBeenSet =
false;
400 bool m_blockOverrideTtlHasBeenSet =
false;
401 bool m_nameHasBeenSet =
false;
402 bool m_firewallDomainRedirectionActionHasBeenSet =
false;
403 bool m_qtypeHasBeenSet =
false;
404 bool m_dnsThreatProtectionHasBeenSet =
false;
405 bool m_confidenceThresholdHasBeenSet =
false;
406 bool m_firewallRuleTypeHasBeenSet =
false;
UpdateFirewallRuleEntry & WithAction(Action value)
const Aws::String & GetFirewallThreatProtectionId() const
void SetFirewallRuleType(FirewallRuleTypeT &&value)
UpdateFirewallRuleEntry & WithFirewallDomainListId(FirewallDomainListIdT &&value)
bool FirewallDomainListIdHasBeenSet() const
bool ConfidenceThresholdHasBeenSet() const
const FirewallRuleType & GetFirewallRuleType() const
void SetConfidenceThreshold(ConfidenceThreshold value)
void SetDnsThreatProtection(DnsThreatProtection value)
AWS_ROUTE53RESOLVER_API UpdateFirewallRuleEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool DnsThreatProtectionHasBeenSet() const
FirewallDomainRedirectionAction GetFirewallDomainRedirectionAction() const
bool BlockOverrideDomainHasBeenSet() const
UpdateFirewallRuleEntry & WithBlockOverrideDomain(BlockOverrideDomainT &&value)
UpdateFirewallRuleEntry & WithBlockOverrideDnsType(BlockOverrideDnsType value)
void SetBlockResponse(BlockResponse value)
void SetFirewallDomainListId(FirewallDomainListIdT &&value)
AWS_ROUTE53RESOLVER_API UpdateFirewallRuleEntry(Aws::Utils::Json::JsonView jsonValue)
UpdateFirewallRuleEntry & WithFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
const Aws::String & GetBlockOverrideDomain() const
bool FirewallRuleGroupIdHasBeenSet() const
bool NameHasBeenSet() const
void SetFirewallDomainRedirectionAction(FirewallDomainRedirectionAction value)
void SetBlockOverrideTtl(int value)
bool ActionHasBeenSet() const
UpdateFirewallRuleEntry & WithFirewallThreatProtectionId(FirewallThreatProtectionIdT &&value)
BlockResponse GetBlockResponse() const
const Aws::String & GetQtype() const
bool FirewallRuleTypeHasBeenSet() const
void SetAction(Action value)
AWS_ROUTE53RESOLVER_API UpdateFirewallRuleEntry()=default
bool BlockResponseHasBeenSet() const
UpdateFirewallRuleEntry & WithConfidenceThreshold(ConfidenceThreshold value)
const Aws::String & GetName() const
bool BlockOverrideDnsTypeHasBeenSet() const
DnsThreatProtection GetDnsThreatProtection() const
const Aws::String & GetFirewallDomainListId() const
const Aws::String & GetFirewallRuleGroupId() const
bool QtypeHasBeenSet() const
void SetBlockOverrideDnsType(BlockOverrideDnsType value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateFirewallRuleEntry & WithBlockResponse(BlockResponse value)
void SetPriority(int value)
int GetBlockOverrideTtl() const
UpdateFirewallRuleEntry & WithQtype(QtypeT &&value)
void SetFirewallThreatProtectionId(FirewallThreatProtectionIdT &&value)
bool BlockOverrideTtlHasBeenSet() const
bool FirewallThreatProtectionIdHasBeenSet() const
UpdateFirewallRuleEntry & WithDnsThreatProtection(DnsThreatProtection value)
UpdateFirewallRuleEntry & WithBlockOverrideTtl(int value)
UpdateFirewallRuleEntry & WithPriority(int value)
UpdateFirewallRuleEntry & WithFirewallDomainRedirectionAction(FirewallDomainRedirectionAction value)
UpdateFirewallRuleEntry & WithName(NameT &&value)
void SetFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
UpdateFirewallRuleEntry & WithFirewallRuleType(FirewallRuleTypeT &&value)
void SetQtype(QtypeT &&value)
ConfidenceThreshold GetConfidenceThreshold() const
bool PriorityHasBeenSet() const
bool FirewallDomainRedirectionActionHasBeenSet() const
BlockOverrideDnsType GetBlockOverrideDnsType() const
void SetBlockOverrideDomain(BlockOverrideDomainT &&value)
FirewallDomainRedirectionAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue