AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
DeleteProxyResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
11
12#include <utility>
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Cbor {
19class CborValue;
20} // namespace Cbor
21} // namespace Utils
22namespace NetworkFirewall {
23namespace Model {
25 public:
26 AWS_NETWORKFIREWALL_API DeleteProxyResult() = default;
29
31
34 inline const Aws::String& GetNatGatewayId() const { return m_natGatewayId; }
35 template <typename NatGatewayIdT = Aws::String>
36 void SetNatGatewayId(NatGatewayIdT&& value) {
37 m_natGatewayIdHasBeenSet = true;
38 m_natGatewayId = std::forward<NatGatewayIdT>(value);
39 }
40 template <typename NatGatewayIdT = Aws::String>
41 DeleteProxyResult& WithNatGatewayId(NatGatewayIdT&& value) {
42 SetNatGatewayId(std::forward<NatGatewayIdT>(value));
43 return *this;
44 }
46
48
52 inline const Aws::String& GetProxyName() const { return m_proxyName; }
53 template <typename ProxyNameT = Aws::String>
54 void SetProxyName(ProxyNameT&& value) {
55 m_proxyNameHasBeenSet = true;
56 m_proxyName = std::forward<ProxyNameT>(value);
57 }
58 template <typename ProxyNameT = Aws::String>
59 DeleteProxyResult& WithProxyName(ProxyNameT&& value) {
60 SetProxyName(std::forward<ProxyNameT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetProxyArn() const { return m_proxyArn; }
70 template <typename ProxyArnT = Aws::String>
71 void SetProxyArn(ProxyArnT&& value) {
72 m_proxyArnHasBeenSet = true;
73 m_proxyArn = std::forward<ProxyArnT>(value);
74 }
75 template <typename ProxyArnT = Aws::String>
76 DeleteProxyResult& WithProxyArn(ProxyArnT&& value) {
77 SetProxyArn(std::forward<ProxyArnT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
91 DeleteProxyResult& WithRequestId(RequestIdT&& value) {
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::String m_natGatewayId;
100
101 Aws::String m_proxyName;
102
103 Aws::String m_proxyArn;
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_natGatewayIdHasBeenSet = false;
108 bool m_proxyNameHasBeenSet = false;
109 bool m_proxyArnHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace NetworkFirewall
115} // namespace Aws
DeleteProxyResult & WithProxyArn(ProxyArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_NETWORKFIREWALL_API DeleteProxyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
DeleteProxyResult & WithNatGatewayId(NatGatewayIdT &&value)
DeleteProxyResult & WithRequestId(RequestIdT &&value)
AWS_NETWORKFIREWALL_API DeleteProxyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
DeleteProxyResult & WithProxyName(ProxyNameT &&value)
AWS_NETWORKFIREWALL_API DeleteProxyResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String