AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
DescribeProxyRequest.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
11#include <utility>
12
13namespace Aws {
14namespace NetworkFirewall {
15namespace Model {
16
20 public:
21 AWS_NETWORKFIREWALL_API DescribeProxyRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeProxy"; }
28
29 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
30
31 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
39 inline const Aws::String& GetProxyName() const { return m_proxyName; }
40 inline bool ProxyNameHasBeenSet() const { return m_proxyNameHasBeenSet; }
41 template <typename ProxyNameT = Aws::String>
42 void SetProxyName(ProxyNameT&& value) {
43 m_proxyNameHasBeenSet = true;
44 m_proxyName = std::forward<ProxyNameT>(value);
45 }
46 template <typename ProxyNameT = Aws::String>
47 DescribeProxyRequest& WithProxyName(ProxyNameT&& value) {
48 SetProxyName(std::forward<ProxyNameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetProxyArn() const { return m_proxyArn; }
59 inline bool ProxyArnHasBeenSet() const { return m_proxyArnHasBeenSet; }
60 template <typename ProxyArnT = Aws::String>
61 void SetProxyArn(ProxyArnT&& value) {
62 m_proxyArnHasBeenSet = true;
63 m_proxyArn = std::forward<ProxyArnT>(value);
64 }
65 template <typename ProxyArnT = Aws::String>
66 DescribeProxyRequest& WithProxyArn(ProxyArnT&& value) {
67 SetProxyArn(std::forward<ProxyArnT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_proxyName;
73
74 Aws::String m_proxyArn;
75 bool m_proxyNameHasBeenSet = false;
76 bool m_proxyArnHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace NetworkFirewall
81} // namespace Aws
DescribeProxyRequest & WithProxyName(ProxyNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeProxyRequest & WithProxyArn(ProxyArnT &&value)
AWS_NETWORKFIREWALL_API DescribeProxyRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String