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 {
48 m_actionHasBeenSet =
true;
64 m_blockOverrideDnsTypeHasBeenSet =
true;
65 m_blockOverrideDnsType = value;
79 template <
typename BlockOverr
ideDomainT = Aws::String>
81 m_blockOverrideDomainHasBeenSet =
true;
82 m_blockOverrideDomain = std::forward<BlockOverrideDomainT>(value);
84 template <
typename BlockOverr
ideDomainT = Aws::String>
98 m_blockOverrideTtlHasBeenSet =
true;
99 m_blockOverrideTtl = value;
114 m_blockResponseHasBeenSet =
true;
115 m_blockResponse = value;
131 m_confidenceThresholdHasBeenSet =
true;
132 m_confidenceThreshold = value;
146 template <
typename CreatedAtT = Aws::Utils::DateTime>
148 m_createdAtHasBeenSet =
true;
149 m_createdAt = std::forward<CreatedAtT>(value);
151 template <
typename CreatedAtT = Aws::Utils::DateTime>
164 template <
typename DescriptionT = Aws::String>
166 m_descriptionHasBeenSet =
true;
167 m_description = std::forward<DescriptionT>(value);
169 template <
typename DescriptionT = Aws::String>
183 m_dnsAdvancedProtectionHasBeenSet =
true;
184 m_dnsAdvancedProtection = value;
198 template <
typename FirewallDomainListIdT = Aws::String>
200 m_firewallDomainListIdHasBeenSet =
true;
201 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
203 template <
typename FirewallDomainListIdT = Aws::String>
216 template <
typename IdT = Aws::String>
218 m_idHasBeenSet =
true;
219 m_id = std::forward<IdT>(value);
221 template <
typename IdT = Aws::String>
223 SetId(std::forward<IdT>(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));
253 m_priorityHasBeenSet =
true;
268 template <
typename DnsViewIdT = Aws::String>
270 m_dnsViewIdHasBeenSet =
true;
271 m_dnsViewId = std::forward<DnsViewIdT>(value);
273 template <
typename DnsViewIdT = Aws::String>
286 template <
typename QueryTypeT = Aws::String>
288 m_queryTypeHasBeenSet =
true;
289 m_queryType = std::forward<QueryTypeT>(value);
291 template <
typename QueryTypeT = Aws::String>
305 m_statusHasBeenSet =
true;
320 template <
typename UpdatedAtT = Aws::Utils::DateTime>
322 m_updatedAtHasBeenSet =
true;
323 m_updatedAt = std::forward<UpdatedAtT>(value);
325 template <
typename UpdatedAtT = Aws::Utils::DateTime>
338 int m_blockOverrideTtl{0};
356 long long m_priority{0};
365 bool m_actionHasBeenSet =
false;
366 bool m_blockOverrideDnsTypeHasBeenSet =
false;
367 bool m_blockOverrideDomainHasBeenSet =
false;
368 bool m_blockOverrideTtlHasBeenSet =
false;
369 bool m_blockResponseHasBeenSet =
false;
370 bool m_confidenceThresholdHasBeenSet =
false;
371 bool m_createdAtHasBeenSet =
false;
372 bool m_descriptionHasBeenSet =
false;
373 bool m_dnsAdvancedProtectionHasBeenSet =
false;
374 bool m_firewallDomainListIdHasBeenSet =
false;
375 bool m_idHasBeenSet =
false;
376 bool m_nameHasBeenSet =
false;
377 bool m_priorityHasBeenSet =
false;
378 bool m_dnsViewIdHasBeenSet =
false;
379 bool m_queryTypeHasBeenSet =
false;
380 bool m_statusHasBeenSet =
false;
381 bool m_updatedAtHasBeenSet =
false;
bool StatusHasBeenSet() const
void SetBlockOverrideDnsType(BlockOverrideDnsQueryType value)
FirewallRulesItem & WithDescription(DescriptionT &&value)
FirewallRulesItem & WithName(NameT &&value)
bool BlockOverrideDnsTypeHasBeenSet() const
void SetName(NameT &&value)
void SetAction(FirewallRuleAction value)
const Aws::String & GetName() const
FirewallRulesItem & WithBlockOverrideDnsType(BlockOverrideDnsQueryType value)
void SetBlockResponse(FirewallBlockResponse value)
FirewallBlockResponse GetBlockResponse() const
FirewallRulesItem & WithAction(FirewallRuleAction value)
void SetPriority(long long value)
FirewallRulesItem & WithDnsViewId(DnsViewIdT &&value)
bool ActionHasBeenSet() const
bool NameHasBeenSet() const
void SetStatus(CRResourceStatus value)
bool UpdatedAtHasBeenSet() const
long long GetPriority() const
FirewallRulesItem & WithPriority(long long value)
FirewallRulesItem & WithBlockOverrideTtl(int value)
bool DescriptionHasBeenSet() const
bool FirewallDomainListIdHasBeenSet() const
FirewallRulesItem & WithFirewallDomainListId(FirewallDomainListIdT &&value)
CRResourceStatus GetStatus() const
void SetDnsAdvancedProtection(DnsAdvancedProtection value)
bool QueryTypeHasBeenSet() const
bool BlockOverrideTtlHasBeenSet() const
FirewallRuleAction GetAction() const
bool ConfidenceThresholdHasBeenSet() const
void SetDnsViewId(DnsViewIdT &&value)
bool DnsViewIdHasBeenSet() const
const Aws::String & GetId() const
void SetQueryType(QueryTypeT &&value)
void SetBlockOverrideDomain(BlockOverrideDomainT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
int GetBlockOverrideTtl() const
void SetFirewallDomainListId(FirewallDomainListIdT &&value)
FirewallRulesItem & WithUpdatedAt(UpdatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool BlockOverrideDomainHasBeenSet() const
void SetConfidenceThreshold(ConfidenceThreshold value)
const Aws::String & GetQueryType() const
bool PriorityHasBeenSet() const
AWS_ROUTE53GLOBALRESOLVER_API FirewallRulesItem & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DnsAdvancedProtectionHasBeenSet() const
FirewallRulesItem & WithStatus(CRResourceStatus value)
const Aws::String & GetDnsViewId() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_ROUTE53GLOBALRESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53GLOBALRESOLVER_API FirewallRulesItem()=default
const Aws::String & GetBlockOverrideDomain() const
bool BlockResponseHasBeenSet() const
AWS_ROUTE53GLOBALRESOLVER_API FirewallRulesItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFirewallDomainListId() const
void SetBlockOverrideTtl(int value)
FirewallRulesItem & WithDnsAdvancedProtection(DnsAdvancedProtection value)
FirewallRulesItem & WithId(IdT &&value)
BlockOverrideDnsQueryType GetBlockOverrideDnsType() const
FirewallRulesItem & WithBlockOverrideDomain(BlockOverrideDomainT &&value)
bool IdHasBeenSet() const
ConfidenceThreshold GetConfidenceThreshold() const
const Aws::String & GetDescription() const
FirewallRulesItem & WithCreatedAt(CreatedAtT &&value)
DnsAdvancedProtection GetDnsAdvancedProtection() const
FirewallRulesItem & WithBlockResponse(FirewallBlockResponse value)
FirewallRulesItem & WithConfidenceThreshold(ConfidenceThreshold value)
void SetDescription(DescriptionT &&value)
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
FirewallRulesItem & WithQueryType(QueryTypeT &&value)
BlockOverrideDnsQueryType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue