7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53globalresolver/Route53GlobalResolverRequest.h>
10#include <aws/route53globalresolver/Route53GlobalResolver_EXPORTS.h>
11#include <aws/route53globalresolver/model/BlockOverrideDnsQueryType.h>
12#include <aws/route53globalresolver/model/ConfidenceThreshold.h>
13#include <aws/route53globalresolver/model/DnsAdvancedProtection.h>
14#include <aws/route53globalresolver/model/FirewallBlockResponse.h>
15#include <aws/route53globalresolver/model/FirewallRuleAction.h>
20namespace Route53GlobalResolver {
49 m_actionHasBeenSet =
true;
69 m_blockOverrideDnsTypeHasBeenSet =
true;
70 m_blockOverrideDnsType = value;
87 template <
typename BlockOverr
ideDomainT = Aws::String>
89 m_blockOverrideDomainHasBeenSet =
true;
90 m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value);
92 template <
typename BlockOverr
ideDomainT = Aws::String>
110 m_blockOverrideTtlHasBeenSet =
true;
111 m_blockOverrideTtl = value;
128 m_blockResponseHasBeenSet =
true;
129 m_blockResponse = value;
145 template <
typename ClientTokenT = Aws::String>
147 m_clientTokenHasBeenSet =
true;
148 m_clientToken = std::forward<ClientTokenT>(value);
150 template <
typename ClientTokenT = Aws::String>
166 m_confidenceThresholdHasBeenSet =
true;
167 m_confidenceThreshold = value;
181 template <
typename DescriptionT = Aws::String>
183 m_descriptionHasBeenSet =
true;
184 m_description = std::forward<DescriptionT>(value);
186 template <
typename DescriptionT = Aws::String>
202 m_dnsAdvancedProtectionHasBeenSet =
true;
203 m_dnsAdvancedProtection = value;
217 template <
typename FirewallDomainListIdT = Aws::String>
219 m_firewallDomainListIdHasBeenSet =
true;
220 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
222 template <
typename FirewallDomainListIdT = Aws::String>
235 template <
typename NameT = Aws::String>
237 m_nameHasBeenSet =
true;
238 m_name = std::forward<NameT>(value);
240 template <
typename NameT = Aws::String>
242 SetName(std::forward<NameT>(value));
256 m_priorityHasBeenSet =
true;
271 template <
typename DnsViewIdT = Aws::String>
273 m_dnsViewIdHasBeenSet =
true;
274 m_dnsViewId = std::forward<DnsViewIdT>(value);
276 template <
typename DnsViewIdT = Aws::String>
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));
308 int m_blockOverrideTtl{0};
324 long long m_priority{0};
329 bool m_actionHasBeenSet =
false;
330 bool m_blockOverrideDnsTypeHasBeenSet =
false;
331 bool m_blockOverrideDomainHasBeenSet =
false;
332 bool m_blockOverrideTtlHasBeenSet =
false;
333 bool m_blockResponseHasBeenSet =
false;
334 bool m_clientTokenHasBeenSet =
true;
335 bool m_confidenceThresholdHasBeenSet =
false;
336 bool m_descriptionHasBeenSet =
false;
337 bool m_dnsAdvancedProtectionHasBeenSet =
false;
338 bool m_firewallDomainListIdHasBeenSet =
false;
339 bool m_nameHasBeenSet =
false;
340 bool m_priorityHasBeenSet =
false;
341 bool m_dnsViewIdHasBeenSet =
false;
342 bool m_qTypeHasBeenSet =
false;
bool BlockOverrideDnsTypeHasBeenSet() const
CreateFirewallRuleRequest & WithFirewallDomainListId(FirewallDomainListIdT &&value)
CreateFirewallRuleRequest & WithDescription(DescriptionT &&value)
bool BlockOverrideTtlHasBeenSet() const
const Aws::String & GetQType() const
CreateFirewallRuleRequest & WithBlockOverrideDomain(BlockOverrideDomainT &&value)
void SetDnsAdvancedProtection(DnsAdvancedProtection value)
CreateFirewallRuleRequest & WithName(NameT &&value)
CreateFirewallRuleRequest & WithBlockResponse(FirewallBlockResponse value)
void SetConfidenceThreshold(ConfidenceThreshold value)
const Aws::String & GetClientToken() const
void SetFirewallDomainListId(FirewallDomainListIdT &&value)
ConfidenceThreshold GetConfidenceThreshold() const
AWS_ROUTE53GLOBALRESOLVER_API CreateFirewallRuleRequest()=default
DnsAdvancedProtection GetDnsAdvancedProtection() const
BlockOverrideDnsQueryType GetBlockOverrideDnsType() const
bool BlockResponseHasBeenSet() const
const Aws::String & GetBlockOverrideDomain() const
bool QTypeHasBeenSet() const
CreateFirewallRuleRequest & WithBlockOverrideTtl(int value)
CreateFirewallRuleRequest & WithAction(FirewallRuleAction value)
const Aws::String & GetDnsViewId() const
bool DnsAdvancedProtectionHasBeenSet() const
void SetDnsViewId(DnsViewIdT &&value)
int GetBlockOverrideTtl() const
bool PriorityHasBeenSet() const
CreateFirewallRuleRequest & WithQType(QTypeT &&value)
bool FirewallDomainListIdHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
CreateFirewallRuleRequest & WithBlockOverrideDnsType(BlockOverrideDnsQueryType value)
FirewallBlockResponse GetBlockResponse() const
void SetBlockOverrideTtl(int value)
void SetBlockOverrideDomain(BlockOverrideDomainT &&value)
CreateFirewallRuleRequest & WithPriority(long long value)
void SetAction(FirewallRuleAction value)
const Aws::String & GetDescription() const
void SetQType(QTypeT &&value)
CreateFirewallRuleRequest & WithDnsViewId(DnsViewIdT &&value)
bool ConfidenceThresholdHasBeenSet() const
CreateFirewallRuleRequest & WithConfidenceThreshold(ConfidenceThreshold value)
CreateFirewallRuleRequest & WithClientToken(ClientTokenT &&value)
void SetBlockResponse(FirewallBlockResponse value)
bool BlockOverrideDomainHasBeenSet() const
CreateFirewallRuleRequest & WithDnsAdvancedProtection(DnsAdvancedProtection value)
bool NameHasBeenSet() const
void SetName(NameT &&value)
FirewallRuleAction GetAction() const
bool DnsViewIdHasBeenSet() const
const Aws::String & GetFirewallDomainListId() const
void SetBlockOverrideDnsType(BlockOverrideDnsQueryType value)
AWS_ROUTE53GLOBALRESOLVER_API Aws::String SerializePayload() const override
void SetPriority(long long value)
long long GetPriority() const
const Aws::String & GetName() const
bool DescriptionHasBeenSet() const
bool ActionHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
BlockOverrideDnsQueryType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String