7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53resolver/model/Action.h>
10#include <aws/route53resolver/model/BlockResponse.h>
11#include <aws/route53resolver/model/BlockOverrideDnsType.h>
12#include <aws/route53resolver/model/FirewallDomainRedirectionAction.h>
13#include <aws/route53resolver/model/DnsThreatProtection.h>
14#include <aws/route53resolver/model/ConfidenceThreshold.h>
27namespace Route53Resolver
52 template<
typename FirewallRuleGroupIdT = Aws::String>
53 void SetFirewallRuleGroupId(FirewallRuleGroupIdT&& value) { m_firewallRuleGroupIdHasBeenSet =
true; m_firewallRuleGroupId = std::forward<FirewallRuleGroupIdT>(value); }
54 template<
typename FirewallRuleGroupIdT = Aws::String>
64 template<
typename FirewallDomainListIdT = Aws::String>
65 void SetFirewallDomainListId(FirewallDomainListIdT&& value) { m_firewallDomainListIdHasBeenSet =
true; m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value); }
66 template<
typename FirewallDomainListIdT = Aws::String>
76 template<
typename FirewallThreatProtectionIdT = Aws::String>
77 void SetFirewallThreatProtectionId(FirewallThreatProtectionIdT&& value) { m_firewallThreatProtectionIdHasBeenSet =
true; m_firewallThreatProtectionId = std::forward<FirewallThreatProtectionIdT>(value); }
78 template<
typename FirewallThreatProtectionIdT = Aws::String>
88 template<
typename NameT = Aws::String>
89 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
90 template<
typename NameT = Aws::String>
102 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
148 template<
typename BlockOverr
ideDomainT = Aws::String>
149 void SetBlockOverrideDomain(BlockOverrideDomainT&& value) { m_blockOverrideDomainHasBeenSet =
true; m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value); }
150 template<
typename BlockOverr
ideDomainT = Aws::String>
176 inline void SetBlockOverrideTtl(
int value) { m_blockOverrideTtlHasBeenSet =
true; m_blockOverrideTtl = value; }
188 template<
typename CreatorRequestIdT = Aws::String>
189 void SetCreatorRequestId(CreatorRequestIdT&& value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId = std::forward<CreatorRequestIdT>(value); }
190 template<
typename CreatorRequestIdT = Aws::String>
201 template<
typename CreationTimeT = Aws::String>
202 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
203 template<
typename CreationTimeT = Aws::String>
214 template<
typename ModificationTimeT = Aws::String>
215 void SetModificationTime(ModificationTimeT&& value) { m_modificationTimeHasBeenSet =
true; m_modificationTime = std::forward<ModificationTimeT>(value); }
216 template<
typename ModificationTimeT = Aws::String>
258 template<
typename QtypeT = Aws::String>
259 void SetQtype(QtypeT&& value) { m_qtypeHasBeenSet =
true; m_qtype = std::forward<QtypeT>(value); }
260 template<
typename QtypeT = Aws::String>
298 bool m_firewallRuleGroupIdHasBeenSet =
false;
301 bool m_firewallDomainListIdHasBeenSet =
false;
304 bool m_firewallThreatProtectionIdHasBeenSet =
false;
307 bool m_nameHasBeenSet =
false;
310 bool m_priorityHasBeenSet =
false;
313 bool m_actionHasBeenSet =
false;
316 bool m_blockResponseHasBeenSet =
false;
319 bool m_blockOverrideDomainHasBeenSet =
false;
322 bool m_blockOverrideDnsTypeHasBeenSet =
false;
324 int m_blockOverrideTtl{0};
325 bool m_blockOverrideTtlHasBeenSet =
false;
328 bool m_creatorRequestIdHasBeenSet =
false;
331 bool m_creationTimeHasBeenSet =
false;
334 bool m_modificationTimeHasBeenSet =
false;
337 bool m_firewallDomainRedirectionActionHasBeenSet =
false;
340 bool m_qtypeHasBeenSet =
false;
343 bool m_dnsThreatProtectionHasBeenSet =
false;
346 bool m_confidenceThresholdHasBeenSet =
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)
void SetModificationTime(ModificationTimeT &&value)
const Aws::String & GetCreationTime() const
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
FirewallRule & WithFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
FirewallRule & WithCreationTime(CreationTimeT &&value)
void SetBlockOverrideDnsType(BlockOverrideDnsType value)
BlockResponse GetBlockResponse() 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