AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateLoggingConfigurationRequest.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/LoggingConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace NetworkFirewall
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NETWORKFIREWALL_API UpdateLoggingConfigurationRequest() = 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 "UpdateLoggingConfiguration"; }
32
33 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
34
35 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
44 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
45 template<typename FirewallArnT = Aws::String>
46 void SetFirewallArn(FirewallArnT&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::forward<FirewallArnT>(value); }
47 template<typename FirewallArnT = Aws::String>
48 UpdateLoggingConfigurationRequest& WithFirewallArn(FirewallArnT&& value) { SetFirewallArn(std::forward<FirewallArnT>(value)); return *this;}
50
52
57 inline const Aws::String& GetFirewallName() const { return m_firewallName; }
58 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
59 template<typename FirewallNameT = Aws::String>
60 void SetFirewallName(FirewallNameT&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::forward<FirewallNameT>(value); }
61 template<typename FirewallNameT = Aws::String>
62 UpdateLoggingConfigurationRequest& WithFirewallName(FirewallNameT&& value) { SetFirewallName(std::forward<FirewallNameT>(value)); return *this;}
64
66
70 inline const LoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
71 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
72 template<typename LoggingConfigurationT = LoggingConfiguration>
73 void SetLoggingConfiguration(LoggingConfigurationT&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::forward<LoggingConfigurationT>(value); }
74 template<typename LoggingConfigurationT = LoggingConfiguration>
75 UpdateLoggingConfigurationRequest& WithLoggingConfiguration(LoggingConfigurationT&& value) { SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value)); return *this;}
77
79
89 inline bool GetEnableMonitoringDashboard() const { return m_enableMonitoringDashboard; }
90 inline bool EnableMonitoringDashboardHasBeenSet() const { return m_enableMonitoringDashboardHasBeenSet; }
91 inline void SetEnableMonitoringDashboard(bool value) { m_enableMonitoringDashboardHasBeenSet = true; m_enableMonitoringDashboard = value; }
94 private:
95
96 Aws::String m_firewallArn;
97 bool m_firewallArnHasBeenSet = false;
98
99 Aws::String m_firewallName;
100 bool m_firewallNameHasBeenSet = false;
101
102 LoggingConfiguration m_loggingConfiguration;
103 bool m_loggingConfigurationHasBeenSet = false;
104
105 bool m_enableMonitoringDashboard{false};
106 bool m_enableMonitoringDashboardHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace NetworkFirewall
111} // 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
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String