7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53globalresolver/Route53GlobalResolver_EXPORTS.h>
11#include <aws/route53globalresolver/model/BlockOverrideDnsQueryType.h>
12#include <aws/route53globalresolver/model/CRResourceStatus.h>
13#include <aws/route53globalresolver/model/ConfidenceThreshold.h>
14#include <aws/route53globalresolver/model/DnsAdvancedProtection.h>
15#include <aws/route53globalresolver/model/FirewallBlockResponse.h>
16#include <aws/route53globalresolver/model/FirewallRuleAction.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace Route53GlobalResolver {
45 m_actionHasBeenSet =
true;
63 m_blockOverrideDnsTypeHasBeenSet =
true;
64 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>
100 m_blockOverrideTtlHasBeenSet =
true;
101 m_blockOverrideTtl = value;
116 m_blockResponseHasBeenSet =
true;
117 m_blockResponse = value;
132 m_confidenceThresholdHasBeenSet =
true;
133 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>
163 template <
typename DescriptionT = Aws::String>
165 m_descriptionHasBeenSet =
true;
166 m_description = std::forward<DescriptionT>(value);
168 template <
typename DescriptionT = Aws::String>
182 m_dnsAdvancedProtectionHasBeenSet =
true;
183 m_dnsAdvancedProtection = value;
196 template <
typename FirewallDomainListIdT = Aws::String>
198 m_firewallDomainListIdHasBeenSet =
true;
199 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
201 template <
typename FirewallDomainListIdT = Aws::String>
213 template <
typename IdT = Aws::String>
215 m_idHasBeenSet =
true;
216 m_id = std::forward<IdT>(value);
218 template <
typename IdT = Aws::String>
220 SetId(std::forward<IdT>(value));
230 template <
typename NameT = Aws::String>
232 m_nameHasBeenSet =
true;
233 m_name = std::forward<NameT>(value);
235 template <
typename NameT = Aws::String>
237 SetName(std::forward<NameT>(value));
250 m_priorityHasBeenSet =
true;
264 template <
typename DnsViewIdT = Aws::String>
266 m_dnsViewIdHasBeenSet =
true;
267 m_dnsViewId = std::forward<DnsViewIdT>(value);
269 template <
typename DnsViewIdT = Aws::String>
281 template <
typename QueryTypeT = Aws::String>
283 m_queryTypeHasBeenSet =
true;
284 m_queryType = std::forward<QueryTypeT>(value);
286 template <
typename QueryTypeT = Aws::String>
299 m_statusHasBeenSet =
true;
313 template <
typename UpdatedAtT = Aws::Utils::DateTime>
315 m_updatedAtHasBeenSet =
true;
316 m_updatedAt = std::forward<UpdatedAtT>(value);
318 template <
typename UpdatedAtT = Aws::Utils::DateTime>
328 template <
typename RequestIdT = Aws::String>
330 m_requestIdHasBeenSet =
true;
331 m_requestId = std::forward<RequestIdT>(value);
333 template <
typename RequestIdT = Aws::String>
348 int m_blockOverrideTtl{0};
366 long long m_priority{0};
378 bool m_actionHasBeenSet =
false;
379 bool m_blockOverrideDnsTypeHasBeenSet =
false;
380 bool m_blockOverrideDomainHasBeenSet =
false;
381 bool m_blockOverrideTtlHasBeenSet =
false;
382 bool m_blockResponseHasBeenSet =
false;
383 bool m_confidenceThresholdHasBeenSet =
false;
384 bool m_createdAtHasBeenSet =
false;
385 bool m_descriptionHasBeenSet =
false;
386 bool m_dnsAdvancedProtectionHasBeenSet =
false;
387 bool m_firewallDomainListIdHasBeenSet =
false;
388 bool m_idHasBeenSet =
false;
389 bool m_nameHasBeenSet =
false;
390 bool m_priorityHasBeenSet =
false;
391 bool m_dnsViewIdHasBeenSet =
false;
392 bool m_queryTypeHasBeenSet =
false;
393 bool m_statusHasBeenSet =
false;
394 bool m_updatedAtHasBeenSet =
false;
395 bool m_requestIdHasBeenSet =
false;
void SetPriority(long long value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetFirewallDomainListId() const
GetFirewallRuleResult & WithPriority(long long value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetCreatedAt(CreatedAtT &&value)
void SetConfidenceThreshold(ConfidenceThreshold value)
const Aws::String & GetName() const
GetFirewallRuleResult & WithRequestId(RequestIdT &&value)
FirewallBlockResponse GetBlockResponse() const
CRResourceStatus GetStatus() const
AWS_ROUTE53GLOBALRESOLVER_API GetFirewallRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDnsViewId() const
BlockOverrideDnsQueryType GetBlockOverrideDnsType() const
GetFirewallRuleResult & WithDnsViewId(DnsViewIdT &&value)
GetFirewallRuleResult & WithFirewallDomainListId(FirewallDomainListIdT &&value)
void SetDnsViewId(DnsViewIdT &&value)
int GetBlockOverrideTtl() const
GetFirewallRuleResult & WithBlockResponse(FirewallBlockResponse value)
DnsAdvancedProtection GetDnsAdvancedProtection() const
GetFirewallRuleResult & WithStatus(CRResourceStatus value)
GetFirewallRuleResult & WithDnsAdvancedProtection(DnsAdvancedProtection value)
const Aws::String & GetId() const
void SetName(NameT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetBlockOverrideDomain() const
GetFirewallRuleResult & WithId(IdT &&value)
GetFirewallRuleResult & WithBlockOverrideTtl(int value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetBlockOverrideTtl(int value)
void SetBlockOverrideDomain(BlockOverrideDomainT &&value)
const Aws::String & GetRequestId() const
GetFirewallRuleResult & WithCreatedAt(CreatedAtT &&value)
GetFirewallRuleResult & WithAction(FirewallRuleAction value)
void SetBlockOverrideDnsType(BlockOverrideDnsQueryType value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetBlockResponse(FirewallBlockResponse value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetFirewallDomainListId(FirewallDomainListIdT &&value)
void SetAction(FirewallRuleAction value)
void SetQueryType(QueryTypeT &&value)
ConfidenceThreshold GetConfidenceThreshold() const
AWS_ROUTE53GLOBALRESOLVER_API GetFirewallRuleResult()=default
AWS_ROUTE53GLOBALRESOLVER_API GetFirewallRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFirewallRuleResult & WithBlockOverrideDnsType(BlockOverrideDnsQueryType value)
void SetDnsAdvancedProtection(DnsAdvancedProtection value)
GetFirewallRuleResult & WithName(NameT &&value)
long long GetPriority() const
GetFirewallRuleResult & WithConfidenceThreshold(ConfidenceThreshold value)
void SetStatus(CRResourceStatus value)
GetFirewallRuleResult & WithQueryType(QueryTypeT &&value)
GetFirewallRuleResult & WithDescription(DescriptionT &&value)
GetFirewallRuleResult & WithBlockOverrideDomain(BlockOverrideDomainT &&value)
const Aws::String & GetQueryType() const
FirewallRuleAction GetAction() const
GetFirewallRuleResult & WithUpdatedAt(UpdatedAtT &&value)
BlockOverrideDnsQueryType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue