AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
GetResponderGatewayResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
13#include <aws/rtbfabric/model/ClientRoutingPolicy.h>
14#include <aws/rtbfabric/model/ErrorDetail.h>
15#include <aws/rtbfabric/model/GatewayType.h>
16#include <aws/rtbfabric/model/ListenerConfig.h>
17#include <aws/rtbfabric/model/ManagedEndpointConfiguration.h>
18#include <aws/rtbfabric/model/Protocol.h>
19#include <aws/rtbfabric/model/ResponderGatewayStatus.h>
20#include <aws/rtbfabric/model/TrustStoreConfiguration.h>
21
22#include <utility>
23
24namespace Aws {
25template <typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils {
29namespace Json {
30class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace RTBFabric {
34namespace Model {
36 public:
37 AWS_RTBFABRIC_API GetResponderGatewayResult() = default;
40
42
45 inline const Aws::String& GetVpcId() const { return m_vpcId; }
46 template <typename VpcIdT = Aws::String>
47 void SetVpcId(VpcIdT&& value) {
48 m_vpcIdHasBeenSet = true;
49 m_vpcId = std::forward<VpcIdT>(value);
50 }
51 template <typename VpcIdT = Aws::String>
53 SetVpcId(std::forward<VpcIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
63 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
64 void SetSubnetIds(SubnetIdsT&& value) {
65 m_subnetIdsHasBeenSet = true;
66 m_subnetIds = std::forward<SubnetIdsT>(value);
67 }
68 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
70 SetSubnetIds(std::forward<SubnetIdsT>(value));
71 return *this;
72 }
73 template <typename SubnetIdsT = Aws::String>
75 m_subnetIdsHasBeenSet = true;
76 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
86 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
87 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
88 m_securityGroupIdsHasBeenSet = true;
89 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
90 }
91 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
92 GetResponderGatewayResult& WithSecurityGroupIds(SecurityGroupIdsT&& value) {
93 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
94 return *this;
95 }
96 template <typename SecurityGroupIdsT = Aws::String>
97 GetResponderGatewayResult& AddSecurityGroupIds(SecurityGroupIdsT&& value) {
98 m_securityGroupIdsHasBeenSet = true;
99 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
100 return *this;
101 }
103
105
108 inline ResponderGatewayStatus GetStatus() const { return m_status; }
110 m_statusHasBeenSet = true;
111 m_status = value;
112 }
114 SetStatus(value);
115 return *this;
116 }
118
120
123 inline const Aws::String& GetDescription() const { return m_description; }
124 template <typename DescriptionT = Aws::String>
125 void SetDescription(DescriptionT&& value) {
126 m_descriptionHasBeenSet = true;
127 m_description = std::forward<DescriptionT>(value);
128 }
129 template <typename DescriptionT = Aws::String>
131 SetDescription(std::forward<DescriptionT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
141 template <typename CreatedAtT = Aws::Utils::DateTime>
142 void SetCreatedAt(CreatedAtT&& value) {
143 m_createdAtHasBeenSet = true;
144 m_createdAt = std::forward<CreatedAtT>(value);
145 }
146 template <typename CreatedAtT = Aws::Utils::DateTime>
148 SetCreatedAt(std::forward<CreatedAtT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
158 template <typename UpdatedAtT = Aws::Utils::DateTime>
159 void SetUpdatedAt(UpdatedAtT&& value) {
160 m_updatedAtHasBeenSet = true;
161 m_updatedAt = std::forward<UpdatedAtT>(value);
162 }
163 template <typename UpdatedAtT = Aws::Utils::DateTime>
165 SetUpdatedAt(std::forward<UpdatedAtT>(value));
166 return *this;
167 }
169
171
175 inline const Aws::Vector<ErrorDetail>& GetErrorDetails() const { return m_errorDetails; }
176 template <typename ErrorDetailsT = Aws::Vector<ErrorDetail>>
177 void SetErrorDetails(ErrorDetailsT&& value) {
178 m_errorDetailsHasBeenSet = true;
179 m_errorDetails = std::forward<ErrorDetailsT>(value);
180 }
181 template <typename ErrorDetailsT = Aws::Vector<ErrorDetail>>
183 SetErrorDetails(std::forward<ErrorDetailsT>(value));
184 return *this;
185 }
186 template <typename ErrorDetailsT = ErrorDetail>
188 m_errorDetailsHasBeenSet = true;
189 m_errorDetails.emplace_back(std::forward<ErrorDetailsT>(value));
190 return *this;
191 }
193
195
198 inline const Aws::String& GetDomainName() const { return m_domainName; }
199 template <typename DomainNameT = Aws::String>
200 void SetDomainName(DomainNameT&& value) {
201 m_domainNameHasBeenSet = true;
202 m_domainName = std::forward<DomainNameT>(value);
203 }
204 template <typename DomainNameT = Aws::String>
206 SetDomainName(std::forward<DomainNameT>(value));
207 return *this;
208 }
210
212
215 inline int GetPort() const { return m_port; }
216 inline void SetPort(int value) {
217 m_portHasBeenSet = true;
218 m_port = value;
219 }
221 SetPort(value);
222 return *this;
223 }
225
227
230 inline Protocol GetProtocol() const { return m_protocol; }
231 inline void SetProtocol(Protocol value) {
232 m_protocolHasBeenSet = true;
233 m_protocol = value;
234 }
236 SetProtocol(value);
237 return *this;
238 }
240
242
245 inline const ListenerConfig& GetListenerConfig() const { return m_listenerConfig; }
246 template <typename ListenerConfigT = ListenerConfig>
247 void SetListenerConfig(ListenerConfigT&& value) {
248 m_listenerConfigHasBeenSet = true;
249 m_listenerConfig = std::forward<ListenerConfigT>(value);
250 }
251 template <typename ListenerConfigT = ListenerConfig>
253 SetListenerConfig(std::forward<ListenerConfigT>(value));
254 return *this;
255 }
257
259
262 inline const TrustStoreConfiguration& GetTrustStoreConfiguration() const { return m_trustStoreConfiguration; }
263 template <typename TrustStoreConfigurationT = TrustStoreConfiguration>
264 void SetTrustStoreConfiguration(TrustStoreConfigurationT&& value) {
265 m_trustStoreConfigurationHasBeenSet = true;
266 m_trustStoreConfiguration = std::forward<TrustStoreConfigurationT>(value);
267 }
268 template <typename TrustStoreConfigurationT = TrustStoreConfiguration>
269 GetResponderGatewayResult& WithTrustStoreConfiguration(TrustStoreConfigurationT&& value) {
270 SetTrustStoreConfiguration(std::forward<TrustStoreConfigurationT>(value));
271 return *this;
272 }
274
276
279 inline const ManagedEndpointConfiguration& GetManagedEndpointConfiguration() const { return m_managedEndpointConfiguration; }
280 template <typename ManagedEndpointConfigurationT = ManagedEndpointConfiguration>
281 void SetManagedEndpointConfiguration(ManagedEndpointConfigurationT&& value) {
282 m_managedEndpointConfigurationHasBeenSet = true;
283 m_managedEndpointConfiguration = std::forward<ManagedEndpointConfigurationT>(value);
284 }
285 template <typename ManagedEndpointConfigurationT = ManagedEndpointConfiguration>
286 GetResponderGatewayResult& WithManagedEndpointConfiguration(ManagedEndpointConfigurationT&& value) {
287 SetManagedEndpointConfiguration(std::forward<ManagedEndpointConfigurationT>(value));
288 return *this;
289 }
291
293
296 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
297 template <typename GatewayIdT = Aws::String>
298 void SetGatewayId(GatewayIdT&& value) {
299 m_gatewayIdHasBeenSet = true;
300 m_gatewayId = std::forward<GatewayIdT>(value);
301 }
302 template <typename GatewayIdT = Aws::String>
304 SetGatewayId(std::forward<GatewayIdT>(value));
305 return *this;
306 }
308
310
314 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
315 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
316 void SetTags(TagsT&& value) {
317 m_tagsHasBeenSet = true;
318 m_tags = std::forward<TagsT>(value);
319 }
320 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
322 SetTags(std::forward<TagsT>(value));
323 return *this;
324 }
325 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
326 GetResponderGatewayResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
327 m_tagsHasBeenSet = true;
328 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
329 return *this;
330 }
332
334
337 inline int GetActiveLinksCount() const { return m_activeLinksCount; }
338 inline void SetActiveLinksCount(int value) {
339 m_activeLinksCountHasBeenSet = true;
340 m_activeLinksCount = value;
341 }
343 SetActiveLinksCount(value);
344 return *this;
345 }
347
349
352 inline int GetTotalLinksCount() const { return m_totalLinksCount; }
353 inline void SetTotalLinksCount(int value) {
354 m_totalLinksCountHasBeenSet = true;
355 m_totalLinksCount = value;
356 }
358 SetTotalLinksCount(value);
359 return *this;
360 }
362
364
368 inline int GetLinksRequestedCount() const { return m_linksRequestedCount; }
369 inline void SetLinksRequestedCount(int value) {
370 m_linksRequestedCountHasBeenSet = true;
371 m_linksRequestedCount = value;
372 }
375 return *this;
376 }
378
380
384 inline GatewayType GetGatewayType() const { return m_gatewayType; }
385 inline void SetGatewayType(GatewayType value) {
386 m_gatewayTypeHasBeenSet = true;
387 m_gatewayType = value;
388 }
390 SetGatewayType(value);
391 return *this;
392 }
394
396
399 inline const Aws::String& GetExternalInboundEndpoint() const { return m_externalInboundEndpoint; }
400 template <typename ExternalInboundEndpointT = Aws::String>
401 void SetExternalInboundEndpoint(ExternalInboundEndpointT&& value) {
402 m_externalInboundEndpointHasBeenSet = true;
403 m_externalInboundEndpoint = std::forward<ExternalInboundEndpointT>(value);
404 }
405 template <typename ExternalInboundEndpointT = Aws::String>
406 GetResponderGatewayResult& WithExternalInboundEndpoint(ExternalInboundEndpointT&& value) {
407 SetExternalInboundEndpoint(std::forward<ExternalInboundEndpointT>(value));
408 return *this;
409 }
411
413
423 inline ClientRoutingPolicy GetClientRoutingPolicy() const { return m_clientRoutingPolicy; }
425 m_clientRoutingPolicyHasBeenSet = true;
426 m_clientRoutingPolicy = value;
427 }
433
435
436 inline const Aws::String& GetRequestId() const { return m_requestId; }
437 template <typename RequestIdT = Aws::String>
438 void SetRequestId(RequestIdT&& value) {
439 m_requestIdHasBeenSet = true;
440 m_requestId = std::forward<RequestIdT>(value);
441 }
442 template <typename RequestIdT = Aws::String>
444 SetRequestId(std::forward<RequestIdT>(value));
445 return *this;
446 }
448 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
449
450 private:
451 Aws::String m_vpcId;
452
453 Aws::Vector<Aws::String> m_subnetIds;
454
455 Aws::Vector<Aws::String> m_securityGroupIds;
456
458
459 Aws::String m_description;
460
461 Aws::Utils::DateTime m_createdAt{};
462
463 Aws::Utils::DateTime m_updatedAt{};
464
465 Aws::Vector<ErrorDetail> m_errorDetails;
466
467 Aws::String m_domainName;
468
469 int m_port{0};
470
471 Protocol m_protocol{Protocol::NOT_SET};
472
473 ListenerConfig m_listenerConfig;
474
475 TrustStoreConfiguration m_trustStoreConfiguration;
476
477 ManagedEndpointConfiguration m_managedEndpointConfiguration;
478
479 Aws::String m_gatewayId;
480
482
483 int m_activeLinksCount{0};
484
485 int m_totalLinksCount{0};
486
487 int m_linksRequestedCount{0};
488
489 GatewayType m_gatewayType{GatewayType::NOT_SET};
490
491 Aws::String m_externalInboundEndpoint;
492
494
495 Aws::String m_requestId;
496 Aws::Http::HttpResponseCode m_HttpResponseCode;
497 bool m_vpcIdHasBeenSet = false;
498 bool m_subnetIdsHasBeenSet = false;
499 bool m_securityGroupIdsHasBeenSet = false;
500 bool m_statusHasBeenSet = false;
501 bool m_descriptionHasBeenSet = false;
502 bool m_createdAtHasBeenSet = false;
503 bool m_updatedAtHasBeenSet = false;
504 bool m_errorDetailsHasBeenSet = false;
505 bool m_domainNameHasBeenSet = false;
506 bool m_portHasBeenSet = false;
507 bool m_protocolHasBeenSet = false;
508 bool m_listenerConfigHasBeenSet = false;
509 bool m_trustStoreConfigurationHasBeenSet = false;
510 bool m_managedEndpointConfigurationHasBeenSet = false;
511 bool m_gatewayIdHasBeenSet = false;
512 bool m_tagsHasBeenSet = false;
513 bool m_activeLinksCountHasBeenSet = false;
514 bool m_totalLinksCountHasBeenSet = false;
515 bool m_linksRequestedCountHasBeenSet = false;
516 bool m_gatewayTypeHasBeenSet = false;
517 bool m_externalInboundEndpointHasBeenSet = false;
518 bool m_clientRoutingPolicyHasBeenSet = false;
519 bool m_requestIdHasBeenSet = false;
520};
521
522} // namespace Model
523} // namespace RTBFabric
524} // namespace Aws
GetResponderGatewayResult & WithProtocol(Protocol value)
GetResponderGatewayResult & WithClientRoutingPolicy(ClientRoutingPolicy value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetResponderGatewayResult & WithDomainName(DomainNameT &&value)
GetResponderGatewayResult & WithVpcId(VpcIdT &&value)
GetResponderGatewayResult & WithTotalLinksCount(int value)
void SetExternalInboundEndpoint(ExternalInboundEndpointT &&value)
AWS_RTBFABRIC_API GetResponderGatewayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResponderGatewayResult & AddSubnetIds(SubnetIdsT &&value)
GetResponderGatewayResult & WithSubnetIds(SubnetIdsT &&value)
GetResponderGatewayResult & WithTrustStoreConfiguration(TrustStoreConfigurationT &&value)
GetResponderGatewayResult & AddErrorDetails(ErrorDetailsT &&value)
GetResponderGatewayResult & AddSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
GetResponderGatewayResult & WithStatus(ResponderGatewayStatus value)
const ManagedEndpointConfiguration & GetManagedEndpointConfiguration() const
const TrustStoreConfiguration & GetTrustStoreConfiguration() const
GetResponderGatewayResult & WithSecurityGroupIds(SecurityGroupIdsT &&value)
GetResponderGatewayResult & WithRequestId(RequestIdT &&value)
void SetTrustStoreConfiguration(TrustStoreConfigurationT &&value)
GetResponderGatewayResult & WithManagedEndpointConfiguration(ManagedEndpointConfigurationT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
GetResponderGatewayResult & WithTags(TagsT &&value)
GetResponderGatewayResult & WithCreatedAt(CreatedAtT &&value)
GetResponderGatewayResult & WithGatewayId(GatewayIdT &&value)
GetResponderGatewayResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetManagedEndpointConfiguration(ManagedEndpointConfigurationT &&value)
const Aws::Vector< ErrorDetail > & GetErrorDetails() const
GetResponderGatewayResult & WithExternalInboundEndpoint(ExternalInboundEndpointT &&value)
GetResponderGatewayResult & WithUpdatedAt(UpdatedAtT &&value)
GetResponderGatewayResult & WithErrorDetails(ErrorDetailsT &&value)
GetResponderGatewayResult & WithLinksRequestedCount(int value)
GetResponderGatewayResult & WithActiveLinksCount(int value)
AWS_RTBFABRIC_API GetResponderGatewayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResponderGatewayResult & WithListenerConfig(ListenerConfigT &&value)
GetResponderGatewayResult & WithGatewayType(GatewayType value)
GetResponderGatewayResult & WithDescription(DescriptionT &&value)
AWS_RTBFABRIC_API GetResponderGatewayResult()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue