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>
16#include <aws/route53resolver/model/FirewallRuleType.h>
21namespace Route53Resolver {
46 template <
typename FirewallRuleGroupIdT = Aws::String>
48 m_firewallRuleGroupIdHasBeenSet =
true;
49 m_firewallRuleGroupId = std::forward<FirewallRuleGroupIdT>(value);
51 template <
typename FirewallRuleGroupIdT = Aws::String>
64 template <
typename FirewallDomainListIdT = Aws::String>
66 m_firewallDomainListIdHasBeenSet =
true;
67 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
69 template <
typename FirewallDomainListIdT = Aws::String>
82 template <
typename FirewallThreatProtectionIdT = Aws::String>
84 m_firewallThreatProtectionIdHasBeenSet =
true;
85 m_firewallThreatProtectionId = std::forward<FirewallThreatProtectionIdT>(value);
87 template <
typename FirewallThreatProtectionIdT = Aws::String>
106 m_priorityHasBeenSet =
true;
129 m_actionHasBeenSet =
true;
152 m_blockResponseHasBeenSet =
true;
153 m_blockResponse = value;
169 template <
typename BlockOverr
ideDomainT = Aws::String>
171 m_blockOverrideDomainHasBeenSet =
true;
172 m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value);
174 template <
typename BlockOverr
ideDomainT = Aws::String>
191 m_blockOverrideDnsTypeHasBeenSet =
true;
192 m_blockOverrideDnsType = value;
210 m_blockOverrideTtlHasBeenSet =
true;
211 m_blockOverrideTtl = value;
225 template <
typename NameT = Aws::String>
227 m_nameHasBeenSet =
true;
228 m_name = std::forward<NameT>(value);
230 template <
typename NameT = Aws::String>
232 SetName(std::forward<NameT>(value));
250 m_firewallDomainRedirectionActionHasBeenSet =
true;
251 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;
363 template <
typename FirewallRuleTypeT = FirewallRuleType>
365 m_firewallRuleTypeHasBeenSet =
true;
366 m_firewallRuleType = std::forward<FirewallRuleTypeT>(value);
368 template <
typename FirewallRuleTypeT = FirewallRuleType>
391 int m_blockOverrideTtl{0};
403 FirewallRuleType m_firewallRuleType;
404 bool m_firewallRuleGroupIdHasBeenSet =
false;
405 bool m_firewallDomainListIdHasBeenSet =
false;
406 bool m_firewallThreatProtectionIdHasBeenSet =
false;
407 bool m_priorityHasBeenSet =
false;
408 bool m_actionHasBeenSet =
false;
409 bool m_blockResponseHasBeenSet =
false;
410 bool m_blockOverrideDomainHasBeenSet =
false;
411 bool m_blockOverrideDnsTypeHasBeenSet =
false;
412 bool m_blockOverrideTtlHasBeenSet =
false;
413 bool m_nameHasBeenSet =
false;
414 bool m_firewallDomainRedirectionActionHasBeenSet =
false;
415 bool m_qtypeHasBeenSet =
false;
416 bool m_dnsThreatProtectionHasBeenSet =
false;
417 bool m_confidenceThresholdHasBeenSet =
false;
418 bool m_firewallRuleTypeHasBeenSet =
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
bool FirewallRuleTypeHasBeenSet() 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
UpdateFirewallRuleRequest & WithFirewallRuleType(FirewallRuleTypeT &&value)
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)
const FirewallRuleType & GetFirewallRuleType() const
UpdateFirewallRuleRequest & WithFirewallDomainListId(FirewallDomainListIdT &&value)
bool BlockOverrideDnsTypeHasBeenSet() const
void SetFirewallDomainListId(FirewallDomainListIdT &&value)
const Aws::String & GetFirewallRuleGroupId() const
bool FirewallThreatProtectionIdHasBeenSet() const
UpdateFirewallRuleRequest & WithAction(Action value)
void SetFirewallRuleType(FirewallRuleTypeT &&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