AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
DescribeProxyResource.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
12#include <aws/network-firewall/model/ListenerProperty.h>
13#include <aws/network-firewall/model/ProxyModifyState.h>
14#include <aws/network-firewall/model/ProxyState.h>
15#include <aws/network-firewall/model/Tag.h>
16#include <aws/network-firewall/model/TlsInterceptProperties.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Cbor {
23class CborValue;
24} // namespace Cbor
25} // namespace Utils
26namespace NetworkFirewall {
27namespace Model {
28
35 public:
36 AWS_NETWORKFIREWALL_API DescribeProxyResource() = default;
37 AWS_NETWORKFIREWALL_API DescribeProxyResource(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_NETWORKFIREWALL_API DescribeProxyResource& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
39 AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
40
42
46 inline const Aws::String& GetProxyName() const { return m_proxyName; }
47 inline bool ProxyNameHasBeenSet() const { return m_proxyNameHasBeenSet; }
48 template <typename ProxyNameT = Aws::String>
49 void SetProxyName(ProxyNameT&& value) {
50 m_proxyNameHasBeenSet = true;
51 m_proxyName = std::forward<ProxyNameT>(value);
52 }
53 template <typename ProxyNameT = Aws::String>
54 DescribeProxyResource& WithProxyName(ProxyNameT&& value) {
55 SetProxyName(std::forward<ProxyNameT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetProxyArn() const { return m_proxyArn; }
65 inline bool ProxyArnHasBeenSet() const { return m_proxyArnHasBeenSet; }
66 template <typename ProxyArnT = Aws::String>
67 void SetProxyArn(ProxyArnT&& value) {
68 m_proxyArnHasBeenSet = true;
69 m_proxyArn = std::forward<ProxyArnT>(value);
70 }
71 template <typename ProxyArnT = Aws::String>
72 DescribeProxyResource& WithProxyArn(ProxyArnT&& value) {
73 SetProxyArn(std::forward<ProxyArnT>(value));
74 return *this;
75 }
77
79
83 inline const Aws::String& GetProxyConfigurationName() const { return m_proxyConfigurationName; }
84 inline bool ProxyConfigurationNameHasBeenSet() const { return m_proxyConfigurationNameHasBeenSet; }
85 template <typename ProxyConfigurationNameT = Aws::String>
86 void SetProxyConfigurationName(ProxyConfigurationNameT&& value) {
87 m_proxyConfigurationNameHasBeenSet = true;
88 m_proxyConfigurationName = std::forward<ProxyConfigurationNameT>(value);
89 }
90 template <typename ProxyConfigurationNameT = Aws::String>
91 DescribeProxyResource& WithProxyConfigurationName(ProxyConfigurationNameT&& value) {
92 SetProxyConfigurationName(std::forward<ProxyConfigurationNameT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetProxyConfigurationArn() const { return m_proxyConfigurationArn; }
102 inline bool ProxyConfigurationArnHasBeenSet() const { return m_proxyConfigurationArnHasBeenSet; }
103 template <typename ProxyConfigurationArnT = Aws::String>
104 void SetProxyConfigurationArn(ProxyConfigurationArnT&& value) {
105 m_proxyConfigurationArnHasBeenSet = true;
106 m_proxyConfigurationArn = std::forward<ProxyConfigurationArnT>(value);
107 }
108 template <typename ProxyConfigurationArnT = Aws::String>
109 DescribeProxyResource& WithProxyConfigurationArn(ProxyConfigurationArnT&& value) {
110 SetProxyConfigurationArn(std::forward<ProxyConfigurationArnT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetNatGatewayId() const { return m_natGatewayId; }
120 inline bool NatGatewayIdHasBeenSet() const { return m_natGatewayIdHasBeenSet; }
121 template <typename NatGatewayIdT = Aws::String>
122 void SetNatGatewayId(NatGatewayIdT&& value) {
123 m_natGatewayIdHasBeenSet = true;
124 m_natGatewayId = std::forward<NatGatewayIdT>(value);
125 }
126 template <typename NatGatewayIdT = Aws::String>
127 DescribeProxyResource& WithNatGatewayId(NatGatewayIdT&& value) {
128 SetNatGatewayId(std::forward<NatGatewayIdT>(value));
129 return *this;
130 }
132
134
137 inline ProxyState GetProxyState() const { return m_proxyState; }
138 inline bool ProxyStateHasBeenSet() const { return m_proxyStateHasBeenSet; }
139 inline void SetProxyState(ProxyState value) {
140 m_proxyStateHasBeenSet = true;
141 m_proxyState = value;
142 }
144 SetProxyState(value);
145 return *this;
146 }
148
150
153 inline ProxyModifyState GetProxyModifyState() const { return m_proxyModifyState; }
154 inline bool ProxyModifyStateHasBeenSet() const { return m_proxyModifyStateHasBeenSet; }
156 m_proxyModifyStateHasBeenSet = true;
157 m_proxyModifyState = value;
158 }
160 SetProxyModifyState(value);
161 return *this;
162 }
164
166
169 inline const Aws::Vector<ListenerProperty>& GetListenerProperties() const { return m_listenerProperties; }
170 inline bool ListenerPropertiesHasBeenSet() const { return m_listenerPropertiesHasBeenSet; }
171 template <typename ListenerPropertiesT = Aws::Vector<ListenerProperty>>
172 void SetListenerProperties(ListenerPropertiesT&& value) {
173 m_listenerPropertiesHasBeenSet = true;
174 m_listenerProperties = std::forward<ListenerPropertiesT>(value);
175 }
176 template <typename ListenerPropertiesT = Aws::Vector<ListenerProperty>>
177 DescribeProxyResource& WithListenerProperties(ListenerPropertiesT&& value) {
178 SetListenerProperties(std::forward<ListenerPropertiesT>(value));
179 return *this;
180 }
181 template <typename ListenerPropertiesT = ListenerProperty>
182 DescribeProxyResource& AddListenerProperties(ListenerPropertiesT&& value) {
183 m_listenerPropertiesHasBeenSet = true;
184 m_listenerProperties.emplace_back(std::forward<ListenerPropertiesT>(value));
185 return *this;
186 }
188
190
193 inline const TlsInterceptProperties& GetTlsInterceptProperties() const { return m_tlsInterceptProperties; }
194 inline bool TlsInterceptPropertiesHasBeenSet() const { return m_tlsInterceptPropertiesHasBeenSet; }
195 template <typename TlsInterceptPropertiesT = TlsInterceptProperties>
196 void SetTlsInterceptProperties(TlsInterceptPropertiesT&& value) {
197 m_tlsInterceptPropertiesHasBeenSet = true;
198 m_tlsInterceptProperties = std::forward<TlsInterceptPropertiesT>(value);
199 }
200 template <typename TlsInterceptPropertiesT = TlsInterceptProperties>
201 DescribeProxyResource& WithTlsInterceptProperties(TlsInterceptPropertiesT&& value) {
202 SetTlsInterceptProperties(std::forward<TlsInterceptPropertiesT>(value));
203 return *this;
204 }
206
208
211 inline const Aws::String& GetVpcEndpointServiceName() const { return m_vpcEndpointServiceName; }
212 inline bool VpcEndpointServiceNameHasBeenSet() const { return m_vpcEndpointServiceNameHasBeenSet; }
213 template <typename VpcEndpointServiceNameT = Aws::String>
214 void SetVpcEndpointServiceName(VpcEndpointServiceNameT&& value) {
215 m_vpcEndpointServiceNameHasBeenSet = true;
216 m_vpcEndpointServiceName = std::forward<VpcEndpointServiceNameT>(value);
217 }
218 template <typename VpcEndpointServiceNameT = Aws::String>
219 DescribeProxyResource& WithVpcEndpointServiceName(VpcEndpointServiceNameT&& value) {
220 SetVpcEndpointServiceName(std::forward<VpcEndpointServiceNameT>(value));
221 return *this;
222 }
224
226
229 inline const Aws::String& GetPrivateDNSName() const { return m_privateDNSName; }
230 inline bool PrivateDNSNameHasBeenSet() const { return m_privateDNSNameHasBeenSet; }
231 template <typename PrivateDNSNameT = Aws::String>
232 void SetPrivateDNSName(PrivateDNSNameT&& value) {
233 m_privateDNSNameHasBeenSet = true;
234 m_privateDNSName = std::forward<PrivateDNSNameT>(value);
235 }
236 template <typename PrivateDNSNameT = Aws::String>
237 DescribeProxyResource& WithPrivateDNSName(PrivateDNSNameT&& value) {
238 SetPrivateDNSName(std::forward<PrivateDNSNameT>(value));
239 return *this;
240 }
242
244
247 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
248 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
249 template <typename CreateTimeT = Aws::Utils::DateTime>
250 void SetCreateTime(CreateTimeT&& value) {
251 m_createTimeHasBeenSet = true;
252 m_createTime = std::forward<CreateTimeT>(value);
253 }
254 template <typename CreateTimeT = Aws::Utils::DateTime>
255 DescribeProxyResource& WithCreateTime(CreateTimeT&& value) {
256 SetCreateTime(std::forward<CreateTimeT>(value));
257 return *this;
258 }
260
262
265 inline const Aws::Utils::DateTime& GetDeleteTime() const { return m_deleteTime; }
266 inline bool DeleteTimeHasBeenSet() const { return m_deleteTimeHasBeenSet; }
267 template <typename DeleteTimeT = Aws::Utils::DateTime>
268 void SetDeleteTime(DeleteTimeT&& value) {
269 m_deleteTimeHasBeenSet = true;
270 m_deleteTime = std::forward<DeleteTimeT>(value);
271 }
272 template <typename DeleteTimeT = Aws::Utils::DateTime>
273 DescribeProxyResource& WithDeleteTime(DeleteTimeT&& value) {
274 SetDeleteTime(std::forward<DeleteTimeT>(value));
275 return *this;
276 }
278
280
283 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
284 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
285 template <typename UpdateTimeT = Aws::Utils::DateTime>
286 void SetUpdateTime(UpdateTimeT&& value) {
287 m_updateTimeHasBeenSet = true;
288 m_updateTime = std::forward<UpdateTimeT>(value);
289 }
290 template <typename UpdateTimeT = Aws::Utils::DateTime>
291 DescribeProxyResource& WithUpdateTime(UpdateTimeT&& value) {
292 SetUpdateTime(std::forward<UpdateTimeT>(value));
293 return *this;
294 }
296
298
301 inline const Aws::String& GetFailureCode() const { return m_failureCode; }
302 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
303 template <typename FailureCodeT = Aws::String>
304 void SetFailureCode(FailureCodeT&& value) {
305 m_failureCodeHasBeenSet = true;
306 m_failureCode = std::forward<FailureCodeT>(value);
307 }
308 template <typename FailureCodeT = Aws::String>
309 DescribeProxyResource& WithFailureCode(FailureCodeT&& value) {
310 SetFailureCode(std::forward<FailureCodeT>(value));
311 return *this;
312 }
314
316
319 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
320 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
321 template <typename FailureMessageT = Aws::String>
322 void SetFailureMessage(FailureMessageT&& value) {
323 m_failureMessageHasBeenSet = true;
324 m_failureMessage = std::forward<FailureMessageT>(value);
325 }
326 template <typename FailureMessageT = Aws::String>
327 DescribeProxyResource& WithFailureMessage(FailureMessageT&& value) {
328 SetFailureMessage(std::forward<FailureMessageT>(value));
329 return *this;
330 }
332
334
337 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
338 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
339 template <typename TagsT = Aws::Vector<Tag>>
340 void SetTags(TagsT&& value) {
341 m_tagsHasBeenSet = true;
342 m_tags = std::forward<TagsT>(value);
343 }
344 template <typename TagsT = Aws::Vector<Tag>>
346 SetTags(std::forward<TagsT>(value));
347 return *this;
348 }
349 template <typename TagsT = Tag>
351 m_tagsHasBeenSet = true;
352 m_tags.emplace_back(std::forward<TagsT>(value));
353 return *this;
354 }
356 private:
357 Aws::String m_proxyName;
358
359 Aws::String m_proxyArn;
360
361 Aws::String m_proxyConfigurationName;
362
363 Aws::String m_proxyConfigurationArn;
364
365 Aws::String m_natGatewayId;
366
367 ProxyState m_proxyState{ProxyState::NOT_SET};
368
370
371 Aws::Vector<ListenerProperty> m_listenerProperties;
372
373 TlsInterceptProperties m_tlsInterceptProperties;
374
375 Aws::String m_vpcEndpointServiceName;
376
377 Aws::String m_privateDNSName;
378
379 Aws::Utils::DateTime m_createTime{};
380
381 Aws::Utils::DateTime m_deleteTime{};
382
383 Aws::Utils::DateTime m_updateTime{};
384
385 Aws::String m_failureCode;
386
387 Aws::String m_failureMessage;
388
389 Aws::Vector<Tag> m_tags;
390 bool m_proxyNameHasBeenSet = false;
391 bool m_proxyArnHasBeenSet = false;
392 bool m_proxyConfigurationNameHasBeenSet = false;
393 bool m_proxyConfigurationArnHasBeenSet = false;
394 bool m_natGatewayIdHasBeenSet = false;
395 bool m_proxyStateHasBeenSet = false;
396 bool m_proxyModifyStateHasBeenSet = false;
397 bool m_listenerPropertiesHasBeenSet = false;
398 bool m_tlsInterceptPropertiesHasBeenSet = false;
399 bool m_vpcEndpointServiceNameHasBeenSet = false;
400 bool m_privateDNSNameHasBeenSet = false;
401 bool m_createTimeHasBeenSet = false;
402 bool m_deleteTimeHasBeenSet = false;
403 bool m_updateTimeHasBeenSet = false;
404 bool m_failureCodeHasBeenSet = false;
405 bool m_failureMessageHasBeenSet = false;
406 bool m_tagsHasBeenSet = false;
407};
408
409} // namespace Model
410} // namespace NetworkFirewall
411} // namespace Aws
DescribeProxyResource & WithDeleteTime(DeleteTimeT &&value)
DescribeProxyResource & WithProxyConfigurationArn(ProxyConfigurationArnT &&value)
void SetVpcEndpointServiceName(VpcEndpointServiceNameT &&value)
DescribeProxyResource & WithTags(TagsT &&value)
void SetProxyConfigurationName(ProxyConfigurationNameT &&value)
DescribeProxyResource & WithProxyArn(ProxyArnT &&value)
const TlsInterceptProperties & GetTlsInterceptProperties() const
AWS_NETWORKFIREWALL_API DescribeProxyResource(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
DescribeProxyResource & AddListenerProperties(ListenerPropertiesT &&value)
DescribeProxyResource & WithNatGatewayId(NatGatewayIdT &&value)
DescribeProxyResource & WithCreateTime(CreateTimeT &&value)
DescribeProxyResource & WithPrivateDNSName(PrivateDNSNameT &&value)
DescribeProxyResource & WithProxyModifyState(ProxyModifyState value)
DescribeProxyResource & WithProxyState(ProxyState value)
DescribeProxyResource & WithListenerProperties(ListenerPropertiesT &&value)
DescribeProxyResource & WithProxyName(ProxyNameT &&value)
void SetTlsInterceptProperties(TlsInterceptPropertiesT &&value)
DescribeProxyResource & WithTlsInterceptProperties(TlsInterceptPropertiesT &&value)
void SetProxyConfigurationArn(ProxyConfigurationArnT &&value)
DescribeProxyResource & WithUpdateTime(UpdateTimeT &&value)
const Aws::Vector< ListenerProperty > & GetListenerProperties() const
AWS_NETWORKFIREWALL_API DescribeProxyResource & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
DescribeProxyResource & WithFailureMessage(FailureMessageT &&value)
DescribeProxyResource & WithFailureCode(FailureCodeT &&value)
AWS_NETWORKFIREWALL_API DescribeProxyResource()=default
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
DescribeProxyResource & WithVpcEndpointServiceName(VpcEndpointServiceNameT &&value)
DescribeProxyResource & WithProxyConfigurationName(ProxyConfigurationNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector