7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53resolver/Route53ResolverRequest.h>
10#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
11#include <aws/route53resolver/model/Action.h>
12#include <aws/route53resolver/model/BlockOverrideDnsType.h>
13#include <aws/route53resolver/model/BlockResponse.h>
14#include <aws/route53resolver/model/ConfidenceThreshold.h>
15#include <aws/route53resolver/model/DnsThreatProtection.h>
16#include <aws/route53resolver/model/FirewallDomainRedirectionAction.h>
21namespace Route53Resolver {
49 template <
typename CreatorRequestIdT = Aws::String>
51 m_creatorRequestIdHasBeenSet =
true;
52 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
54 template <
typename CreatorRequestIdT = Aws::String>
68 template <
typename FirewallRuleGroupIdT = Aws::String>
70 m_firewallRuleGroupIdHasBeenSet =
true;
71 m_firewallRuleGroupId = std::forward<FirewallRuleGroupIdT>(value);
73 template <
typename FirewallRuleGroupIdT = Aws::String>
87 template <
typename FirewallDomainListIdT = Aws::String>
89 m_firewallDomainListIdHasBeenSet =
true;
90 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
92 template <
typename FirewallDomainListIdT = Aws::String>
111 m_priorityHasBeenSet =
true;
134 m_actionHasBeenSet =
true;
158 m_blockResponseHasBeenSet =
true;
159 m_blockResponse = value;
176 template <
typename BlockOverr
ideDomainT = Aws::String>
178 m_blockOverrideDomainHasBeenSet =
true;
179 m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value);
181 template <
typename BlockOverr
ideDomainT = Aws::String>
199 m_blockOverrideDnsTypeHasBeenSet =
true;
200 m_blockOverrideDnsType = value;
219 m_blockOverrideTtlHasBeenSet =
true;
220 m_blockOverrideTtl = value;
234 template <
typename NameT = Aws::String>
236 m_nameHasBeenSet =
true;
237 m_name = std::forward<NameT>(value);
239 template <
typename NameT = Aws::String>
241 SetName(std::forward<NameT>(value));
259 m_firewallDomainRedirectionActionHasBeenSet =
true;
260 m_firewallDomainRedirectionAction = value;
290 template <
typename QtypeT = Aws::String>
292 m_qtypeHasBeenSet =
true;
293 m_qtype = std::forward<QtypeT>(value);
295 template <
typename QtypeT = Aws::String>
297 SetQtype(std::forward<QtypeT>(value));
309 m_dnsThreatProtectionHasBeenSet =
true;
310 m_dnsThreatProtection = value;
331 m_confidenceThresholdHasBeenSet =
true;
332 m_confidenceThreshold = value;
356 int m_blockOverrideTtl{0};
367 bool m_creatorRequestIdHasBeenSet =
true;
368 bool m_firewallRuleGroupIdHasBeenSet =
false;
369 bool m_firewallDomainListIdHasBeenSet =
false;
370 bool m_priorityHasBeenSet =
false;
371 bool m_actionHasBeenSet =
false;
372 bool m_blockResponseHasBeenSet =
false;
373 bool m_blockOverrideDomainHasBeenSet =
false;
374 bool m_blockOverrideDnsTypeHasBeenSet =
false;
375 bool m_blockOverrideTtlHasBeenSet =
false;
376 bool m_nameHasBeenSet =
false;
377 bool m_firewallDomainRedirectionActionHasBeenSet =
false;
378 bool m_qtypeHasBeenSet =
false;
379 bool m_dnsThreatProtectionHasBeenSet =
false;
380 bool m_confidenceThresholdHasBeenSet =
false;
void SetBlockOverrideTtl(int value)
bool ConfidenceThresholdHasBeenSet() const
const Aws::String & GetFirewallDomainListId() const
CreateFirewallRuleRequest & WithBlockOverrideDnsType(BlockOverrideDnsType value)
BlockResponse GetBlockResponse() const
CreateFirewallRuleRequest & WithFirewallDomainRedirectionAction(FirewallDomainRedirectionAction value)
bool PriorityHasBeenSet() const
int GetBlockOverrideTtl() const
CreateFirewallRuleRequest & WithConfidenceThreshold(ConfidenceThreshold value)
CreateFirewallRuleRequest & WithName(NameT &&value)
BlockOverrideDnsType GetBlockOverrideDnsType() const
CreateFirewallRuleRequest & WithQtype(QtypeT &&value)
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetCreatorRequestId() const
FirewallDomainRedirectionAction GetFirewallDomainRedirectionAction() const
CreateFirewallRuleRequest & WithCreatorRequestId(CreatorRequestIdT &&value)
DnsThreatProtection GetDnsThreatProtection() const
void SetQtype(QtypeT &&value)
void SetAction(Action value)
bool NameHasBeenSet() const
bool FirewallDomainRedirectionActionHasBeenSet() const
const Aws::String & GetName() const
virtual const char * GetServiceRequestName() const override
bool FirewallRuleGroupIdHasBeenSet() const
const Aws::String & GetBlockOverrideDomain() const
void SetConfidenceThreshold(ConfidenceThreshold value)
void SetFirewallDomainRedirectionAction(FirewallDomainRedirectionAction value)
bool BlockOverrideTtlHasBeenSet() const
CreateFirewallRuleRequest & WithPriority(int value)
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
CreateFirewallRuleRequest & WithAction(Action value)
bool QtypeHasBeenSet() const
const Aws::String & GetFirewallRuleGroupId() const
void SetBlockResponse(BlockResponse value)
void SetBlockOverrideDomain(BlockOverrideDomainT &&value)
CreateFirewallRuleRequest & WithFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
void SetPriority(int value)
bool DnsThreatProtectionHasBeenSet() const
bool ActionHasBeenSet() const
void SetName(NameT &&value)
CreateFirewallRuleRequest & WithBlockOverrideTtl(int value)
CreateFirewallRuleRequest & WithBlockOverrideDomain(BlockOverrideDomainT &&value)
bool BlockOverrideDnsTypeHasBeenSet() const
void SetDnsThreatProtection(DnsThreatProtection value)
bool CreatorRequestIdHasBeenSet() const
bool FirewallDomainListIdHasBeenSet() const
CreateFirewallRuleRequest & WithDnsThreatProtection(DnsThreatProtection value)
CreateFirewallRuleRequest & WithFirewallDomainListId(FirewallDomainListIdT &&value)
CreateFirewallRuleRequest & WithBlockResponse(BlockResponse value)
bool BlockResponseHasBeenSet() const
void SetBlockOverrideDnsType(BlockOverrideDnsType value)
const Aws::String & GetQtype() const
void SetCreatorRequestId(CreatorRequestIdT &&value)
bool BlockOverrideDomainHasBeenSet() const
void SetFirewallDomainListId(FirewallDomainListIdT &&value)
ConfidenceThreshold GetConfidenceThreshold() const
void SetFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
AWS_ROUTE53RESOLVER_API CreateFirewallRuleRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
FirewallDomainRedirectionAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String