AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeFirewallRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace NetworkFirewall
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeFirewall"; }
31
33
35
36
42 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
43
49 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
50
56 inline void SetFirewallName(const Aws::String& value) { m_firewallNameHasBeenSet = true; m_firewallName = value; }
57
63 inline void SetFirewallName(Aws::String&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::move(value); }
64
70 inline void SetFirewallName(const char* value) { m_firewallNameHasBeenSet = true; m_firewallName.assign(value); }
71
77 inline DescribeFirewallRequest& WithFirewallName(const Aws::String& value) { SetFirewallName(value); return *this;}
78
84 inline DescribeFirewallRequest& WithFirewallName(Aws::String&& value) { SetFirewallName(std::move(value)); return *this;}
85
91 inline DescribeFirewallRequest& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
92
93
98 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
99
104 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
105
110 inline void SetFirewallArn(const Aws::String& value) { m_firewallArnHasBeenSet = true; m_firewallArn = value; }
111
116 inline void SetFirewallArn(Aws::String&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::move(value); }
117
122 inline void SetFirewallArn(const char* value) { m_firewallArnHasBeenSet = true; m_firewallArn.assign(value); }
123
128 inline DescribeFirewallRequest& WithFirewallArn(const Aws::String& value) { SetFirewallArn(value); return *this;}
129
134 inline DescribeFirewallRequest& WithFirewallArn(Aws::String&& value) { SetFirewallArn(std::move(value)); return *this;}
135
140 inline DescribeFirewallRequest& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
141
142 private:
143
144 Aws::String m_firewallName;
145 bool m_firewallNameHasBeenSet = false;
146
147 Aws::String m_firewallArn;
148 bool m_firewallArnHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace NetworkFirewall
153} // namespace Aws
#define AWS_NETWORKFIREWALL_API
DescribeFirewallRequest & WithFirewallArn(Aws::String &&value)
DescribeFirewallRequest & WithFirewallArn(const Aws::String &value)
DescribeFirewallRequest & WithFirewallName(Aws::String &&value)
DescribeFirewallRequest & WithFirewallName(const Aws::String &value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeFirewallRequest & WithFirewallArn(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
DescribeFirewallRequest & WithFirewallName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String