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>
17#include <aws/core/utils/UUID.h>
21namespace Route53Resolver
53 template<
typename CreatorRequestIdT = Aws::String>
54 void SetCreatorRequestId(CreatorRequestIdT&& value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId = std::forward<CreatorRequestIdT>(value); }
55 template<
typename CreatorRequestIdT = Aws::String>
66 template<
typename FirewallRuleGroupIdT = Aws::String>
67 void SetFirewallRuleGroupId(FirewallRuleGroupIdT&& value) { m_firewallRuleGroupIdHasBeenSet =
true; m_firewallRuleGroupId = std::forward<FirewallRuleGroupIdT>(value); }
68 template<
typename FirewallRuleGroupIdT = Aws::String>
79 template<
typename FirewallDomainListIdT = Aws::String>
80 void SetFirewallDomainListId(FirewallDomainListIdT&& value) { m_firewallDomainListIdHasBeenSet =
true; m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value); }
81 template<
typename FirewallDomainListIdT = Aws::String>
96 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
144 template<
typename BlockOverr
ideDomainT = Aws::String>
145 void SetBlockOverrideDomain(BlockOverrideDomainT&& value) { m_blockOverrideDomainHasBeenSet =
true; m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value); }
146 template<
typename BlockOverr
ideDomainT = Aws::String>
174 inline void SetBlockOverrideTtl(
int value) { m_blockOverrideTtlHasBeenSet =
true; m_blockOverrideTtl = value; }
184 template<
typename NameT = Aws::String>
185 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
186 template<
typename NameT = Aws::String>
228 template<
typename QtypeT = Aws::String>
229 void SetQtype(QtypeT&& value) { m_qtypeHasBeenSet =
true; m_qtype = std::forward<QtypeT>(value); }
230 template<
typename QtypeT = Aws::String>
262 bool m_creatorRequestIdHasBeenSet =
true;
265 bool m_firewallRuleGroupIdHasBeenSet =
false;
268 bool m_firewallDomainListIdHasBeenSet =
false;
271 bool m_priorityHasBeenSet =
false;
274 bool m_actionHasBeenSet =
false;
277 bool m_blockResponseHasBeenSet =
false;
280 bool m_blockOverrideDomainHasBeenSet =
false;
283 bool m_blockOverrideDnsTypeHasBeenSet =
false;
285 int m_blockOverrideTtl{0};
286 bool m_blockOverrideTtlHasBeenSet =
false;
289 bool m_nameHasBeenSet =
false;
292 bool m_firewallDomainRedirectionActionHasBeenSet =
false;
295 bool m_qtypeHasBeenSet =
false;
298 bool m_dnsThreatProtectionHasBeenSet =
false;
301 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