AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
UpdateFirewallPolicyChangeProtectionResult.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
49 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
50
65 inline void SetUpdateToken(const Aws::String& value) { m_updateToken = value; }
66
81 inline void SetUpdateToken(Aws::String&& value) { m_updateToken = std::move(value); }
82
97 inline void SetUpdateToken(const char* value) { m_updateToken.assign(value); }
98
114
130
145 inline UpdateFirewallPolicyChangeProtectionResult& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
146
147
151 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
152
156 inline void SetFirewallArn(const Aws::String& value) { m_firewallArn = value; }
157
161 inline void SetFirewallArn(Aws::String&& value) { m_firewallArn = std::move(value); }
162
166 inline void SetFirewallArn(const char* value) { m_firewallArn.assign(value); }
167
172
177
181 inline UpdateFirewallPolicyChangeProtectionResult& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
182
183
188 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
189
194 inline void SetFirewallName(const Aws::String& value) { m_firewallName = value; }
195
200 inline void SetFirewallName(Aws::String&& value) { m_firewallName = std::move(value); }
201
206 inline void SetFirewallName(const char* value) { m_firewallName.assign(value); }
207
213
219
224 inline UpdateFirewallPolicyChangeProtectionResult& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
225
226
234 inline bool GetFirewallPolicyChangeProtection() const{ return m_firewallPolicyChangeProtection; }
235
243 inline void SetFirewallPolicyChangeProtection(bool value) { m_firewallPolicyChangeProtection = value; }
244
253
254 private:
255
256 Aws::String m_updateToken;
257
258 Aws::String m_firewallArn;
259
260 Aws::String m_firewallName;
261
262 bool m_firewallPolicyChangeProtection;
263 };
264
265} // namespace Model
266} // namespace NetworkFirewall
267} // namespace Aws
#define AWS_NETWORKFIREWALL_API
AWS_NETWORKFIREWALL_API UpdateFirewallPolicyChangeProtectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NETWORKFIREWALL_API UpdateFirewallPolicyChangeProtectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFirewallPolicyChangeProtectionResult & WithFirewallName(Aws::String &&value)
UpdateFirewallPolicyChangeProtectionResult & WithFirewallName(const Aws::String &value)
UpdateFirewallPolicyChangeProtectionResult & WithFirewallArn(const Aws::String &value)
UpdateFirewallPolicyChangeProtectionResult & WithFirewallName(const char *value)
UpdateFirewallPolicyChangeProtectionResult & WithUpdateToken(Aws::String &&value)
UpdateFirewallPolicyChangeProtectionResult & WithUpdateToken(const Aws::String &value)
UpdateFirewallPolicyChangeProtectionResult & WithFirewallArn(Aws::String &&value)
UpdateFirewallPolicyChangeProtectionResult & WithUpdateToken(const char *value)
UpdateFirewallPolicyChangeProtectionResult & WithFirewallArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String