AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
UpdateLoggingConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
11#include <aws/network-firewall/model/LoggingConfiguration.h>
12
13#include <utility>
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Cbor {
20class CborValue;
21} // namespace Cbor
22} // namespace Utils
23namespace NetworkFirewall {
24namespace Model {
26 public:
27 AWS_NETWORKFIREWALL_API UpdateLoggingConfigurationResult() = default;
31
33
36 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
37 template <typename FirewallArnT = Aws::String>
38 void SetFirewallArn(FirewallArnT&& value) {
39 m_firewallArnHasBeenSet = true;
40 m_firewallArn = std::forward<FirewallArnT>(value);
41 }
42 template <typename FirewallArnT = Aws::String>
44 SetFirewallArn(std::forward<FirewallArnT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetFirewallName() const { return m_firewallName; }
55 template <typename FirewallNameT = Aws::String>
56 void SetFirewallName(FirewallNameT&& value) {
57 m_firewallNameHasBeenSet = true;
58 m_firewallName = std::forward<FirewallNameT>(value);
59 }
60 template <typename FirewallNameT = Aws::String>
62 SetFirewallName(std::forward<FirewallNameT>(value));
63 return *this;
64 }
66
68
69 inline const LoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
70 template <typename LoggingConfigurationT = LoggingConfiguration>
71 void SetLoggingConfiguration(LoggingConfigurationT&& value) {
72 m_loggingConfigurationHasBeenSet = true;
73 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
74 }
75 template <typename LoggingConfigurationT = LoggingConfiguration>
77 SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value));
78 return *this;
79 }
81
83
89 inline bool GetEnableMonitoringDashboard() const { return m_enableMonitoringDashboard; }
90 inline void SetEnableMonitoringDashboard(bool value) {
91 m_enableMonitoringDashboardHasBeenSet = true;
92 m_enableMonitoringDashboard = value;
93 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template <typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) {
105 m_requestIdHasBeenSet = true;
106 m_requestId = std::forward<RequestIdT>(value);
107 }
108 template <typename RequestIdT = Aws::String>
110 SetRequestId(std::forward<RequestIdT>(value));
111 return *this;
112 }
114 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
115
116 private:
117 Aws::String m_firewallArn;
118
119 Aws::String m_firewallName;
120
121 LoggingConfiguration m_loggingConfiguration;
122
123 bool m_enableMonitoringDashboard{false};
124
125 Aws::String m_requestId;
126 Aws::Http::HttpResponseCode m_HttpResponseCode;
127 bool m_firewallArnHasBeenSet = false;
128 bool m_firewallNameHasBeenSet = false;
129 bool m_loggingConfigurationHasBeenSet = false;
130 bool m_enableMonitoringDashboardHasBeenSet = false;
131 bool m_requestIdHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace NetworkFirewall
136} // namespace Aws
UpdateLoggingConfigurationResult & WithFirewallArn(FirewallArnT &&value)
UpdateLoggingConfigurationResult & WithFirewallName(FirewallNameT &&value)
AWS_NETWORKFIREWALL_API UpdateLoggingConfigurationResult()=default
UpdateLoggingConfigurationResult & WithRequestId(RequestIdT &&value)
UpdateLoggingConfigurationResult & WithLoggingConfiguration(LoggingConfigurationT &&value)
UpdateLoggingConfigurationResult & WithEnableMonitoringDashboard(bool value)
AWS_NETWORKFIREWALL_API UpdateLoggingConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
AWS_NETWORKFIREWALL_API UpdateLoggingConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String