7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53globalresolver/Route53GlobalResolver_EXPORTS.h>
10#include <aws/route53globalresolver/model/BlockOverrideDnsQueryType.h>
11#include <aws/route53globalresolver/model/CRResourceStatus.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>
26namespace Route53GlobalResolver {
49 m_actionHasBeenSet =
true;
66 m_blockOverrideDnsTypeHasBeenSet =
true;
67 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>
101 m_blockOverrideTtlHasBeenSet =
true;
102 m_blockOverrideTtl = value;
117 m_blockResponseHasBeenSet =
true;
118 m_blockResponse = value;
132 template <
typename ClientTokenT = Aws::String>
134 m_clientTokenHasBeenSet =
true;
135 m_clientToken = std::forward<ClientTokenT>(value);
137 template <
typename ClientTokenT = Aws::String>
152 m_confidenceThresholdHasBeenSet =
true;
153 m_confidenceThreshold = value;
167 template <
typename CreatedAtT = Aws::Utils::DateTime>
169 m_createdAtHasBeenSet =
true;
170 m_createdAt = std::forward<CreatedAtT>(value);
172 template <
typename CreatedAtT = Aws::Utils::DateTime>
185 template <
typename DescriptionT = Aws::String>
187 m_descriptionHasBeenSet =
true;
188 m_description = std::forward<DescriptionT>(value);
190 template <
typename DescriptionT = Aws::String>
205 m_dnsAdvancedProtectionHasBeenSet =
true;
206 m_dnsAdvancedProtection = value;
221 template <
typename FirewallDomainListIdT = Aws::String>
223 m_firewallDomainListIdHasBeenSet =
true;
224 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
226 template <
typename FirewallDomainListIdT = Aws::String>
239 template <
typename IdT = Aws::String>
241 m_idHasBeenSet =
true;
242 m_id = std::forward<IdT>(value);
244 template <
typename IdT = Aws::String>
246 SetId(std::forward<IdT>(value));
257 template <
typename NameT = Aws::String>
259 m_nameHasBeenSet =
true;
260 m_name = std::forward<NameT>(value);
262 template <
typename NameT = Aws::String>
264 SetName(std::forward<NameT>(value));
276 m_priorityHasBeenSet =
true;
291 template <
typename DnsViewIdT = Aws::String>
293 m_dnsViewIdHasBeenSet =
true;
294 m_dnsViewId = std::forward<DnsViewIdT>(value);
296 template <
typename DnsViewIdT = Aws::String>
309 template <
typename QueryTypeT = Aws::String>
311 m_queryTypeHasBeenSet =
true;
312 m_queryType = std::forward<QueryTypeT>(value);
314 template <
typename QueryTypeT = Aws::String>
328 m_statusHasBeenSet =
true;
343 template <
typename UpdatedAtT = Aws::Utils::DateTime>
345 m_updatedAtHasBeenSet =
true;
346 m_updatedAt = std::forward<UpdatedAtT>(value);
348 template <
typename UpdatedAtT = Aws::Utils::DateTime>
361 int m_blockOverrideTtl{0};
381 long long m_priority{0};
390 bool m_actionHasBeenSet =
false;
391 bool m_blockOverrideDnsTypeHasBeenSet =
false;
392 bool m_blockOverrideDomainHasBeenSet =
false;
393 bool m_blockOverrideTtlHasBeenSet =
false;
394 bool m_blockResponseHasBeenSet =
false;
395 bool m_clientTokenHasBeenSet =
false;
396 bool m_confidenceThresholdHasBeenSet =
false;
397 bool m_createdAtHasBeenSet =
false;
398 bool m_descriptionHasBeenSet =
false;
399 bool m_dnsAdvancedProtectionHasBeenSet =
false;
400 bool m_firewallDomainListIdHasBeenSet =
false;
401 bool m_idHasBeenSet =
false;
402 bool m_nameHasBeenSet =
false;
403 bool m_priorityHasBeenSet =
false;
404 bool m_dnsViewIdHasBeenSet =
false;
405 bool m_queryTypeHasBeenSet =
false;
406 bool m_statusHasBeenSet =
false;
407 bool m_updatedAtHasBeenSet =
false;
BatchUpdateFirewallRuleResult & WithDnsAdvancedProtection(DnsAdvancedProtection value)
BatchUpdateFirewallRuleResult & WithBlockOverrideTtl(int value)
void SetStatus(CRResourceStatus value)
void SetName(NameT &&value)
void SetBlockOverrideDnsType(BlockOverrideDnsQueryType value)
bool FirewallDomainListIdHasBeenSet() const
BatchUpdateFirewallRuleResult & WithId(IdT &&value)
DnsAdvancedProtection GetDnsAdvancedProtection() const
bool BlockOverrideTtlHasBeenSet() const
bool StatusHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool BlockOverrideDnsTypeHasBeenSet() const
AWS_ROUTE53GLOBALRESOLVER_API BatchUpdateFirewallRuleResult(Aws::Utils::Json::JsonView jsonValue)
BlockOverrideDnsQueryType GetBlockOverrideDnsType() const
bool QueryTypeHasBeenSet() const
const Aws::String & GetBlockOverrideDomain() const
BatchUpdateFirewallRuleResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_ROUTE53GLOBALRESOLVER_API BatchUpdateFirewallRuleResult & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BlockResponseHasBeenSet() const
const Aws::String & GetName() const
BatchUpdateFirewallRuleResult & WithClientToken(ClientTokenT &&value)
FirewallRuleAction GetAction() const
BatchUpdateFirewallRuleResult & WithFirewallDomainListId(FirewallDomainListIdT &&value)
BatchUpdateFirewallRuleResult & WithDnsViewId(DnsViewIdT &&value)
FirewallBlockResponse GetBlockResponse() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetQueryType() const
void SetDnsAdvancedProtection(DnsAdvancedProtection value)
const Aws::String & GetDescription() const
void SetAction(FirewallRuleAction value)
const Aws::String & GetFirewallDomainListId() const
bool DnsAdvancedProtectionHasBeenSet() const
CRResourceStatus GetStatus() const
BatchUpdateFirewallRuleResult & WithConfidenceThreshold(ConfidenceThreshold value)
BatchUpdateFirewallRuleResult & WithDescription(DescriptionT &&value)
bool PriorityHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetId() const
const Aws::String & GetDnsViewId() const
BatchUpdateFirewallRuleResult & WithBlockOverrideDomain(BlockOverrideDomainT &&value)
AWS_ROUTE53GLOBALRESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
bool DnsViewIdHasBeenSet() const
bool NameHasBeenSet() const
void SetBlockResponse(FirewallBlockResponse value)
void SetQueryType(QueryTypeT &&value)
BatchUpdateFirewallRuleResult & WithQueryType(QueryTypeT &&value)
BatchUpdateFirewallRuleResult & WithCreatedAt(CreatedAtT &&value)
BatchUpdateFirewallRuleResult & WithName(NameT &&value)
BatchUpdateFirewallRuleResult & WithBlockOverrideDnsType(BlockOverrideDnsQueryType value)
void SetConfidenceThreshold(ConfidenceThreshold value)
BatchUpdateFirewallRuleResult & WithPriority(long long value)
bool CreatedAtHasBeenSet() const
BatchUpdateFirewallRuleResult & WithAction(FirewallRuleAction value)
AWS_ROUTE53GLOBALRESOLVER_API BatchUpdateFirewallRuleResult()=default
void SetCreatedAt(CreatedAtT &&value)
bool UpdatedAtHasBeenSet() const
void SetDnsViewId(DnsViewIdT &&value)
bool IdHasBeenSet() const
bool ConfidenceThresholdHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
BatchUpdateFirewallRuleResult & WithStatus(CRResourceStatus value)
void SetPriority(long long value)
void SetFirewallDomainListId(FirewallDomainListIdT &&value)
long long GetPriority() const
bool ActionHasBeenSet() const
BatchUpdateFirewallRuleResult & WithBlockResponse(FirewallBlockResponse value)
int GetBlockOverrideTtl() const
void SetBlockOverrideTtl(int value)
bool BlockOverrideDomainHasBeenSet() const
void SetBlockOverrideDomain(BlockOverrideDomainT &&value)
ConfidenceThreshold GetConfidenceThreshold() const
BlockOverrideDnsQueryType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue