AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
UpdateFirewallEncryptionConfigurationRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace NetworkFirewall
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateFirewallEncryptionConfiguration"; }
32
34
36
37
52 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
53
68 inline bool UpdateTokenHasBeenSet() const { return m_updateTokenHasBeenSet; }
69
84 inline void SetUpdateToken(const Aws::String& value) { m_updateTokenHasBeenSet = true; m_updateToken = value; }
85
100 inline void SetUpdateToken(Aws::String&& value) { m_updateTokenHasBeenSet = true; m_updateToken = std::move(value); }
101
116 inline void SetUpdateToken(const char* value) { m_updateTokenHasBeenSet = true; m_updateToken.assign(value); }
117
133
149
164 inline UpdateFirewallEncryptionConfigurationRequest& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
165
166
170 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
171
175 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
176
180 inline void SetFirewallArn(const Aws::String& value) { m_firewallArnHasBeenSet = true; m_firewallArn = value; }
181
185 inline void SetFirewallArn(Aws::String&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::move(value); }
186
190 inline void SetFirewallArn(const char* value) { m_firewallArnHasBeenSet = true; m_firewallArn.assign(value); }
191
196
201
205 inline UpdateFirewallEncryptionConfigurationRequest& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
206
207
212 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
213
218 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
219
224 inline void SetFirewallName(const Aws::String& value) { m_firewallNameHasBeenSet = true; m_firewallName = value; }
225
230 inline void SetFirewallName(Aws::String&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::move(value); }
231
236 inline void SetFirewallName(const char* value) { m_firewallNameHasBeenSet = true; m_firewallName.assign(value); }
237
243
249
254 inline UpdateFirewallEncryptionConfigurationRequest& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
255
256
257
258 inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
259
260
261 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
262
263
264 inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
265
266
267 inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
268
269
271
272
274
275 private:
276
277 Aws::String m_updateToken;
278 bool m_updateTokenHasBeenSet = false;
279
280 Aws::String m_firewallArn;
281 bool m_firewallArnHasBeenSet = false;
282
283 Aws::String m_firewallName;
284 bool m_firewallNameHasBeenSet = false;
285
286 EncryptionConfiguration m_encryptionConfiguration;
287 bool m_encryptionConfigurationHasBeenSet = false;
288 };
289
290} // namespace Model
291} // namespace NetworkFirewall
292} // namespace Aws
#define AWS_NETWORKFIREWALL_API
UpdateFirewallEncryptionConfigurationRequest & WithEncryptionConfiguration(EncryptionConfiguration &&value)
UpdateFirewallEncryptionConfigurationRequest & WithEncryptionConfiguration(const EncryptionConfiguration &value)
UpdateFirewallEncryptionConfigurationRequest & WithFirewallName(const char *value)
UpdateFirewallEncryptionConfigurationRequest & WithUpdateToken(Aws::String &&value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
UpdateFirewallEncryptionConfigurationRequest & WithFirewallArn(const Aws::String &value)
UpdateFirewallEncryptionConfigurationRequest & WithFirewallName(Aws::String &&value)
UpdateFirewallEncryptionConfigurationRequest & WithFirewallName(const Aws::String &value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFirewallEncryptionConfigurationRequest & WithUpdateToken(const Aws::String &value)
UpdateFirewallEncryptionConfigurationRequest & WithFirewallArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String