7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/route53resolver/Route53ResolverRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53resolver/model/Action.h>
11#include <aws/route53resolver/model/BlockResponse.h>
12#include <aws/route53resolver/model/BlockOverrideDnsType.h>
13#include <aws/route53resolver/model/FirewallDomainRedirectionAction.h>
14#include <aws/route53resolver/model/DnsThreatProtection.h>
15#include <aws/route53resolver/model/ConfidenceThreshold.h>
20namespace Route53Resolver
49 template<
typename FirewallRuleGroupIdT = Aws::String>
50 void SetFirewallRuleGroupId(FirewallRuleGroupIdT&& value) { m_firewallRuleGroupIdHasBeenSet =
true; m_firewallRuleGroupId = std::forward<FirewallRuleGroupIdT>(value); }
51 template<
typename FirewallRuleGroupIdT = Aws::String>
61 template<
typename FirewallDomainListIdT = Aws::String>
62 void SetFirewallDomainListId(FirewallDomainListIdT&& value) { m_firewallDomainListIdHasBeenSet =
true; m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value); }
63 template<
typename FirewallDomainListIdT = Aws::String>
73 template<
typename FirewallThreatProtectionIdT = Aws::String>
74 void SetFirewallThreatProtectionId(FirewallThreatProtectionIdT&& value) { m_firewallThreatProtectionIdHasBeenSet =
true; m_firewallThreatProtectionId = std::forward<FirewallThreatProtectionIdT>(value); }
75 template<
typename FirewallThreatProtectionIdT = Aws::String>
90 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
136 template<
typename BlockOverr
ideDomainT = Aws::String>
137 void SetBlockOverrideDomain(BlockOverrideDomainT&& value) { m_blockOverrideDomainHasBeenSet =
true; m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value); }
138 template<
typename BlockOverr
ideDomainT = Aws::String>
164 inline void SetBlockOverrideTtl(
int value) { m_blockOverrideTtlHasBeenSet =
true; m_blockOverrideTtl = value; }
174 template<
typename NameT = Aws::String>
175 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
176 template<
typename NameT = Aws::String>
220 template<
typename QtypeT = Aws::String>
221 void SetQtype(QtypeT&& value) { m_qtypeHasBeenSet =
true; m_qtype = std::forward<QtypeT>(value); }
222 template<
typename QtypeT = Aws::String>
260 bool m_firewallRuleGroupIdHasBeenSet =
false;
263 bool m_firewallDomainListIdHasBeenSet =
false;
266 bool m_firewallThreatProtectionIdHasBeenSet =
false;
269 bool m_priorityHasBeenSet =
false;
272 bool m_actionHasBeenSet =
false;
275 bool m_blockResponseHasBeenSet =
false;
278 bool m_blockOverrideDomainHasBeenSet =
false;
281 bool m_blockOverrideDnsTypeHasBeenSet =
false;
283 int m_blockOverrideTtl{0};
284 bool m_blockOverrideTtlHasBeenSet =
false;
287 bool m_nameHasBeenSet =
false;
290 bool m_firewallDomainRedirectionActionHasBeenSet =
false;
293 bool m_qtypeHasBeenSet =
false;
296 bool m_dnsThreatProtectionHasBeenSet =
false;
299 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