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>
15#include <aws/core/utils/UUID.h>
19namespace Route53Resolver
53 inline void SetCreatorRequestId(
const char* value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId.assign(value); }
68 inline void SetFirewallRuleGroupId(
const char* value) { m_firewallRuleGroupIdHasBeenSet =
true; m_firewallRuleGroupId.assign(value); }
82 inline void SetFirewallDomainListId(
const char* value) { m_firewallDomainListIdHasBeenSet =
true; m_firewallDomainListId.assign(value); }
99 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
114 inline void SetAction(
const Action& value) { m_actionHasBeenSet =
true; m_action = value; }
115 inline void SetAction(
Action&& value) { m_actionHasBeenSet =
true; m_action = std::move(value); }
151 inline void SetBlockOverrideDomain(
const char* value) { m_blockOverrideDomainHasBeenSet =
true; m_blockOverrideDomain.assign(value); }
183 inline void SetBlockOverrideTtl(
int value) { m_blockOverrideTtlHasBeenSet =
true; m_blockOverrideTtl = value; }
195 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
243 inline void SetQtype(
const char* value) { m_qtypeHasBeenSet =
true; m_qtype.assign(value); }
251 bool m_creatorRequestIdHasBeenSet =
false;
254 bool m_firewallRuleGroupIdHasBeenSet =
false;
257 bool m_firewallDomainListIdHasBeenSet =
false;
260 bool m_priorityHasBeenSet =
false;
263 bool m_actionHasBeenSet =
false;
266 bool m_blockResponseHasBeenSet =
false;
269 bool m_blockOverrideDomainHasBeenSet =
false;
272 bool m_blockOverrideDnsTypeHasBeenSet =
false;
274 int m_blockOverrideTtl;
275 bool m_blockOverrideTtlHasBeenSet =
false;
278 bool m_nameHasBeenSet =
false;
281 bool m_firewallDomainRedirectionActionHasBeenSet =
false;
284 bool m_qtypeHasBeenSet =
false;
CreateFirewallRuleRequest & WithCreatorRequestId(const Aws::String &value)
void SetBlockOverrideTtl(int value)
CreateFirewallRuleRequest & WithBlockOverrideDomain(Aws::String &&value)
const Aws::String & GetFirewallDomainListId() const
void SetBlockOverrideDomain(const Aws::String &value)
CreateFirewallRuleRequest & WithFirewallRuleGroupId(Aws::String &&value)
CreateFirewallRuleRequest & WithFirewallDomainListId(const char *value)
void SetQtype(const char *value)
CreateFirewallRuleRequest & WithAction(Action &&value)
CreateFirewallRuleRequest & WithFirewallDomainListId(const Aws::String &value)
void SetBlockOverrideDomain(const char *value)
CreateFirewallRuleRequest & WithCreatorRequestId(Aws::String &&value)
void SetQtype(const Aws::String &value)
void SetFirewallDomainListId(Aws::String &&value)
bool PriorityHasBeenSet() const
int GetBlockOverrideTtl() const
CreateFirewallRuleRequest & WithBlockResponse(BlockResponse &&value)
void SetBlockOverrideDnsType(BlockOverrideDnsType &&value)
AWS_ROUTE53RESOLVER_API CreateFirewallRuleRequest()
void SetAction(Action &&value)
const Action & GetAction() const
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetCreatorRequestId() const
const FirewallDomainRedirectionAction & GetFirewallDomainRedirectionAction() const
const BlockOverrideDnsType & GetBlockOverrideDnsType() const
CreateFirewallRuleRequest & WithName(const char *value)
CreateFirewallRuleRequest & WithFirewallDomainRedirectionAction(const FirewallDomainRedirectionAction &value)
bool NameHasBeenSet() const
bool FirewallDomainRedirectionActionHasBeenSet() const
CreateFirewallRuleRequest & WithName(Aws::String &&value)
const Aws::String & GetName() const
void SetName(Aws::String &&value)
CreateFirewallRuleRequest & WithFirewallRuleGroupId(const Aws::String &value)
void SetCreatorRequestId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetCreatorRequestId(const Aws::String &value)
CreateFirewallRuleRequest & WithQtype(const char *value)
bool FirewallRuleGroupIdHasBeenSet() const
CreateFirewallRuleRequest & WithFirewallDomainListId(Aws::String &&value)
const Aws::String & GetBlockOverrideDomain() const
void SetFirewallDomainRedirectionAction(const FirewallDomainRedirectionAction &value)
bool BlockOverrideTtlHasBeenSet() const
CreateFirewallRuleRequest & WithPriority(int value)
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
void SetBlockOverrideDnsType(const BlockOverrideDnsType &value)
void SetName(const char *value)
CreateFirewallRuleRequest & WithFirewallRuleGroupId(const char *value)
bool QtypeHasBeenSet() const
const Aws::String & GetFirewallRuleGroupId() const
CreateFirewallRuleRequest & WithFirewallDomainRedirectionAction(FirewallDomainRedirectionAction &&value)
CreateFirewallRuleRequest & WithBlockResponse(const BlockResponse &value)
CreateFirewallRuleRequest & WithBlockOverrideDomain(const char *value)
void SetPriority(int value)
CreateFirewallRuleRequest & WithCreatorRequestId(const char *value)
bool ActionHasBeenSet() const
void SetFirewallRuleGroupId(Aws::String &&value)
void SetBlockOverrideDomain(Aws::String &&value)
CreateFirewallRuleRequest & WithBlockOverrideTtl(int value)
bool BlockOverrideDnsTypeHasBeenSet() const
CreateFirewallRuleRequest & WithBlockOverrideDnsType(BlockOverrideDnsType &&value)
CreateFirewallRuleRequest & WithBlockOverrideDnsType(const BlockOverrideDnsType &value)
bool CreatorRequestIdHasBeenSet() const
void SetBlockResponse(BlockResponse &&value)
void SetFirewallDomainListId(const char *value)
bool FirewallDomainListIdHasBeenSet() const
CreateFirewallRuleRequest & WithQtype(const Aws::String &value)
CreateFirewallRuleRequest & WithAction(const Action &value)
void SetBlockResponse(const BlockResponse &value)
void SetCreatorRequestId(const char *value)
CreateFirewallRuleRequest & WithQtype(Aws::String &&value)
void SetName(const Aws::String &value)
void SetFirewallRuleGroupId(const char *value)
void SetFirewallRuleGroupId(const Aws::String &value)
void SetFirewallDomainRedirectionAction(FirewallDomainRedirectionAction &&value)
bool BlockResponseHasBeenSet() const
void SetQtype(Aws::String &&value)
const Aws::String & GetQtype() const
const BlockResponse & GetBlockResponse() const
void SetAction(const Action &value)
bool BlockOverrideDomainHasBeenSet() const
CreateFirewallRuleRequest & WithName(const Aws::String &value)
void SetFirewallDomainListId(const Aws::String &value)
CreateFirewallRuleRequest & WithBlockOverrideDomain(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
FirewallDomainRedirectionAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String