AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
25 AWS_NETWORKFIREWALL_API UpdateFirewallEncryptionConfigurationRequest() = default;
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 template<typename UpdateTokenT = Aws::String>
56 void SetUpdateToken(UpdateTokenT&& value) { m_updateTokenHasBeenSet = true; m_updateToken = std::forward<UpdateTokenT>(value); }
57 template<typename UpdateTokenT = Aws::String>
58 UpdateFirewallEncryptionConfigurationRequest& WithUpdateToken(UpdateTokenT&& value) { SetUpdateToken(std::forward<UpdateTokenT>(value)); return *this;}
60
62
65 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
66 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
67 template<typename FirewallArnT = Aws::String>
68 void SetFirewallArn(FirewallArnT&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::forward<FirewallArnT>(value); }
69 template<typename FirewallArnT = Aws::String>
70 UpdateFirewallEncryptionConfigurationRequest& WithFirewallArn(FirewallArnT&& value) { SetFirewallArn(std::forward<FirewallArnT>(value)); return *this;}
72
74
78 inline const Aws::String& GetFirewallName() const { return m_firewallName; }
79 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
80 template<typename FirewallNameT = Aws::String>
81 void SetFirewallName(FirewallNameT&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::forward<FirewallNameT>(value); }
82 template<typename FirewallNameT = Aws::String>
83 UpdateFirewallEncryptionConfigurationRequest& WithFirewallName(FirewallNameT&& value) { SetFirewallName(std::forward<FirewallNameT>(value)); return *this;}
85
87
88 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
89 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
90 template<typename EncryptionConfigurationT = EncryptionConfiguration>
91 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
92 template<typename EncryptionConfigurationT = EncryptionConfiguration>
93 UpdateFirewallEncryptionConfigurationRequest& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
95 private:
96
97 Aws::String m_updateToken;
98 bool m_updateTokenHasBeenSet = false;
99
100 Aws::String m_firewallArn;
101 bool m_firewallArnHasBeenSet = false;
102
103 Aws::String m_firewallName;
104 bool m_firewallNameHasBeenSet = false;
105
106 EncryptionConfiguration m_encryptionConfiguration;
107 bool m_encryptionConfigurationHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace NetworkFirewall
112} // namespace Aws
UpdateFirewallEncryptionConfigurationRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
UpdateFirewallEncryptionConfigurationRequest & WithUpdateToken(UpdateTokenT &&value)
UpdateFirewallEncryptionConfigurationRequest & WithFirewallName(FirewallNameT &&value)
UpdateFirewallEncryptionConfigurationRequest & WithFirewallArn(FirewallArnT &&value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String