AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
DeleteProxyRequest.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 DeleteProxyRequest() = 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 "DeleteProxy"; }
28
29 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
30
31 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
37 inline const Aws::String& GetNatGatewayId() const { return m_natGatewayId; }
38 inline bool NatGatewayIdHasBeenSet() const { return m_natGatewayIdHasBeenSet; }
39 template <typename NatGatewayIdT = Aws::String>
40 void SetNatGatewayId(NatGatewayIdT&& value) {
41 m_natGatewayIdHasBeenSet = true;
42 m_natGatewayId = std::forward<NatGatewayIdT>(value);
43 }
44 template <typename NatGatewayIdT = Aws::String>
45 DeleteProxyRequest& WithNatGatewayId(NatGatewayIdT&& value) {
46 SetNatGatewayId(std::forward<NatGatewayIdT>(value));
47 return *this;
48 }
50
52
57 inline const Aws::String& GetProxyName() const { return m_proxyName; }
58 inline bool ProxyNameHasBeenSet() const { return m_proxyNameHasBeenSet; }
59 template <typename ProxyNameT = Aws::String>
60 void SetProxyName(ProxyNameT&& value) {
61 m_proxyNameHasBeenSet = true;
62 m_proxyName = std::forward<ProxyNameT>(value);
63 }
64 template <typename ProxyNameT = Aws::String>
65 DeleteProxyRequest& WithProxyName(ProxyNameT&& value) {
66 SetProxyName(std::forward<ProxyNameT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetProxyArn() const { return m_proxyArn; }
77 inline bool ProxyArnHasBeenSet() const { return m_proxyArnHasBeenSet; }
78 template <typename ProxyArnT = Aws::String>
79 void SetProxyArn(ProxyArnT&& value) {
80 m_proxyArnHasBeenSet = true;
81 m_proxyArn = std::forward<ProxyArnT>(value);
82 }
83 template <typename ProxyArnT = Aws::String>
84 DeleteProxyRequest& WithProxyArn(ProxyArnT&& value) {
85 SetProxyArn(std::forward<ProxyArnT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_natGatewayId;
91
92 Aws::String m_proxyName;
93
94 Aws::String m_proxyArn;
95 bool m_natGatewayIdHasBeenSet = false;
96 bool m_proxyNameHasBeenSet = false;
97 bool m_proxyArnHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace NetworkFirewall
102} // namespace Aws
DeleteProxyRequest & WithNatGatewayId(NatGatewayIdT &&value)
DeleteProxyRequest & WithProxyArn(ProxyArnT &&value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
DeleteProxyRequest & WithProxyName(ProxyNameT &&value)
AWS_NETWORKFIREWALL_API DeleteProxyRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String