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>
15#include <aws/route53resolver/model/FirewallRuleType.h>
26namespace Route53Resolver {
47 template <
typename FirewallRuleGroupIdT = Aws::String>
49 m_firewallRuleGroupIdHasBeenSet =
true;
50 m_firewallRuleGroupId = std::forward<FirewallRuleGroupIdT>(value);
52 template <
typename FirewallRuleGroupIdT = Aws::String>
65 template <
typename FirewallDomainListIdT = Aws::String>
67 m_firewallDomainListIdHasBeenSet =
true;
68 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
70 template <
typename FirewallDomainListIdT = Aws::String>
83 template <
typename FirewallThreatProtectionIdT = Aws::String>
85 m_firewallThreatProtectionIdHasBeenSet =
true;
86 m_firewallThreatProtectionId = std::forward<FirewallThreatProtectionIdT>(value);
88 template <
typename FirewallThreatProtectionIdT = Aws::String>
101 template <
typename NameT = Aws::String>
103 m_nameHasBeenSet =
true;
104 m_name = std::forward<NameT>(value);
106 template <
typename NameT = Aws::String>
108 SetName(std::forward<NameT>(value));
122 m_priorityHasBeenSet =
true;
145 m_actionHasBeenSet =
true;
168 m_blockResponseHasBeenSet =
true;
169 m_blockResponse = value;
185 template <
typename BlockOverr
ideDomainT = Aws::String>
187 m_blockOverrideDomainHasBeenSet =
true;
188 m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value);
190 template <
typename BlockOverr
ideDomainT = Aws::String>
207 m_blockOverrideDnsTypeHasBeenSet =
true;
208 m_blockOverrideDnsType = value;
226 m_blockOverrideTtlHasBeenSet =
true;
227 m_blockOverrideTtl = value;
243 template <
typename CreatorRequestIdT = Aws::String>
245 m_creatorRequestIdHasBeenSet =
true;
246 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
248 template <
typename CreatorRequestIdT = Aws::String>
262 template <
typename CreationTimeT = Aws::String>
264 m_creationTimeHasBeenSet =
true;
265 m_creationTime = std::forward<CreationTimeT>(value);
267 template <
typename CreationTimeT = Aws::String>
281 template <
typename ModificationTimeT = Aws::String>
283 m_modificationTimeHasBeenSet =
true;
284 m_modificationTime = std::forward<ModificationTimeT>(value);
286 template <
typename ModificationTimeT = Aws::String>
306 m_firewallDomainRedirectionActionHasBeenSet =
true;
307 m_firewallDomainRedirectionAction = value;
337 template <
typename QtypeT = Aws::String>
339 m_qtypeHasBeenSet =
true;
340 m_qtype = std::forward<QtypeT>(value);
342 template <
typename QtypeT = Aws::String>
344 SetQtype(std::forward<QtypeT>(value));
364 m_dnsThreatProtectionHasBeenSet =
true;
365 m_dnsThreatProtection = value;
386 m_confidenceThresholdHasBeenSet =
true;
387 m_confidenceThreshold = value;
412 template <
typename FirewallRuleTypeT = FirewallRuleType>
414 m_firewallRuleTypeHasBeenSet =
true;
415 m_firewallRuleType = std::forward<FirewallRuleTypeT>(value);
417 template <
typename FirewallRuleTypeT = FirewallRuleType>
440 template <
typename StatusT = Aws::String>
442 m_statusHasBeenSet =
true;
443 m_status = std::forward<StatusT>(value);
445 template <
typename StatusT = Aws::String>
460 template <
typename StatusMessageT = Aws::String>
462 m_statusMessageHasBeenSet =
true;
463 m_statusMessage = std::forward<StatusMessageT>(value);
465 template <
typename StatusMessageT = Aws::String>
490 int m_blockOverrideTtl{0};
506 FirewallRuleType m_firewallRuleType;
511 bool m_firewallRuleGroupIdHasBeenSet =
false;
512 bool m_firewallDomainListIdHasBeenSet =
false;
513 bool m_firewallThreatProtectionIdHasBeenSet =
false;
514 bool m_nameHasBeenSet =
false;
515 bool m_priorityHasBeenSet =
false;
516 bool m_actionHasBeenSet =
false;
517 bool m_blockResponseHasBeenSet =
false;
518 bool m_blockOverrideDomainHasBeenSet =
false;
519 bool m_blockOverrideDnsTypeHasBeenSet =
false;
520 bool m_blockOverrideTtlHasBeenSet =
false;
521 bool m_creatorRequestIdHasBeenSet =
false;
522 bool m_creationTimeHasBeenSet =
false;
523 bool m_modificationTimeHasBeenSet =
false;
524 bool m_firewallDomainRedirectionActionHasBeenSet =
false;
525 bool m_qtypeHasBeenSet =
false;
526 bool m_dnsThreatProtectionHasBeenSet =
false;
527 bool m_confidenceThresholdHasBeenSet =
false;
528 bool m_firewallRuleTypeHasBeenSet =
false;
529 bool m_statusHasBeenSet =
false;
530 bool m_statusMessageHasBeenSet =
false;
FirewallRule & WithQtype(QtypeT &&value)
void SetDnsThreatProtection(DnsThreatProtection value)
void SetName(NameT &&value)
void SetFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
bool StatusMessageHasBeenSet() const
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)
FirewallRule & WithFirewallRuleType(FirewallRuleTypeT &&value)
void SetModificationTime(ModificationTimeT &&value)
const Aws::String & GetCreationTime() const
void SetFirewallRuleType(FirewallRuleTypeT &&value)
bool QtypeHasBeenSet() const
bool FirewallDomainRedirectionActionHasBeenSet() const
bool FirewallThreatProtectionIdHasBeenSet() const
bool DnsThreatProtectionHasBeenSet() const
bool FirewallDomainListIdHasBeenSet() const
FirewallRule & WithFirewallDomainRedirectionAction(FirewallDomainRedirectionAction value)
bool StatusHasBeenSet() const
AWS_ROUTE53RESOLVER_API FirewallRule()=default
bool BlockOverrideDomainHasBeenSet() const
FirewallRule & WithCreatorRequestId(CreatorRequestIdT &&value)
const Aws::String & GetBlockOverrideDomain() const
const Aws::String & GetStatus() const
FirewallRule & WithStatus(StatusT &&value)
bool ModificationTimeHasBeenSet() const
FirewallRule & WithDnsThreatProtection(DnsThreatProtection value)
const Aws::String & GetStatusMessage() const
AWS_ROUTE53RESOLVER_API FirewallRule & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFirewallThreatProtectionId() const
FirewallRule & WithStatusMessage(StatusMessageT &&value)
void SetStatus(StatusT &&value)
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
const FirewallRuleType & GetFirewallRuleType() const
FirewallRule & WithFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
FirewallRule & WithCreationTime(CreationTimeT &&value)
void SetBlockOverrideDnsType(BlockOverrideDnsType value)
BlockResponse GetBlockResponse() const
bool FirewallRuleTypeHasBeenSet() 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)
void SetStatusMessage(StatusMessageT &&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