aws-sdk-rtbfabric 1.22.0

AWS SDK for RTBFabric
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct GetResponderGatewayOutput {
    /// <p>The unique identifier of the Virtual Private Cloud (VPC).</p>
    pub vpc_id: ::std::string::String,
    /// <p>The unique identifiers of the subnets.</p>
    pub subnet_ids: ::std::vec::Vec<::std::string::String>,
    /// <p>The unique identifiers of the security groups.</p>
    pub security_group_ids: ::std::vec::Vec<::std::string::String>,
    /// <p>The status of the request.</p>
    pub status: crate::types::ResponderGatewayStatus,
    /// <p>The description of the responder gateway.</p>
    pub description: ::std::option::Option<::std::string::String>,
    /// <p>The timestamp of when the responder gateway was created.</p>
    pub created_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The timestamp of when the responder gateway was updated.</p>
    pub updated_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The domain name of the responder gateway.</p>
    pub domain_name: ::std::option::Option<::std::string::String>,
    /// <p>The networking port.</p>
    pub port: i32,
    /// <p>The networking protocol.</p>
    pub protocol: crate::types::Protocol,
    /// <p>The listener configuration for the responder gateway.</p>
    pub listener_config: ::std::option::Option<crate::types::ListenerConfig>,
    /// <p>The configuration of the trust store.</p>
    pub trust_store_configuration: ::std::option::Option<crate::types::TrustStoreConfiguration>,
    /// <p>The configuration of the managed endpoint.</p>
    pub managed_endpoint_configuration: ::std::option::Option<crate::types::ManagedEndpointConfiguration>,
    /// <p>The unique identifier of the gateway.</p>
    pub gateway_id: ::std::string::String,
    /// <p>A map of the key-value pairs for the tag or tags assigned to the specified resource.</p>
    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    /// <p>The count of active links for the responder gateway.</p>
    pub active_links_count: ::std::option::Option<i32>,
    /// <p>The total count of links for the responder gateway.</p>
    pub total_links_count: ::std::option::Option<i32>,
    /// <p>Deprecated. Use 'linksRequestedCount' instead.</p>
    #[deprecated(note = "Use linksRequestedCount instead", since = "2026-05-11")]
    pub inbound_links_count: ::std::option::Option<i32>,
    /// <p>The count of requested links waiting for the responder gateway to accept or reject.</p>
    pub links_requested_count: ::std::option::Option<i32>,
    /// <p>The type of gateway. Valid values are <code>EXTERNAL</code> or <code>INTERNAL</code>.</p>
    pub gateway_type: ::std::option::Option<crate::types::GatewayType>,
    /// <p>The external inbound endpoint for the responder gateway.</p>
    pub external_inbound_endpoint: ::std::option::Option<::std::string::String>,
    _request_id: Option<String>,
}
impl GetResponderGatewayOutput {
    /// <p>The unique identifier of the Virtual Private Cloud (VPC).</p>
    pub fn vpc_id(&self) -> &str {
        use std::ops::Deref;
        self.vpc_id.deref()
    }
    /// <p>The unique identifiers of the subnets.</p>
    pub fn subnet_ids(&self) -> &[::std::string::String] {
        use std::ops::Deref;
        self.subnet_ids.deref()
    }
    /// <p>The unique identifiers of the security groups.</p>
    pub fn security_group_ids(&self) -> &[::std::string::String] {
        use std::ops::Deref;
        self.security_group_ids.deref()
    }
    /// <p>The status of the request.</p>
    pub fn status(&self) -> &crate::types::ResponderGatewayStatus {
        &self.status
    }
    /// <p>The description of the responder gateway.</p>
    pub fn description(&self) -> ::std::option::Option<&str> {
        self.description.as_deref()
    }
    /// <p>The timestamp of when the responder gateway was created.</p>
    pub fn created_at(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.created_at.as_ref()
    }
    /// <p>The timestamp of when the responder gateway was updated.</p>
    pub fn updated_at(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.updated_at.as_ref()
    }
    /// <p>The domain name of the responder gateway.</p>
    pub fn domain_name(&self) -> ::std::option::Option<&str> {
        self.domain_name.as_deref()
    }
    /// <p>The networking port.</p>
    pub fn port(&self) -> i32 {
        self.port
    }
    /// <p>The networking protocol.</p>
    pub fn protocol(&self) -> &crate::types::Protocol {
        &self.protocol
    }
    /// <p>The listener configuration for the responder gateway.</p>
    pub fn listener_config(&self) -> ::std::option::Option<&crate::types::ListenerConfig> {
        self.listener_config.as_ref()
    }
    /// <p>The configuration of the trust store.</p>
    pub fn trust_store_configuration(&self) -> ::std::option::Option<&crate::types::TrustStoreConfiguration> {
        self.trust_store_configuration.as_ref()
    }
    /// <p>The configuration of the managed endpoint.</p>
    pub fn managed_endpoint_configuration(&self) -> ::std::option::Option<&crate::types::ManagedEndpointConfiguration> {
        self.managed_endpoint_configuration.as_ref()
    }
    /// <p>The unique identifier of the gateway.</p>
    pub fn gateway_id(&self) -> &str {
        use std::ops::Deref;
        self.gateway_id.deref()
    }
    /// <p>A map of the key-value pairs for the tag or tags assigned to the specified resource.</p>
    pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        self.tags.as_ref()
    }
    /// <p>The count of active links for the responder gateway.</p>
    pub fn active_links_count(&self) -> ::std::option::Option<i32> {
        self.active_links_count
    }
    /// <p>The total count of links for the responder gateway.</p>
    pub fn total_links_count(&self) -> ::std::option::Option<i32> {
        self.total_links_count
    }
    /// <p>Deprecated. Use 'linksRequestedCount' instead.</p>
    #[deprecated(note = "Use linksRequestedCount instead", since = "2026-05-11")]
    pub fn inbound_links_count(&self) -> ::std::option::Option<i32> {
        self.inbound_links_count
    }
    /// <p>The count of requested links waiting for the responder gateway to accept or reject.</p>
    pub fn links_requested_count(&self) -> ::std::option::Option<i32> {
        self.links_requested_count
    }
    /// <p>The type of gateway. Valid values are <code>EXTERNAL</code> or <code>INTERNAL</code>.</p>
    pub fn gateway_type(&self) -> ::std::option::Option<&crate::types::GatewayType> {
        self.gateway_type.as_ref()
    }
    /// <p>The external inbound endpoint for the responder gateway.</p>
    pub fn external_inbound_endpoint(&self) -> ::std::option::Option<&str> {
        self.external_inbound_endpoint.as_deref()
    }
}
impl ::aws_types::request_id::RequestId for GetResponderGatewayOutput {
    fn request_id(&self) -> Option<&str> {
        self._request_id.as_deref()
    }
}
impl GetResponderGatewayOutput {
    /// Creates a new builder-style object to manufacture [`GetResponderGatewayOutput`](crate::operation::get_responder_gateway::GetResponderGatewayOutput).
    pub fn builder() -> crate::operation::get_responder_gateway::builders::GetResponderGatewayOutputBuilder {
        crate::operation::get_responder_gateway::builders::GetResponderGatewayOutputBuilder::default()
    }
}

/// A builder for [`GetResponderGatewayOutput`](crate::operation::get_responder_gateway::GetResponderGatewayOutput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct GetResponderGatewayOutputBuilder {
    pub(crate) vpc_id: ::std::option::Option<::std::string::String>,
    pub(crate) subnet_ids: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) security_group_ids: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) status: ::std::option::Option<crate::types::ResponderGatewayStatus>,
    pub(crate) description: ::std::option::Option<::std::string::String>,
    pub(crate) created_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) updated_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) domain_name: ::std::option::Option<::std::string::String>,
    pub(crate) port: ::std::option::Option<i32>,
    pub(crate) protocol: ::std::option::Option<crate::types::Protocol>,
    pub(crate) listener_config: ::std::option::Option<crate::types::ListenerConfig>,
    pub(crate) trust_store_configuration: ::std::option::Option<crate::types::TrustStoreConfiguration>,
    pub(crate) managed_endpoint_configuration: ::std::option::Option<crate::types::ManagedEndpointConfiguration>,
    pub(crate) gateway_id: ::std::option::Option<::std::string::String>,
    pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    pub(crate) active_links_count: ::std::option::Option<i32>,
    pub(crate) total_links_count: ::std::option::Option<i32>,
    pub(crate) inbound_links_count: ::std::option::Option<i32>,
    pub(crate) links_requested_count: ::std::option::Option<i32>,
    pub(crate) gateway_type: ::std::option::Option<crate::types::GatewayType>,
    pub(crate) external_inbound_endpoint: ::std::option::Option<::std::string::String>,
    _request_id: Option<String>,
}
impl GetResponderGatewayOutputBuilder {
    /// <p>The unique identifier of the Virtual Private Cloud (VPC).</p>
    /// This field is required.
    pub fn vpc_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.vpc_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The unique identifier of the Virtual Private Cloud (VPC).</p>
    pub fn set_vpc_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.vpc_id = input;
        self
    }
    /// <p>The unique identifier of the Virtual Private Cloud (VPC).</p>
    pub fn get_vpc_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.vpc_id
    }
    /// Appends an item to `subnet_ids`.
    ///
    /// To override the contents of this collection use [`set_subnet_ids`](Self::set_subnet_ids).
    ///
    /// <p>The unique identifiers of the subnets.</p>
    pub fn subnet_ids(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.subnet_ids.unwrap_or_default();
        v.push(input.into());
        self.subnet_ids = ::std::option::Option::Some(v);
        self
    }
    /// <p>The unique identifiers of the subnets.</p>
    pub fn set_subnet_ids(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.subnet_ids = input;
        self
    }
    /// <p>The unique identifiers of the subnets.</p>
    pub fn get_subnet_ids(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.subnet_ids
    }
    /// Appends an item to `security_group_ids`.
    ///
    /// To override the contents of this collection use [`set_security_group_ids`](Self::set_security_group_ids).
    ///
    /// <p>The unique identifiers of the security groups.</p>
    pub fn security_group_ids(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.security_group_ids.unwrap_or_default();
        v.push(input.into());
        self.security_group_ids = ::std::option::Option::Some(v);
        self
    }
    /// <p>The unique identifiers of the security groups.</p>
    pub fn set_security_group_ids(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.security_group_ids = input;
        self
    }
    /// <p>The unique identifiers of the security groups.</p>
    pub fn get_security_group_ids(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.security_group_ids
    }
    /// <p>The status of the request.</p>
    /// This field is required.
    pub fn status(mut self, input: crate::types::ResponderGatewayStatus) -> Self {
        self.status = ::std::option::Option::Some(input);
        self
    }
    /// <p>The status of the request.</p>
    pub fn set_status(mut self, input: ::std::option::Option<crate::types::ResponderGatewayStatus>) -> Self {
        self.status = input;
        self
    }
    /// <p>The status of the request.</p>
    pub fn get_status(&self) -> &::std::option::Option<crate::types::ResponderGatewayStatus> {
        &self.status
    }
    /// <p>The description of the responder gateway.</p>
    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.description = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The description of the responder gateway.</p>
    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.description = input;
        self
    }
    /// <p>The description of the responder gateway.</p>
    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
        &self.description
    }
    /// <p>The timestamp of when the responder gateway was created.</p>
    pub fn created_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.created_at = ::std::option::Option::Some(input);
        self
    }
    /// <p>The timestamp of when the responder gateway was created.</p>
    pub fn set_created_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.created_at = input;
        self
    }
    /// <p>The timestamp of when the responder gateway was created.</p>
    pub fn get_created_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.created_at
    }
    /// <p>The timestamp of when the responder gateway was updated.</p>
    pub fn updated_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.updated_at = ::std::option::Option::Some(input);
        self
    }
    /// <p>The timestamp of when the responder gateway was updated.</p>
    pub fn set_updated_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.updated_at = input;
        self
    }
    /// <p>The timestamp of when the responder gateway was updated.</p>
    pub fn get_updated_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.updated_at
    }
    /// <p>The domain name of the responder gateway.</p>
    pub fn domain_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.domain_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The domain name of the responder gateway.</p>
    pub fn set_domain_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.domain_name = input;
        self
    }
    /// <p>The domain name of the responder gateway.</p>
    pub fn get_domain_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.domain_name
    }
    /// <p>The networking port.</p>
    /// This field is required.
    pub fn port(mut self, input: i32) -> Self {
        self.port = ::std::option::Option::Some(input);
        self
    }
    /// <p>The networking port.</p>
    pub fn set_port(mut self, input: ::std::option::Option<i32>) -> Self {
        self.port = input;
        self
    }
    /// <p>The networking port.</p>
    pub fn get_port(&self) -> &::std::option::Option<i32> {
        &self.port
    }
    /// <p>The networking protocol.</p>
    /// This field is required.
    pub fn protocol(mut self, input: crate::types::Protocol) -> Self {
        self.protocol = ::std::option::Option::Some(input);
        self
    }
    /// <p>The networking protocol.</p>
    pub fn set_protocol(mut self, input: ::std::option::Option<crate::types::Protocol>) -> Self {
        self.protocol = input;
        self
    }
    /// <p>The networking protocol.</p>
    pub fn get_protocol(&self) -> &::std::option::Option<crate::types::Protocol> {
        &self.protocol
    }
    /// <p>The listener configuration for the responder gateway.</p>
    pub fn listener_config(mut self, input: crate::types::ListenerConfig) -> Self {
        self.listener_config = ::std::option::Option::Some(input);
        self
    }
    /// <p>The listener configuration for the responder gateway.</p>
    pub fn set_listener_config(mut self, input: ::std::option::Option<crate::types::ListenerConfig>) -> Self {
        self.listener_config = input;
        self
    }
    /// <p>The listener configuration for the responder gateway.</p>
    pub fn get_listener_config(&self) -> &::std::option::Option<crate::types::ListenerConfig> {
        &self.listener_config
    }
    /// <p>The configuration of the trust store.</p>
    pub fn trust_store_configuration(mut self, input: crate::types::TrustStoreConfiguration) -> Self {
        self.trust_store_configuration = ::std::option::Option::Some(input);
        self
    }
    /// <p>The configuration of the trust store.</p>
    pub fn set_trust_store_configuration(mut self, input: ::std::option::Option<crate::types::TrustStoreConfiguration>) -> Self {
        self.trust_store_configuration = input;
        self
    }
    /// <p>The configuration of the trust store.</p>
    pub fn get_trust_store_configuration(&self) -> &::std::option::Option<crate::types::TrustStoreConfiguration> {
        &self.trust_store_configuration
    }
    /// <p>The configuration of the managed endpoint.</p>
    pub fn managed_endpoint_configuration(mut self, input: crate::types::ManagedEndpointConfiguration) -> Self {
        self.managed_endpoint_configuration = ::std::option::Option::Some(input);
        self
    }
    /// <p>The configuration of the managed endpoint.</p>
    pub fn set_managed_endpoint_configuration(mut self, input: ::std::option::Option<crate::types::ManagedEndpointConfiguration>) -> Self {
        self.managed_endpoint_configuration = input;
        self
    }
    /// <p>The configuration of the managed endpoint.</p>
    pub fn get_managed_endpoint_configuration(&self) -> &::std::option::Option<crate::types::ManagedEndpointConfiguration> {
        &self.managed_endpoint_configuration
    }
    /// <p>The unique identifier of the gateway.</p>
    /// This field is required.
    pub fn gateway_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.gateway_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The unique identifier of the gateway.</p>
    pub fn set_gateway_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.gateway_id = input;
        self
    }
    /// <p>The unique identifier of the gateway.</p>
    pub fn get_gateway_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.gateway_id
    }
    /// Adds a key-value pair to `tags`.
    ///
    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
    ///
    /// <p>A map of the key-value pairs for the tag or tags assigned to the specified resource.</p>
    pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut hash_map = self.tags.unwrap_or_default();
        hash_map.insert(k.into(), v.into());
        self.tags = ::std::option::Option::Some(hash_map);
        self
    }
    /// <p>A map of the key-value pairs for the tag or tags assigned to the specified resource.</p>
    pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
        self.tags = input;
        self
    }
    /// <p>A map of the key-value pairs for the tag or tags assigned to the specified resource.</p>
    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        &self.tags
    }
    /// <p>The count of active links for the responder gateway.</p>
    pub fn active_links_count(mut self, input: i32) -> Self {
        self.active_links_count = ::std::option::Option::Some(input);
        self
    }
    /// <p>The count of active links for the responder gateway.</p>
    pub fn set_active_links_count(mut self, input: ::std::option::Option<i32>) -> Self {
        self.active_links_count = input;
        self
    }
    /// <p>The count of active links for the responder gateway.</p>
    pub fn get_active_links_count(&self) -> &::std::option::Option<i32> {
        &self.active_links_count
    }
    /// <p>The total count of links for the responder gateway.</p>
    pub fn total_links_count(mut self, input: i32) -> Self {
        self.total_links_count = ::std::option::Option::Some(input);
        self
    }
    /// <p>The total count of links for the responder gateway.</p>
    pub fn set_total_links_count(mut self, input: ::std::option::Option<i32>) -> Self {
        self.total_links_count = input;
        self
    }
    /// <p>The total count of links for the responder gateway.</p>
    pub fn get_total_links_count(&self) -> &::std::option::Option<i32> {
        &self.total_links_count
    }
    /// <p>Deprecated. Use 'linksRequestedCount' instead.</p>
    #[deprecated(note = "Use linksRequestedCount instead", since = "2026-05-11")]
    pub fn inbound_links_count(mut self, input: i32) -> Self {
        self.inbound_links_count = ::std::option::Option::Some(input);
        self
    }
    /// <p>Deprecated. Use 'linksRequestedCount' instead.</p>
    #[deprecated(note = "Use linksRequestedCount instead", since = "2026-05-11")]
    pub fn set_inbound_links_count(mut self, input: ::std::option::Option<i32>) -> Self {
        self.inbound_links_count = input;
        self
    }
    /// <p>Deprecated. Use 'linksRequestedCount' instead.</p>
    #[deprecated(note = "Use linksRequestedCount instead", since = "2026-05-11")]
    pub fn get_inbound_links_count(&self) -> &::std::option::Option<i32> {
        &self.inbound_links_count
    }
    /// <p>The count of requested links waiting for the responder gateway to accept or reject.</p>
    pub fn links_requested_count(mut self, input: i32) -> Self {
        self.links_requested_count = ::std::option::Option::Some(input);
        self
    }
    /// <p>The count of requested links waiting for the responder gateway to accept or reject.</p>
    pub fn set_links_requested_count(mut self, input: ::std::option::Option<i32>) -> Self {
        self.links_requested_count = input;
        self
    }
    /// <p>The count of requested links waiting for the responder gateway to accept or reject.</p>
    pub fn get_links_requested_count(&self) -> &::std::option::Option<i32> {
        &self.links_requested_count
    }
    /// <p>The type of gateway. Valid values are <code>EXTERNAL</code> or <code>INTERNAL</code>.</p>
    pub fn gateway_type(mut self, input: crate::types::GatewayType) -> Self {
        self.gateway_type = ::std::option::Option::Some(input);
        self
    }
    /// <p>The type of gateway. Valid values are <code>EXTERNAL</code> or <code>INTERNAL</code>.</p>
    pub fn set_gateway_type(mut self, input: ::std::option::Option<crate::types::GatewayType>) -> Self {
        self.gateway_type = input;
        self
    }
    /// <p>The type of gateway. Valid values are <code>EXTERNAL</code> or <code>INTERNAL</code>.</p>
    pub fn get_gateway_type(&self) -> &::std::option::Option<crate::types::GatewayType> {
        &self.gateway_type
    }
    /// <p>The external inbound endpoint for the responder gateway.</p>
    pub fn external_inbound_endpoint(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.external_inbound_endpoint = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The external inbound endpoint for the responder gateway.</p>
    pub fn set_external_inbound_endpoint(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.external_inbound_endpoint = input;
        self
    }
    /// <p>The external inbound endpoint for the responder gateway.</p>
    pub fn get_external_inbound_endpoint(&self) -> &::std::option::Option<::std::string::String> {
        &self.external_inbound_endpoint
    }
    pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
        self._request_id = Some(request_id.into());
        self
    }

    pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
        self._request_id = request_id;
        self
    }
    /// Consumes the builder and constructs a [`GetResponderGatewayOutput`](crate::operation::get_responder_gateway::GetResponderGatewayOutput).
    /// This method will fail if any of the following fields are not set:
    /// - [`vpc_id`](crate::operation::get_responder_gateway::builders::GetResponderGatewayOutputBuilder::vpc_id)
    /// - [`subnet_ids`](crate::operation::get_responder_gateway::builders::GetResponderGatewayOutputBuilder::subnet_ids)
    /// - [`security_group_ids`](crate::operation::get_responder_gateway::builders::GetResponderGatewayOutputBuilder::security_group_ids)
    /// - [`status`](crate::operation::get_responder_gateway::builders::GetResponderGatewayOutputBuilder::status)
    /// - [`port`](crate::operation::get_responder_gateway::builders::GetResponderGatewayOutputBuilder::port)
    /// - [`protocol`](crate::operation::get_responder_gateway::builders::GetResponderGatewayOutputBuilder::protocol)
    /// - [`gateway_id`](crate::operation::get_responder_gateway::builders::GetResponderGatewayOutputBuilder::gateway_id)
    pub fn build(
        self,
    ) -> ::std::result::Result<crate::operation::get_responder_gateway::GetResponderGatewayOutput, ::aws_smithy_types::error::operation::BuildError>
    {
        ::std::result::Result::Ok(crate::operation::get_responder_gateway::GetResponderGatewayOutput {
            vpc_id: self.vpc_id.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "vpc_id",
                    "vpc_id was not specified but it is required when building GetResponderGatewayOutput",
                )
            })?,
            subnet_ids: self.subnet_ids.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "subnet_ids",
                    "subnet_ids was not specified but it is required when building GetResponderGatewayOutput",
                )
            })?,
            security_group_ids: self.security_group_ids.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "security_group_ids",
                    "security_group_ids was not specified but it is required when building GetResponderGatewayOutput",
                )
            })?,
            status: self.status.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "status",
                    "status was not specified but it is required when building GetResponderGatewayOutput",
                )
            })?,
            description: self.description,
            created_at: self.created_at,
            updated_at: self.updated_at,
            domain_name: self.domain_name,
            port: self.port.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "port",
                    "port was not specified but it is required when building GetResponderGatewayOutput",
                )
            })?,
            protocol: self.protocol.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "protocol",
                    "protocol was not specified but it is required when building GetResponderGatewayOutput",
                )
            })?,
            listener_config: self.listener_config,
            trust_store_configuration: self.trust_store_configuration,
            managed_endpoint_configuration: self.managed_endpoint_configuration,
            gateway_id: self.gateway_id.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "gateway_id",
                    "gateway_id was not specified but it is required when building GetResponderGatewayOutput",
                )
            })?,
            tags: self.tags,
            active_links_count: self.active_links_count,
            total_links_count: self.total_links_count,
            inbound_links_count: self.inbound_links_count,
            links_requested_count: self.links_requested_count,
            gateway_type: self.gateway_type,
            external_inbound_endpoint: self.external_inbound_endpoint,
            _request_id: self._request_id,
        })
    }
}