AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
DescribeProxyResult.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#include <aws/network-firewall/model/DescribeProxyResource.h>
12
13#include <utility>
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Cbor {
20class CborValue;
21} // namespace Cbor
22} // namespace Utils
23namespace NetworkFirewall {
24namespace Model {
26 public:
27 AWS_NETWORKFIREWALL_API DescribeProxyResult() = default;
30
32
35 inline const DescribeProxyResource& GetProxy() const { return m_proxy; }
36 template <typename ProxyT = DescribeProxyResource>
37 void SetProxy(ProxyT&& value) {
38 m_proxyHasBeenSet = true;
39 m_proxy = std::forward<ProxyT>(value);
40 }
41 template <typename ProxyT = DescribeProxyResource>
42 DescribeProxyResult& WithProxy(ProxyT&& value) {
43 SetProxy(std::forward<ProxyT>(value));
44 return *this;
45 }
47
49
60 inline const Aws::String& GetUpdateToken() const { return m_updateToken; }
61 template <typename UpdateTokenT = Aws::String>
62 void SetUpdateToken(UpdateTokenT&& value) {
63 m_updateTokenHasBeenSet = true;
64 m_updateToken = std::forward<UpdateTokenT>(value);
65 }
66 template <typename UpdateTokenT = Aws::String>
67 DescribeProxyResult& WithUpdateToken(UpdateTokenT&& value) {
68 SetUpdateToken(std::forward<UpdateTokenT>(value));
69 return *this;
70 }
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template <typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) {
78 m_requestIdHasBeenSet = true;
79 m_requestId = std::forward<RequestIdT>(value);
80 }
81 template <typename RequestIdT = Aws::String>
82 DescribeProxyResult& WithRequestId(RequestIdT&& value) {
83 SetRequestId(std::forward<RequestIdT>(value));
84 return *this;
85 }
87 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
88
89 private:
91
92 Aws::String m_updateToken;
93
94 Aws::String m_requestId;
95 Aws::Http::HttpResponseCode m_HttpResponseCode;
96 bool m_proxyHasBeenSet = false;
97 bool m_updateTokenHasBeenSet = false;
98 bool m_requestIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace NetworkFirewall
103} // namespace Aws
DescribeProxyResult & WithRequestId(RequestIdT &&value)
AWS_NETWORKFIREWALL_API DescribeProxyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
const DescribeProxyResource & GetProxy() const
AWS_NETWORKFIREWALL_API DescribeProxyResult()=default
DescribeProxyResult & WithUpdateToken(UpdateTokenT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_NETWORKFIREWALL_API DescribeProxyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
DescribeProxyResult & WithProxy(ProxyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String