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 {
46 m_actionHasBeenSet =
true;
65 m_blockOverrideDnsTypeHasBeenSet =
true;
66 m_blockOverrideDnsType = value;
82 template <
typename BlockOverr
ideDomainT = Aws::String>
84 m_blockOverrideDomainHasBeenSet =
true;
85 m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value);
87 template <
typename BlockOverr
ideDomainT = Aws::String>
104 m_blockOverrideTtlHasBeenSet =
true;
105 m_blockOverrideTtl = value;
121 m_blockResponseHasBeenSet =
true;
122 m_blockResponse = value;
138 template <
typename ClientTokenT = Aws::String>
140 m_clientTokenHasBeenSet =
true;
141 m_clientToken = std::forward<ClientTokenT>(value);
143 template <
typename ClientTokenT = Aws::String>
158 m_confidenceThresholdHasBeenSet =
true;
159 m_confidenceThreshold = value;
173 template <
typename DescriptionT = Aws::String>
175 m_descriptionHasBeenSet =
true;
176 m_description = std::forward<DescriptionT>(value);
178 template <
typename DescriptionT = Aws::String>
193 m_dnsAdvancedProtectionHasBeenSet =
true;
194 m_dnsAdvancedProtection = value;
208 template <
typename FirewallRuleIdT = Aws::String>
210 m_firewallRuleIdHasBeenSet =
true;
211 m_firewallRuleId = std::forward<FirewallRuleIdT>(value);
213 template <
typename FirewallRuleIdT = Aws::String>
226 template <
typename NameT = Aws::String>
228 m_nameHasBeenSet =
true;
229 m_name = std::forward<NameT>(value);
231 template <
typename NameT = Aws::String>
233 SetName(std::forward<NameT>(value));
247 m_priorityHasBeenSet =
true;
262 int m_blockOverrideTtl{0};
278 long long m_priority{0};
279 bool m_actionHasBeenSet =
false;
280 bool m_blockOverrideDnsTypeHasBeenSet =
false;
281 bool m_blockOverrideDomainHasBeenSet =
false;
282 bool m_blockOverrideTtlHasBeenSet =
false;
283 bool m_blockResponseHasBeenSet =
false;
284 bool m_clientTokenHasBeenSet =
true;
285 bool m_confidenceThresholdHasBeenSet =
false;
286 bool m_descriptionHasBeenSet =
false;
287 bool m_dnsAdvancedProtectionHasBeenSet =
false;
288 bool m_firewallRuleIdHasBeenSet =
false;
289 bool m_nameHasBeenSet =
false;
290 bool m_priorityHasBeenSet =
false;
int GetBlockOverrideTtl() const
const Aws::String & GetDescription() const
bool BlockOverrideTtlHasBeenSet() const
BlockOverrideDnsQueryType GetBlockOverrideDnsType() const
UpdateFirewallRuleRequest & WithClientToken(ClientTokenT &&value)
UpdateFirewallRuleRequest & WithName(NameT &&value)
FirewallBlockResponse GetBlockResponse() const
bool DescriptionHasBeenSet() const
void SetName(NameT &&value)
bool NameHasBeenSet() const
void SetBlockOverrideDomain(BlockOverrideDomainT &&value)
UpdateFirewallRuleRequest & WithAction(FirewallRuleAction value)
long long GetPriority() const
void SetFirewallRuleId(FirewallRuleIdT &&value)
UpdateFirewallRuleRequest & WithBlockOverrideDomain(BlockOverrideDomainT &&value)
void SetBlockResponse(FirewallBlockResponse value)
const Aws::String & GetBlockOverrideDomain() const
UpdateFirewallRuleRequest & WithBlockOverrideDnsType(BlockOverrideDnsQueryType value)
bool PriorityHasBeenSet() const
UpdateFirewallRuleRequest & WithDescription(DescriptionT &&value)
bool BlockResponseHasBeenSet() const
bool BlockOverrideDomainHasBeenSet() const
UpdateFirewallRuleRequest & WithDnsAdvancedProtection(DnsAdvancedProtection value)
const Aws::String & GetName() const
bool DnsAdvancedProtectionHasBeenSet() const
UpdateFirewallRuleRequest & WithBlockResponse(FirewallBlockResponse value)
virtual const char * GetServiceRequestName() const override
void SetAction(FirewallRuleAction value)
void SetPriority(long long value)
void SetDnsAdvancedProtection(DnsAdvancedProtection value)
AWS_ROUTE53GLOBALRESOLVER_API Aws::String SerializePayload() const override
UpdateFirewallRuleRequest & WithConfidenceThreshold(ConfidenceThreshold value)
AWS_ROUTE53GLOBALRESOLVER_API UpdateFirewallRuleRequest()=default
void SetBlockOverrideDnsType(BlockOverrideDnsQueryType value)
FirewallRuleAction GetAction() const
void SetClientToken(ClientTokenT &&value)
bool ActionHasBeenSet() const
bool ConfidenceThresholdHasBeenSet() const
bool FirewallRuleIdHasBeenSet() const
bool BlockOverrideDnsTypeHasBeenSet() const
const Aws::String & GetClientToken() const
UpdateFirewallRuleRequest & WithFirewallRuleId(FirewallRuleIdT &&value)
void SetDescription(DescriptionT &&value)
bool ClientTokenHasBeenSet() const
UpdateFirewallRuleRequest & WithPriority(long long value)
UpdateFirewallRuleRequest & WithBlockOverrideTtl(int value)
const Aws::String & GetFirewallRuleId() const
ConfidenceThreshold GetConfidenceThreshold() const
void SetConfidenceThreshold(ConfidenceThreshold value)
DnsAdvancedProtection GetDnsAdvancedProtection() const
void SetBlockOverrideTtl(int value)
static Aws::Utils::UUID PseudoRandomUUID()
BlockOverrideDnsQueryType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String