AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
UpdateSubnetChangeProtectionResult.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
129 inline UpdateSubnetChangeProtectionResult& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
130
145 inline UpdateSubnetChangeProtectionResult& 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
176 inline UpdateSubnetChangeProtectionResult& WithFirewallArn(Aws::String&& value) { SetFirewallArn(std::move(value)); return *this;}
177
181 inline UpdateSubnetChangeProtectionResult& 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
218 inline UpdateSubnetChangeProtectionResult& WithFirewallName(Aws::String&& value) { SetFirewallName(std::move(value)); return *this;}
219
224 inline UpdateSubnetChangeProtectionResult& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
225
226
233 inline bool GetSubnetChangeProtection() const{ return m_subnetChangeProtection; }
234
241 inline void SetSubnetChangeProtection(bool value) { m_subnetChangeProtection = value; }
242
250
251 private:
252
253 Aws::String m_updateToken;
254
255 Aws::String m_firewallArn;
256
257 Aws::String m_firewallName;
258
259 bool m_subnetChangeProtection;
260 };
261
262} // namespace Model
263} // namespace NetworkFirewall
264} // namespace Aws
#define AWS_NETWORKFIREWALL_API
UpdateSubnetChangeProtectionResult & WithFirewallName(Aws::String &&value)
UpdateSubnetChangeProtectionResult & WithFirewallArn(Aws::String &&value)
UpdateSubnetChangeProtectionResult & WithFirewallArn(const char *value)
UpdateSubnetChangeProtectionResult & WithUpdateToken(Aws::String &&value)
UpdateSubnetChangeProtectionResult & WithFirewallArn(const Aws::String &value)
UpdateSubnetChangeProtectionResult & WithFirewallName(const char *value)
UpdateSubnetChangeProtectionResult & WithUpdateToken(const char *value)
AWS_NETWORKFIREWALL_API UpdateSubnetChangeProtectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSubnetChangeProtectionResult & WithUpdateToken(const Aws::String &value)
UpdateSubnetChangeProtectionResult & WithFirewallName(const Aws::String &value)
AWS_NETWORKFIREWALL_API UpdateSubnetChangeProtectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String