AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
DeleteFirewallRuleEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Route53Resolver {
20namespace Model {
21
29 public:
30 AWS_ROUTE53RESOLVER_API DeleteFirewallRuleEntry() = default;
31 AWS_ROUTE53RESOLVER_API DeleteFirewallRuleEntry(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetFirewallRuleGroupId() const { return m_firewallRuleGroupId; }
40 inline bool FirewallRuleGroupIdHasBeenSet() const { return m_firewallRuleGroupIdHasBeenSet; }
41 template <typename FirewallRuleGroupIdT = Aws::String>
42 void SetFirewallRuleGroupId(FirewallRuleGroupIdT&& value) {
43 m_firewallRuleGroupIdHasBeenSet = true;
44 m_firewallRuleGroupId = std::forward<FirewallRuleGroupIdT>(value);
45 }
46 template <typename FirewallRuleGroupIdT = Aws::String>
47 DeleteFirewallRuleEntry& WithFirewallRuleGroupId(FirewallRuleGroupIdT&& value) {
48 SetFirewallRuleGroupId(std::forward<FirewallRuleGroupIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetFirewallDomainListId() const { return m_firewallDomainListId; }
58 inline bool FirewallDomainListIdHasBeenSet() const { return m_firewallDomainListIdHasBeenSet; }
59 template <typename FirewallDomainListIdT = Aws::String>
60 void SetFirewallDomainListId(FirewallDomainListIdT&& value) {
61 m_firewallDomainListIdHasBeenSet = true;
62 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
63 }
64 template <typename FirewallDomainListIdT = Aws::String>
65 DeleteFirewallRuleEntry& WithFirewallDomainListId(FirewallDomainListIdT&& value) {
66 SetFirewallDomainListId(std::forward<FirewallDomainListIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetFirewallThreatProtectionId() const { return m_firewallThreatProtectionId; }
76 inline bool FirewallThreatProtectionIdHasBeenSet() const { return m_firewallThreatProtectionIdHasBeenSet; }
77 template <typename FirewallThreatProtectionIdT = Aws::String>
78 void SetFirewallThreatProtectionId(FirewallThreatProtectionIdT&& value) {
79 m_firewallThreatProtectionIdHasBeenSet = true;
80 m_firewallThreatProtectionId = std::forward<FirewallThreatProtectionIdT>(value);
81 }
82 template <typename FirewallThreatProtectionIdT = Aws::String>
83 DeleteFirewallRuleEntry& WithFirewallThreatProtectionId(FirewallThreatProtectionIdT&& value) {
84 SetFirewallThreatProtectionId(std::forward<FirewallThreatProtectionIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetQtype() const { return m_qtype; }
94 inline bool QtypeHasBeenSet() const { return m_qtypeHasBeenSet; }
95 template <typename QtypeT = Aws::String>
96 void SetQtype(QtypeT&& value) {
97 m_qtypeHasBeenSet = true;
98 m_qtype = std::forward<QtypeT>(value);
99 }
100 template <typename QtypeT = Aws::String>
102 SetQtype(std::forward<QtypeT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_firewallRuleGroupId;
108
109 Aws::String m_firewallDomainListId;
110
111 Aws::String m_firewallThreatProtectionId;
112
113 Aws::String m_qtype;
114 bool m_firewallRuleGroupIdHasBeenSet = false;
115 bool m_firewallDomainListIdHasBeenSet = false;
116 bool m_firewallThreatProtectionIdHasBeenSet = false;
117 bool m_qtypeHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace Route53Resolver
122} // namespace Aws
DeleteFirewallRuleEntry & WithFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
bool FirewallRuleGroupIdHasBeenSet() const
void SetFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
bool QtypeHasBeenSet() const
void SetFirewallThreatProtectionId(FirewallThreatProtectionIdT &&value)
const Aws::String & GetFirewallRuleGroupId() const
DeleteFirewallRuleEntry & WithFirewallThreatProtectionId(FirewallThreatProtectionIdT &&value)
DeleteFirewallRuleEntry & WithQtype(QtypeT &&value)
DeleteFirewallRuleEntry & WithFirewallDomainListId(FirewallDomainListIdT &&value)
const Aws::String & GetFirewallDomainListId() const
const Aws::String & GetFirewallThreatProtectionId() const
AWS_ROUTE53RESOLVER_API DeleteFirewallRuleEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FirewallDomainListIdHasBeenSet() const
bool FirewallThreatProtectionIdHasBeenSet() const
AWS_ROUTE53RESOLVER_API DeleteFirewallRuleEntry()=default
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53RESOLVER_API DeleteFirewallRuleEntry(Aws::Utils::Json::JsonView jsonValue)
void SetQtype(QtypeT &&value)
void SetFirewallDomainListId(FirewallDomainListIdT &&value)
const Aws::String & GetQtype() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue