AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
UpdateFirewallDeleteProtectionResult.h
Go to the documentation of this file.
1
6#pragma once
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace NetworkFirewall
24{
25namespace Model
26{
28 {
29 public:
33
34
38 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
39
43 inline void SetFirewallArn(const Aws::String& value) { m_firewallArn = value; }
44
48 inline void SetFirewallArn(Aws::String&& value) { m_firewallArn = std::move(value); }
49
53 inline void SetFirewallArn(const char* value) { m_firewallArn.assign(value); }
54
59
63 inline UpdateFirewallDeleteProtectionResult& WithFirewallArn(Aws::String&& value) { SetFirewallArn(std::move(value)); return *this;}
64
68 inline UpdateFirewallDeleteProtectionResult& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
69
70
75 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
76
81 inline void SetFirewallName(const Aws::String& value) { m_firewallName = value; }
82
87 inline void SetFirewallName(Aws::String&& value) { m_firewallName = std::move(value); }
88
93 inline void SetFirewallName(const char* value) { m_firewallName.assign(value); }
94
100
105 inline UpdateFirewallDeleteProtectionResult& WithFirewallName(Aws::String&& value) { SetFirewallName(std::move(value)); return *this;}
106
111 inline UpdateFirewallDeleteProtectionResult& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
112
113
121 inline bool GetDeleteProtection() const{ return m_deleteProtection; }
122
130 inline void SetDeleteProtection(bool value) { m_deleteProtection = value; }
131
140
141
156 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
157
172 inline void SetUpdateToken(const Aws::String& value) { m_updateToken = value; }
173
188 inline void SetUpdateToken(Aws::String&& value) { m_updateToken = std::move(value); }
189
204 inline void SetUpdateToken(const char* value) { m_updateToken.assign(value); }
205
221
236 inline UpdateFirewallDeleteProtectionResult& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
237
252 inline UpdateFirewallDeleteProtectionResult& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
253
254 private:
255
256 Aws::String m_firewallArn;
257
258 Aws::String m_firewallName;
259
260 bool m_deleteProtection;
261
262 Aws::String m_updateToken;
263 };
264
265} // namespace Model
266} // namespace NetworkFirewall
267} // namespace Aws
#define AWS_NETWORKFIREWALL_API
UpdateFirewallDeleteProtectionResult & WithFirewallName(const Aws::String &value)
UpdateFirewallDeleteProtectionResult & WithUpdateToken(const char *value)
AWS_NETWORKFIREWALL_API UpdateFirewallDeleteProtectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFirewallDeleteProtectionResult & WithFirewallName(const char *value)
AWS_NETWORKFIREWALL_API UpdateFirewallDeleteProtectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFirewallDeleteProtectionResult & WithFirewallArn(Aws::String &&value)
UpdateFirewallDeleteProtectionResult & WithFirewallArn(const Aws::String &value)
UpdateFirewallDeleteProtectionResult & WithUpdateToken(const Aws::String &value)
UpdateFirewallDeleteProtectionResult & WithFirewallArn(const char *value)
UpdateFirewallDeleteProtectionResult & WithFirewallName(Aws::String &&value)
UpdateFirewallDeleteProtectionResult & WithUpdateToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String