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>
25namespace 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>
100 template <
typename NameT = Aws::String>
102 m_nameHasBeenSet =
true;
103 m_name = std::forward<NameT>(value);
105 template <
typename NameT = Aws::String>
107 SetName(std::forward<NameT>(value));
121 m_priorityHasBeenSet =
true;
144 m_actionHasBeenSet =
true;
167 m_blockResponseHasBeenSet =
true;
168 m_blockResponse = value;
184 template <
typename BlockOverr
ideDomainT = Aws::String>
186 m_blockOverrideDomainHasBeenSet =
true;
187 m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value);
189 template <
typename BlockOverr
ideDomainT = Aws::String>
206 m_blockOverrideDnsTypeHasBeenSet =
true;
207 m_blockOverrideDnsType = value;
225 m_blockOverrideTtlHasBeenSet =
true;
226 m_blockOverrideTtl = value;
242 template <
typename CreatorRequestIdT = Aws::String>
244 m_creatorRequestIdHasBeenSet =
true;
245 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
247 template <
typename CreatorRequestIdT = Aws::String>
261 template <
typename CreationTimeT = Aws::String>
263 m_creationTimeHasBeenSet =
true;
264 m_creationTime = std::forward<CreationTimeT>(value);
266 template <
typename CreationTimeT = Aws::String>
280 template <
typename ModificationTimeT = Aws::String>
282 m_modificationTimeHasBeenSet =
true;
283 m_modificationTime = std::forward<ModificationTimeT>(value);
285 template <
typename ModificationTimeT = Aws::String>
305 m_firewallDomainRedirectionActionHasBeenSet =
true;
306 m_firewallDomainRedirectionAction = value;
336 template <
typename QtypeT = Aws::String>
338 m_qtypeHasBeenSet =
true;
339 m_qtype = std::forward<QtypeT>(value);
341 template <
typename QtypeT = Aws::String>
343 SetQtype(std::forward<QtypeT>(value));
361 m_dnsThreatProtectionHasBeenSet =
true;
362 m_dnsThreatProtection = value;
383 m_confidenceThresholdHasBeenSet =
true;
384 m_confidenceThreshold = value;
410 int m_blockOverrideTtl{0};
425 bool m_firewallRuleGroupIdHasBeenSet =
false;
426 bool m_firewallDomainListIdHasBeenSet =
false;
427 bool m_firewallThreatProtectionIdHasBeenSet =
false;
428 bool m_nameHasBeenSet =
false;
429 bool m_priorityHasBeenSet =
false;
430 bool m_actionHasBeenSet =
false;
431 bool m_blockResponseHasBeenSet =
false;
432 bool m_blockOverrideDomainHasBeenSet =
false;
433 bool m_blockOverrideDnsTypeHasBeenSet =
false;
434 bool m_blockOverrideTtlHasBeenSet =
false;
435 bool m_creatorRequestIdHasBeenSet =
false;
436 bool m_creationTimeHasBeenSet =
false;
437 bool m_modificationTimeHasBeenSet =
false;
438 bool m_firewallDomainRedirectionActionHasBeenSet =
false;
439 bool m_qtypeHasBeenSet =
false;
440 bool m_dnsThreatProtectionHasBeenSet =
false;
441 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