AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
DescribeLoggingConfigurationRequest.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
12#include <utility>
13
14namespace Aws {
15namespace NetworkFirewall {
16namespace Model {
17
21 public:
22 AWS_NETWORKFIREWALL_API DescribeLoggingConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeLoggingConfiguration"; }
29
30 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
31
32 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
40 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
41 template <typename FirewallArnT = Aws::String>
42 void SetFirewallArn(FirewallArnT&& value) {
43 m_firewallArnHasBeenSet = true;
44 m_firewallArn = std::forward<FirewallArnT>(value);
45 }
46 template <typename FirewallArnT = Aws::String>
48 SetFirewallArn(std::forward<FirewallArnT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetFirewallName() const { return m_firewallName; }
60 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
61 template <typename FirewallNameT = Aws::String>
62 void SetFirewallName(FirewallNameT&& value) {
63 m_firewallNameHasBeenSet = true;
64 m_firewallName = std::forward<FirewallNameT>(value);
65 }
66 template <typename FirewallNameT = Aws::String>
68 SetFirewallName(std::forward<FirewallNameT>(value));
69 return *this;
70 }
72
74
84 inline FirewallType GetFirewallType() const { return m_firewallType; }
85 inline bool FirewallTypeHasBeenSet() const { return m_firewallTypeHasBeenSet; }
86 inline void SetFirewallType(FirewallType value) {
87 m_firewallTypeHasBeenSet = true;
88 m_firewallType = value;
89 }
91 SetFirewallType(value);
92 return *this;
93 }
95 private:
96 Aws::String m_firewallArn;
97
98 Aws::String m_firewallName;
99
100 FirewallType m_firewallType{FirewallType::NOT_SET};
101 bool m_firewallArnHasBeenSet = false;
102 bool m_firewallNameHasBeenSet = false;
103 bool m_firewallTypeHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace NetworkFirewall
108} // namespace Aws
DescribeLoggingConfigurationRequest & WithFirewallType(FirewallType value)
AWS_NETWORKFIREWALL_API DescribeLoggingConfigurationRequest()=default
DescribeLoggingConfigurationRequest & WithFirewallName(FirewallNameT &&value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeLoggingConfigurationRequest & WithFirewallArn(FirewallArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String