AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFirewallEncryptionConfigurationRequest.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/NetworkFirewallRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/network-firewall/model/EncryptionConfiguration.h>
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
33 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
34
35 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
53 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
54 inline bool UpdateTokenHasBeenSet() const { return m_updateTokenHasBeenSet; }
55 inline void SetUpdateToken(const Aws::String& value) { m_updateTokenHasBeenSet = true; m_updateToken = value; }
56 inline void SetUpdateToken(Aws::String&& value) { m_updateTokenHasBeenSet = true; m_updateToken = std::move(value); }
57 inline void SetUpdateToken(const char* value) { m_updateTokenHasBeenSet = true; m_updateToken.assign(value); }
60 inline UpdateFirewallEncryptionConfigurationRequest& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
62
64
67 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
68 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
69 inline void SetFirewallArn(const Aws::String& value) { m_firewallArnHasBeenSet = true; m_firewallArn = value; }
70 inline void SetFirewallArn(Aws::String&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::move(value); }
71 inline void SetFirewallArn(const char* value) { m_firewallArnHasBeenSet = true; m_firewallArn.assign(value); }
74 inline UpdateFirewallEncryptionConfigurationRequest& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
76
78
82 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
83 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
84 inline void SetFirewallName(const Aws::String& value) { m_firewallNameHasBeenSet = true; m_firewallName = value; }
85 inline void SetFirewallName(Aws::String&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::move(value); }
86 inline void SetFirewallName(const char* value) { m_firewallNameHasBeenSet = true; m_firewallName.assign(value); }
89 inline UpdateFirewallEncryptionConfigurationRequest& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
91
93
94 inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
95 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
96 inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
97 inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
101 private:
102
103 Aws::String m_updateToken;
104 bool m_updateTokenHasBeenSet = false;
105
106 Aws::String m_firewallArn;
107 bool m_firewallArnHasBeenSet = false;
108
109 Aws::String m_firewallName;
110 bool m_firewallNameHasBeenSet = false;
111
112 EncryptionConfiguration m_encryptionConfiguration;
113 bool m_encryptionConfigurationHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace NetworkFirewall
118} // namespace Aws
UpdateFirewallEncryptionConfigurationRequest & WithEncryptionConfiguration(EncryptionConfiguration &&value)
UpdateFirewallEncryptionConfigurationRequest & WithEncryptionConfiguration(const EncryptionConfiguration &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