7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/route53resolver/Route53ResolverRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53resolver/model/Action.h>
11#include <aws/route53resolver/model/BlockResponse.h>
12#include <aws/route53resolver/model/BlockOverrideDnsType.h>
13#include <aws/route53resolver/model/FirewallDomainRedirectionAction.h>
18namespace Route53Resolver
49 inline void SetFirewallRuleGroupId(
const char* value) { m_firewallRuleGroupIdHasBeenSet =
true; m_firewallRuleGroupId.assign(value); }
63 inline void SetFirewallDomainListId(
const char* value) { m_firewallDomainListIdHasBeenSet =
true; m_firewallDomainListId.assign(value); }
80 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
95 inline void SetAction(
const Action& value) { m_actionHasBeenSet =
true; m_action = value; }
96 inline void SetAction(
Action&& value) { m_actionHasBeenSet =
true; m_action = std::move(value); }
130 inline void SetBlockOverrideDomain(
const char* value) { m_blockOverrideDomainHasBeenSet =
true; m_blockOverrideDomain.assign(value); }
160 inline void SetBlockOverrideTtl(
int value) { m_blockOverrideTtlHasBeenSet =
true; m_blockOverrideTtl = value; }
172 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
222 inline void SetQtype(
const char* value) { m_qtypeHasBeenSet =
true; m_qtype.assign(value); }
230 bool m_firewallRuleGroupIdHasBeenSet =
false;
233 bool m_firewallDomainListIdHasBeenSet =
false;
236 bool m_priorityHasBeenSet =
false;
239 bool m_actionHasBeenSet =
false;
242 bool m_blockResponseHasBeenSet =
false;
245 bool m_blockOverrideDomainHasBeenSet =
false;
248 bool m_blockOverrideDnsTypeHasBeenSet =
false;
250 int m_blockOverrideTtl;
251 bool m_blockOverrideTtlHasBeenSet =
false;
254 bool m_nameHasBeenSet =
false;
257 bool m_firewallDomainRedirectionActionHasBeenSet =
false;
260 bool m_qtypeHasBeenSet =
false;
UpdateFirewallRuleRequest & WithBlockResponse(const BlockResponse &value)
const BlockResponse & GetBlockResponse() const
bool FirewallDomainListIdHasBeenSet() const
bool FirewallRuleGroupIdHasBeenSet() const
UpdateFirewallRuleRequest & WithName(Aws::String &&value)
UpdateFirewallRuleRequest & WithPriority(int value)
void SetFirewallRuleGroupId(Aws::String &&value)
void SetBlockOverrideDomain(Aws::String &&value)
const Action & GetAction() const
const Aws::String & GetName() const
UpdateFirewallRuleRequest & WithQtype(Aws::String &&value)
UpdateFirewallRuleRequest & WithName(const Aws::String &value)
const Aws::String & GetBlockOverrideDomain() const
UpdateFirewallRuleRequest & WithBlockOverrideDnsType(BlockOverrideDnsType &&value)
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
void SetBlockResponse(BlockResponse &&value)
AWS_ROUTE53RESOLVER_API UpdateFirewallRuleRequest()
virtual const char * GetServiceRequestName() const override
void SetBlockResponse(const BlockResponse &value)
bool PriorityHasBeenSet() const
void SetBlockOverrideDomain(const Aws::String &value)
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFirewallRuleRequest & WithAction(const Action &value)
bool ActionHasBeenSet() const
void SetQtype(const Aws::String &value)
UpdateFirewallRuleRequest & WithFirewallDomainListId(Aws::String &&value)
bool QtypeHasBeenSet() const
UpdateFirewallRuleRequest & WithAction(Action &&value)
UpdateFirewallRuleRequest & WithFirewallDomainListId(const Aws::String &value)
int GetBlockOverrideTtl() const
bool BlockOverrideTtlHasBeenSet() const
const Aws::String & GetQtype() const
bool FirewallDomainRedirectionActionHasBeenSet() const
void SetName(Aws::String &&value)
UpdateFirewallRuleRequest & WithQtype(const Aws::String &value)
UpdateFirewallRuleRequest & WithFirewallRuleGroupId(Aws::String &&value)
const FirewallDomainRedirectionAction & GetFirewallDomainRedirectionAction() const
bool BlockOverrideDomainHasBeenSet() const
UpdateFirewallRuleRequest & WithQtype(const char *value)
bool NameHasBeenSet() const
UpdateFirewallRuleRequest & WithFirewallDomainRedirectionAction(FirewallDomainRedirectionAction &&value)
UpdateFirewallRuleRequest & WithFirewallRuleGroupId(const char *value)
UpdateFirewallRuleRequest & WithName(const char *value)
const Aws::String & GetFirewallDomainListId() const
void SetQtype(Aws::String &&value)
UpdateFirewallRuleRequest & WithBlockResponse(BlockResponse &&value)
void SetFirewallDomainRedirectionAction(const FirewallDomainRedirectionAction &value)
UpdateFirewallRuleRequest & WithFirewallRuleGroupId(const Aws::String &value)
void SetFirewallRuleGroupId(const Aws::String &value)
void SetBlockOverrideDnsType(BlockOverrideDnsType &&value)
bool BlockOverrideDnsTypeHasBeenSet() const
void SetBlockOverrideDomain(const char *value)
const Aws::String & GetFirewallRuleGroupId() const
void SetAction(Action &&value)
UpdateFirewallRuleRequest & WithFirewallDomainRedirectionAction(const FirewallDomainRedirectionAction &value)
void SetAction(const Action &value)
void SetFirewallDomainListId(const char *value)
UpdateFirewallRuleRequest & WithBlockOverrideDomain(Aws::String &&value)
UpdateFirewallRuleRequest & WithBlockOverrideDomain(const char *value)
void SetName(const Aws::String &value)
void SetName(const char *value)
UpdateFirewallRuleRequest & WithBlockOverrideTtl(int value)
bool BlockResponseHasBeenSet() const
UpdateFirewallRuleRequest & WithFirewallDomainListId(const char *value)
const BlockOverrideDnsType & GetBlockOverrideDnsType() const
void SetPriority(int value)
UpdateFirewallRuleRequest & WithBlockOverrideDomain(const Aws::String &value)
void SetFirewallRuleGroupId(const char *value)
void SetFirewallDomainListId(const Aws::String &value)
void SetFirewallDomainListId(Aws::String &&value)
void SetBlockOverrideTtl(int value)
UpdateFirewallRuleRequest & WithBlockOverrideDnsType(const BlockOverrideDnsType &value)
void SetBlockOverrideDnsType(const BlockOverrideDnsType &value)
void SetFirewallDomainRedirectionAction(FirewallDomainRedirectionAction &&value)
void SetQtype(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
FirewallDomainRedirectionAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String