AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
UpdateLoggingConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/network-firewall/NetworkFirewallRequest.h>
9#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
10#include <aws/network-firewall/model/FirewallType.h>
11#include <aws/network-firewall/model/LoggingConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace NetworkFirewall {
17namespace Model {
18
22 public:
23 AWS_NETWORKFIREWALL_API UpdateLoggingConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateLoggingConfiguration"; }
30
31 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
32
33 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
40 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
41 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
42 template <typename FirewallArnT = Aws::String>
43 void SetFirewallArn(FirewallArnT&& value) {
44 m_firewallArnHasBeenSet = true;
45 m_firewallArn = std::forward<FirewallArnT>(value);
46 }
47 template <typename FirewallArnT = Aws::String>
49 SetFirewallArn(std::forward<FirewallArnT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetFirewallName() const { return m_firewallName; }
61 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
62 template <typename FirewallNameT = Aws::String>
63 void SetFirewallName(FirewallNameT&& value) {
64 m_firewallNameHasBeenSet = true;
65 m_firewallName = std::forward<FirewallNameT>(value);
66 }
67 template <typename FirewallNameT = Aws::String>
69 SetFirewallName(std::forward<FirewallNameT>(value));
70 return *this;
71 }
73
75
85 inline FirewallType GetFirewallType() const { return m_firewallType; }
86 inline bool FirewallTypeHasBeenSet() const { return m_firewallTypeHasBeenSet; }
87 inline void SetFirewallType(FirewallType value) {
88 m_firewallTypeHasBeenSet = true;
89 m_firewallType = value;
90 }
92 SetFirewallType(value);
93 return *this;
94 }
96
98
102 inline const LoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
103 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
104 template <typename LoggingConfigurationT = LoggingConfiguration>
105 void SetLoggingConfiguration(LoggingConfigurationT&& value) {
106 m_loggingConfigurationHasBeenSet = true;
107 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
108 }
109 template <typename LoggingConfigurationT = LoggingConfiguration>
111 SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value));
112 return *this;
113 }
115
117
127 inline bool GetEnableMonitoringDashboard() const { return m_enableMonitoringDashboard; }
128 inline bool EnableMonitoringDashboardHasBeenSet() const { return m_enableMonitoringDashboardHasBeenSet; }
129 inline void SetEnableMonitoringDashboard(bool value) {
130 m_enableMonitoringDashboardHasBeenSet = true;
131 m_enableMonitoringDashboard = value;
132 }
138 private:
139 Aws::String m_firewallArn;
140
141 Aws::String m_firewallName;
142
143 FirewallType m_firewallType{FirewallType::NOT_SET};
144
145 LoggingConfiguration m_loggingConfiguration;
146
147 bool m_enableMonitoringDashboard{false};
148 bool m_firewallArnHasBeenSet = false;
149 bool m_firewallNameHasBeenSet = false;
150 bool m_firewallTypeHasBeenSet = false;
151 bool m_loggingConfigurationHasBeenSet = false;
152 bool m_enableMonitoringDashboardHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace NetworkFirewall
157} // namespace Aws
UpdateLoggingConfigurationRequest & WithFirewallName(FirewallNameT &&value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
UpdateLoggingConfigurationRequest & WithEnableMonitoringDashboard(bool value)
UpdateLoggingConfigurationRequest & WithLoggingConfiguration(LoggingConfigurationT &&value)
UpdateLoggingConfigurationRequest & WithFirewallArn(FirewallArnT &&value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_NETWORKFIREWALL_API UpdateLoggingConfigurationRequest()=default
UpdateLoggingConfigurationRequest & WithFirewallType(FirewallType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String