AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateLoggingConfigurationResult.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/network-firewall/model/LoggingConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace NetworkFirewall
25{
26namespace Model
27{
29 {
30 public:
31 AWS_NETWORKFIREWALL_API UpdateLoggingConfigurationResult() = default;
34
35
37
40 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
41 template<typename FirewallArnT = Aws::String>
42 void SetFirewallArn(FirewallArnT&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::forward<FirewallArnT>(value); }
43 template<typename FirewallArnT = Aws::String>
44 UpdateLoggingConfigurationResult& WithFirewallArn(FirewallArnT&& value) { SetFirewallArn(std::forward<FirewallArnT>(value)); return *this;}
46
48
52 inline const Aws::String& GetFirewallName() const { return m_firewallName; }
53 template<typename FirewallNameT = Aws::String>
54 void SetFirewallName(FirewallNameT&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::forward<FirewallNameT>(value); }
55 template<typename FirewallNameT = Aws::String>
56 UpdateLoggingConfigurationResult& WithFirewallName(FirewallNameT&& value) { SetFirewallName(std::forward<FirewallNameT>(value)); return *this;}
58
60
61 inline const LoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
62 template<typename LoggingConfigurationT = LoggingConfiguration>
63 void SetLoggingConfiguration(LoggingConfigurationT&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::forward<LoggingConfigurationT>(value); }
64 template<typename LoggingConfigurationT = LoggingConfiguration>
65 UpdateLoggingConfigurationResult& WithLoggingConfiguration(LoggingConfigurationT&& value) { SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value)); return *this;}
67
69
75 inline bool GetEnableMonitoringDashboard() const { return m_enableMonitoringDashboard; }
76 inline void SetEnableMonitoringDashboard(bool value) { m_enableMonitoringDashboardHasBeenSet = true; m_enableMonitoringDashboard = value; }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template<typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
85 template<typename RequestIdT = Aws::String>
86 UpdateLoggingConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_firewallArn;
91 bool m_firewallArnHasBeenSet = false;
92
93 Aws::String m_firewallName;
94 bool m_firewallNameHasBeenSet = false;
95
96 LoggingConfiguration m_loggingConfiguration;
97 bool m_loggingConfigurationHasBeenSet = false;
98
99 bool m_enableMonitoringDashboard{false};
100 bool m_enableMonitoringDashboardHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace NetworkFirewall
108} // namespace Aws
AWS_NETWORKFIREWALL_API UpdateLoggingConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLoggingConfigurationResult & WithFirewallArn(FirewallArnT &&value)
UpdateLoggingConfigurationResult & WithFirewallName(FirewallNameT &&value)
AWS_NETWORKFIREWALL_API UpdateLoggingConfigurationResult()=default
UpdateLoggingConfigurationResult & WithRequestId(RequestIdT &&value)
UpdateLoggingConfigurationResult & WithLoggingConfiguration(LoggingConfigurationT &&value)
AWS_NETWORKFIREWALL_API UpdateLoggingConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLoggingConfigurationResult & WithEnableMonitoringDashboard(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue