AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
DescribeLoggingConfigurationResult.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 DescribeLoggingConfigurationResult() = 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
51 inline const LoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
52 template <typename LoggingConfigurationT = LoggingConfiguration>
53 void SetLoggingConfiguration(LoggingConfigurationT&& value) {
54 m_loggingConfigurationHasBeenSet = true;
55 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
56 }
57 template <typename LoggingConfigurationT = LoggingConfiguration>
59 SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value));
60 return *this;
61 }
63
65
71 inline bool GetEnableMonitoringDashboard() const { return m_enableMonitoringDashboard; }
72 inline void SetEnableMonitoringDashboard(bool value) {
73 m_enableMonitoringDashboardHasBeenSet = true;
74 m_enableMonitoringDashboard = value;
75 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::String m_firewallArn;
100
101 LoggingConfiguration m_loggingConfiguration;
102
103 bool m_enableMonitoringDashboard{false};
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_firewallArnHasBeenSet = false;
108 bool m_loggingConfigurationHasBeenSet = false;
109 bool m_enableMonitoringDashboardHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace NetworkFirewall
115} // namespace Aws
AWS_NETWORKFIREWALL_API DescribeLoggingConfigurationResult()=default
DescribeLoggingConfigurationResult & WithFirewallArn(FirewallArnT &&value)
DescribeLoggingConfigurationResult & WithLoggingConfiguration(LoggingConfigurationT &&value)
DescribeLoggingConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_NETWORKFIREWALL_API DescribeLoggingConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
DescribeLoggingConfigurationResult & WithEnableMonitoringDashboard(bool value)
AWS_NETWORKFIREWALL_API DescribeLoggingConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String