7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53resolver/Route53ResolverRequest.h>
9#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
10#include <aws/route53resolver/model/Action.h>
11#include <aws/route53resolver/model/BlockOverrideDnsType.h>
12#include <aws/route53resolver/model/BlockResponse.h>
13#include <aws/route53resolver/model/ConfidenceThreshold.h>
14#include <aws/route53resolver/model/DnsThreatProtection.h>
15#include <aws/route53resolver/model/FirewallDomainRedirectionAction.h>
20namespace Route53Resolver {
45 template <
typename FirewallRuleGroupIdT = Aws::String>
47 m_firewallRuleGroupIdHasBeenSet =
true;
48 m_firewallRuleGroupId = std::forward<FirewallRuleGroupIdT>(value);
50 template <
typename FirewallRuleGroupIdT = Aws::String>
63 template <
typename FirewallDomainListIdT = Aws::String>
65 m_firewallDomainListIdHasBeenSet =
true;
66 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
68 template <
typename FirewallDomainListIdT = Aws::String>
81 template <
typename FirewallThreatProtectionIdT = Aws::String>
83 m_firewallThreatProtectionIdHasBeenSet =
true;
84 m_firewallThreatProtectionId = std::forward<FirewallThreatProtectionIdT>(value);
86 template <
typename FirewallThreatProtectionIdT = Aws::String>
105 m_priorityHasBeenSet =
true;
128 m_actionHasBeenSet =
true;
151 m_blockResponseHasBeenSet =
true;
152 m_blockResponse = value;
168 template <
typename BlockOverr
ideDomainT = Aws::String>
170 m_blockOverrideDomainHasBeenSet =
true;
171 m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value);
173 template <
typename BlockOverr
ideDomainT = Aws::String>
190 m_blockOverrideDnsTypeHasBeenSet =
true;
191 m_blockOverrideDnsType = value;
209 m_blockOverrideTtlHasBeenSet =
true;
210 m_blockOverrideTtl = value;
224 template <
typename NameT = Aws::String>
226 m_nameHasBeenSet =
true;
227 m_name = std::forward<NameT>(value);
229 template <
typename NameT = Aws::String>
231 SetName(std::forward<NameT>(value));
249 m_firewallDomainRedirectionActionHasBeenSet =
true;
250 m_firewallDomainRedirectionAction = value;
282 template <
typename QtypeT = Aws::String>
284 m_qtypeHasBeenSet =
true;
285 m_qtype = std::forward<QtypeT>(value);
287 template <
typename QtypeT = Aws::String>
289 SetQtype(std::forward<QtypeT>(value));
307 m_dnsThreatProtectionHasBeenSet =
true;
308 m_dnsThreatProtection = value;
329 m_confidenceThresholdHasBeenSet =
true;
330 m_confidenceThreshold = value;
354 int m_blockOverrideTtl{0};
365 bool m_firewallRuleGroupIdHasBeenSet =
false;
366 bool m_firewallDomainListIdHasBeenSet =
false;
367 bool m_firewallThreatProtectionIdHasBeenSet =
false;
368 bool m_priorityHasBeenSet =
false;
369 bool m_actionHasBeenSet =
false;
370 bool m_blockResponseHasBeenSet =
false;
371 bool m_blockOverrideDomainHasBeenSet =
false;
372 bool m_blockOverrideDnsTypeHasBeenSet =
false;
373 bool m_blockOverrideTtlHasBeenSet =
false;
374 bool m_nameHasBeenSet =
false;
375 bool m_firewallDomainRedirectionActionHasBeenSet =
false;
376 bool m_qtypeHasBeenSet =
false;
377 bool m_dnsThreatProtectionHasBeenSet =
false;
378 bool m_confidenceThresholdHasBeenSet =
false;
void SetBlockOverrideDomain(BlockOverrideDomainT &&value)
bool FirewallDomainListIdHasBeenSet() const
bool FirewallRuleGroupIdHasBeenSet() const
UpdateFirewallRuleRequest & WithPriority(int value)
UpdateFirewallRuleRequest & WithFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
void SetBlockResponse(BlockResponse value)
ConfidenceThreshold GetConfidenceThreshold() const
const Aws::String & GetName() const
const Aws::String & GetBlockOverrideDomain() const
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
bool PriorityHasBeenSet() const
UpdateFirewallRuleRequest & WithBlockOverrideDnsType(BlockOverrideDnsType value)
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DnsThreatProtection GetDnsThreatProtection() const
bool ActionHasBeenSet() const
bool QtypeHasBeenSet() const
BlockResponse GetBlockResponse() const
AWS_ROUTE53RESOLVER_API UpdateFirewallRuleRequest()=default
UpdateFirewallRuleRequest & WithBlockResponse(BlockResponse value)
int GetBlockOverrideTtl() const
bool BlockOverrideTtlHasBeenSet() const
const Aws::String & GetQtype() const
bool FirewallDomainRedirectionActionHasBeenSet() const
void SetFirewallThreatProtectionId(FirewallThreatProtectionIdT &&value)
void SetAction(Action value)
void SetFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
bool BlockOverrideDomainHasBeenSet() const
void SetName(NameT &&value)
void SetFirewallDomainRedirectionAction(FirewallDomainRedirectionAction value)
void SetBlockOverrideDnsType(BlockOverrideDnsType value)
bool NameHasBeenSet() const
UpdateFirewallRuleRequest & WithFirewallDomainRedirectionAction(FirewallDomainRedirectionAction value)
UpdateFirewallRuleRequest & WithBlockOverrideDomain(BlockOverrideDomainT &&value)
const Aws::String & GetFirewallDomainListId() const
FirewallDomainRedirectionAction GetFirewallDomainRedirectionAction() const
bool DnsThreatProtectionHasBeenSet() const
const Aws::String & GetFirewallThreatProtectionId() const
UpdateFirewallRuleRequest & WithFirewallThreatProtectionId(FirewallThreatProtectionIdT &&value)
void SetQtype(QtypeT &&value)
UpdateFirewallRuleRequest & WithFirewallDomainListId(FirewallDomainListIdT &&value)
bool BlockOverrideDnsTypeHasBeenSet() const
void SetFirewallDomainListId(FirewallDomainListIdT &&value)
const Aws::String & GetFirewallRuleGroupId() const
bool FirewallThreatProtectionIdHasBeenSet() const
UpdateFirewallRuleRequest & WithAction(Action value)
BlockOverrideDnsType GetBlockOverrideDnsType() const
UpdateFirewallRuleRequest & WithBlockOverrideTtl(int value)
UpdateFirewallRuleRequest & WithDnsThreatProtection(DnsThreatProtection value)
bool BlockResponseHasBeenSet() const
UpdateFirewallRuleRequest & WithName(NameT &&value)
void SetDnsThreatProtection(DnsThreatProtection value)
void SetPriority(int value)
void SetBlockOverrideTtl(int value)
UpdateFirewallRuleRequest & WithQtype(QtypeT &&value)
void SetConfidenceThreshold(ConfidenceThreshold value)
bool ConfidenceThresholdHasBeenSet() const
UpdateFirewallRuleRequest & WithConfidenceThreshold(ConfidenceThreshold value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
FirewallDomainRedirectionAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String