AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFirewallPolicyRequest.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/NetworkFirewallRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace NetworkFirewall
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_NETWORKFIREWALL_API DescribeFirewallPolicyRequest();
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 "DescribeFirewallPolicy"; }
31
32 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
33
34 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
43 inline const Aws::String& GetFirewallPolicyName() const{ return m_firewallPolicyName; }
44 inline bool FirewallPolicyNameHasBeenSet() const { return m_firewallPolicyNameHasBeenSet; }
45 inline void SetFirewallPolicyName(const Aws::String& value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName = value; }
46 inline void SetFirewallPolicyName(Aws::String&& value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName = std::move(value); }
47 inline void SetFirewallPolicyName(const char* value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName.assign(value); }
50 inline DescribeFirewallPolicyRequest& WithFirewallPolicyName(const char* value) { SetFirewallPolicyName(value); return *this;}
52
54
58 inline const Aws::String& GetFirewallPolicyArn() const{ return m_firewallPolicyArn; }
59 inline bool FirewallPolicyArnHasBeenSet() const { return m_firewallPolicyArnHasBeenSet; }
60 inline void SetFirewallPolicyArn(const Aws::String& value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn = value; }
61 inline void SetFirewallPolicyArn(Aws::String&& value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn = std::move(value); }
62 inline void SetFirewallPolicyArn(const char* value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn.assign(value); }
64 inline DescribeFirewallPolicyRequest& WithFirewallPolicyArn(Aws::String&& value) { SetFirewallPolicyArn(std::move(value)); return *this;}
65 inline DescribeFirewallPolicyRequest& WithFirewallPolicyArn(const char* value) { SetFirewallPolicyArn(value); return *this;}
67 private:
68
69 Aws::String m_firewallPolicyName;
70 bool m_firewallPolicyNameHasBeenSet = false;
71
72 Aws::String m_firewallPolicyArn;
73 bool m_firewallPolicyArnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace NetworkFirewall
78} // namespace Aws
DescribeFirewallPolicyRequest & WithFirewallPolicyArn(const char *value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
DescribeFirewallPolicyRequest & WithFirewallPolicyArn(Aws::String &&value)
DescribeFirewallPolicyRequest & WithFirewallPolicyName(const Aws::String &value)
DescribeFirewallPolicyRequest & WithFirewallPolicyArn(const Aws::String &value)
DescribeFirewallPolicyRequest & WithFirewallPolicyName(Aws::String &&value)
DescribeFirewallPolicyRequest & WithFirewallPolicyName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String