7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53resolver/model/Action.h>
10#include <aws/route53resolver/model/BlockResponse.h>
11#include <aws/route53resolver/model/BlockOverrideDnsType.h>
12#include <aws/route53resolver/model/FirewallDomainRedirectionAction.h>
25namespace Route53Resolver
52 inline void SetFirewallRuleGroupId(
const char* value) { m_firewallRuleGroupIdHasBeenSet =
true; m_firewallRuleGroupId.assign(value); }
66 inline void SetFirewallDomainListId(
const char* value) { m_firewallDomainListIdHasBeenSet =
true; m_firewallDomainListId.assign(value); }
80 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
94 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
110 inline void SetAction(
const Action& value) { m_actionHasBeenSet =
true; m_action = value; }
111 inline void SetAction(
Action&& value) { m_actionHasBeenSet =
true; m_action = std::move(value); }
145 inline void SetBlockOverrideDomain(
const char* value) { m_blockOverrideDomainHasBeenSet =
true; m_blockOverrideDomain.assign(value); }
175 inline void SetBlockOverrideTtl(
int value) { m_blockOverrideTtlHasBeenSet =
true; m_blockOverrideTtl = value; }
189 inline void SetCreatorRequestId(
const char* value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId.assign(value); }
204 inline void SetCreationTime(
const char* value) { m_creationTimeHasBeenSet =
true; m_creationTime.assign(value); }
219 inline void SetModificationTime(
const char* value) { m_modificationTimeHasBeenSet =
true; m_modificationTime.assign(value); }
267 inline void SetQtype(
const char* value) { m_qtypeHasBeenSet =
true; m_qtype.assign(value); }
275 bool m_firewallRuleGroupIdHasBeenSet =
false;
278 bool m_firewallDomainListIdHasBeenSet =
false;
281 bool m_nameHasBeenSet =
false;
284 bool m_priorityHasBeenSet =
false;
287 bool m_actionHasBeenSet =
false;
290 bool m_blockResponseHasBeenSet =
false;
293 bool m_blockOverrideDomainHasBeenSet =
false;
296 bool m_blockOverrideDnsTypeHasBeenSet =
false;
298 int m_blockOverrideTtl;
299 bool m_blockOverrideTtlHasBeenSet =
false;
302 bool m_creatorRequestIdHasBeenSet =
false;
305 bool m_creationTimeHasBeenSet =
false;
308 bool m_modificationTimeHasBeenSet =
false;
311 bool m_firewallDomainRedirectionActionHasBeenSet =
false;
314 bool m_qtypeHasBeenSet =
false;
FirewallRule & WithModificationTime(const Aws::String &value)
void SetModificationTime(const char *value)
void SetModificationTime(Aws::String &&value)
void SetModificationTime(const Aws::String &value)
FirewallRule & WithBlockOverrideDnsType(const BlockOverrideDnsType &value)
void SetAction(const Action &value)
AWS_ROUTE53RESOLVER_API FirewallRule(Aws::Utils::Json::JsonView jsonValue)
FirewallRule & WithBlockOverrideDomain(const Aws::String &value)
FirewallRule & WithFirewallDomainListId(Aws::String &&value)
const FirewallDomainRedirectionAction & GetFirewallDomainRedirectionAction() const
FirewallRule & WithCreationTime(Aws::String &&value)
FirewallRule & WithFirewallDomainListId(const Aws::String &value)
const Aws::String & GetModificationTime() const
void SetName(Aws::String &&value)
void SetFirewallDomainRedirectionAction(FirewallDomainRedirectionAction &&value)
void SetBlockOverrideDomain(const char *value)
FirewallRule & WithAction(const Action &value)
void SetBlockOverrideDomain(Aws::String &&value)
const Aws::String & GetCreationTime() const
const Action & GetAction() const
void SetQtype(Aws::String &&value)
void SetName(const Aws::String &value)
bool QtypeHasBeenSet() const
bool FirewallDomainRedirectionActionHasBeenSet() const
FirewallRule & WithName(const Aws::String &value)
FirewallRule & WithCreationTime(const char *value)
void SetName(const char *value)
bool FirewallDomainListIdHasBeenSet() const
FirewallRule & WithModificationTime(const char *value)
FirewallRule & WithQtype(Aws::String &&value)
FirewallRule & WithFirewallRuleGroupId(const Aws::String &value)
FirewallRule & WithFirewallRuleGroupId(Aws::String &&value)
FirewallRule & WithFirewallDomainListId(const char *value)
bool BlockOverrideDomainHasBeenSet() const
FirewallRule & WithName(const char *value)
const Aws::String & GetBlockOverrideDomain() const
void SetBlockResponse(const BlockResponse &value)
void SetCreatorRequestId(Aws::String &&value)
void SetBlockOverrideDnsType(BlockOverrideDnsType &&value)
bool ModificationTimeHasBeenSet() const
AWS_ROUTE53RESOLVER_API FirewallRule & operator=(Aws::Utils::Json::JsonView jsonValue)
FirewallRule & WithCreatorRequestId(const Aws::String &value)
const BlockResponse & GetBlockResponse() const
void SetCreationTime(const Aws::String &value)
void SetFirewallDomainListId(Aws::String &&value)
const BlockOverrideDnsType & GetBlockOverrideDnsType() const
FirewallRule & WithBlockResponse(const BlockResponse &value)
FirewallRule & WithFirewallRuleGroupId(const char *value)
void SetQtype(const Aws::String &value)
void SetBlockResponse(BlockResponse &&value)
FirewallRule & WithAction(Action &&value)
bool PriorityHasBeenSet() const
bool BlockOverrideTtlHasBeenSet() const
FirewallRule & WithPriority(int value)
FirewallRule & WithFirewallDomainRedirectionAction(const FirewallDomainRedirectionAction &value)
FirewallRule & WithName(Aws::String &&value)
void SetFirewallRuleGroupId(Aws::String &&value)
const Aws::String & GetCreatorRequestId() const
void SetFirewallRuleGroupId(const Aws::String &value)
const Aws::String & GetFirewallDomainListId() const
bool CreatorRequestIdHasBeenSet() const
void SetAction(Action &&value)
void SetBlockOverrideDnsType(const BlockOverrideDnsType &value)
bool BlockResponseHasBeenSet() const
FirewallRule & WithModificationTime(Aws::String &&value)
bool NameHasBeenSet() const
void SetCreatorRequestId(const char *value)
AWS_ROUTE53RESOLVER_API FirewallRule()
void SetBlockOverrideTtl(int value)
bool BlockOverrideDnsTypeHasBeenSet() const
void SetBlockOverrideDomain(const Aws::String &value)
void SetFirewallRuleGroupId(const char *value)
bool FirewallRuleGroupIdHasBeenSet() const
FirewallRule & WithQtype(const Aws::String &value)
void SetCreationTime(Aws::String &&value)
FirewallRule & WithFirewallDomainRedirectionAction(FirewallDomainRedirectionAction &&value)
FirewallRule & WithBlockOverrideDnsType(BlockOverrideDnsType &&value)
const Aws::String & GetQtype() const
void SetQtype(const char *value)
void SetCreationTime(const char *value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActionHasBeenSet() const
void SetFirewallDomainListId(const Aws::String &value)
FirewallRule & WithBlockOverrideTtl(int value)
void SetFirewallDomainRedirectionAction(const FirewallDomainRedirectionAction &value)
void SetPriority(int value)
FirewallRule & WithBlockOverrideDomain(const char *value)
FirewallRule & WithCreatorRequestId(const char *value)
FirewallRule & WithBlockResponse(BlockResponse &&value)
FirewallRule & WithCreationTime(const Aws::String &value)
FirewallRule & WithBlockOverrideDomain(Aws::String &&value)
const Aws::String & GetName() const
bool CreationTimeHasBeenSet() const
void SetCreatorRequestId(const Aws::String &value)
FirewallRule & WithQtype(const char *value)
const Aws::String & GetFirewallRuleGroupId() const
void SetFirewallDomainListId(const char *value)
int GetBlockOverrideTtl() const
FirewallRule & WithCreatorRequestId(Aws::String &&value)
FirewallDomainRedirectionAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue