aws-sdk-medialive 1.78.0

AWS SDK for AWS Elemental MediaLive
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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// Placeholder documentation for StopChannelResponse
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct StopChannelOutput {
    /// The unique arn of the channel.
    pub arn: ::std::option::Option<::std::string::String>,
    /// Specification of CDI inputs for this channel
    pub cdi_input_specification: ::std::option::Option<crate::types::CdiInputSpecification>,
    /// The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
    pub channel_class: ::std::option::Option<crate::types::ChannelClass>,
    /// A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types (HLS, for example), there is one destination per packager.
    pub destinations: ::std::option::Option<::std::vec::Vec<crate::types::OutputDestination>>,
    /// The endpoints where outgoing connections initiate from
    pub egress_endpoints: ::std::option::Option<::std::vec::Vec<crate::types::ChannelEgressEndpoint>>,
    /// Encoder Settings
    pub encoder_settings: ::std::option::Option<crate::types::EncoderSettings>,
    /// The unique id of the channel.
    pub id: ::std::option::Option<::std::string::String>,
    /// List of input attachments for channel.
    pub input_attachments: ::std::option::Option<::std::vec::Vec<crate::types::InputAttachment>>,
    /// Specification of network and file inputs for this channel
    pub input_specification: ::std::option::Option<crate::types::InputSpecification>,
    /// The log level being written to CloudWatch Logs.
    pub log_level: ::std::option::Option<crate::types::LogLevel>,
    /// Maintenance settings for this channel.
    pub maintenance: ::std::option::Option<crate::types::MaintenanceStatus>,
    /// The name of the channel. (user-mutable)
    pub name: ::std::option::Option<::std::string::String>,
    /// Runtime details for the pipelines of a running channel.
    pub pipeline_details: ::std::option::Option<::std::vec::Vec<crate::types::PipelineDetail>>,
    /// The number of currently healthy pipelines.
    pub pipelines_running_count: ::std::option::Option<i32>,
    /// The Amazon Resource Name (ARN) of the role assumed when running the Channel.
    pub role_arn: ::std::option::Option<::std::string::String>,
    /// Placeholder documentation for ChannelState
    pub state: ::std::option::Option<crate::types::ChannelState>,
    /// A collection of key-value pairs.
    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    /// Settings for VPC output
    pub vpc: ::std::option::Option<crate::types::VpcOutputSettingsDescription>,
    /// Anywhere settings for this channel.
    pub anywhere_settings: ::std::option::Option<crate::types::DescribeAnywhereSettings>,
    /// Requested engine version for this channel.
    pub channel_engine_version: ::std::option::Option<crate::types::ChannelEngineVersionResponse>,
    _request_id: Option<String>,
}
impl StopChannelOutput {
    /// The unique arn of the channel.
    pub fn arn(&self) -> ::std::option::Option<&str> {
        self.arn.as_deref()
    }
    /// Specification of CDI inputs for this channel
    pub fn cdi_input_specification(&self) -> ::std::option::Option<&crate::types::CdiInputSpecification> {
        self.cdi_input_specification.as_ref()
    }
    /// The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
    pub fn channel_class(&self) -> ::std::option::Option<&crate::types::ChannelClass> {
        self.channel_class.as_ref()
    }
    /// A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types (HLS, for example), there is one destination per packager.
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.destinations.is_none()`.
    pub fn destinations(&self) -> &[crate::types::OutputDestination] {
        self.destinations.as_deref().unwrap_or_default()
    }
    /// The endpoints where outgoing connections initiate from
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.egress_endpoints.is_none()`.
    pub fn egress_endpoints(&self) -> &[crate::types::ChannelEgressEndpoint] {
        self.egress_endpoints.as_deref().unwrap_or_default()
    }
    /// Encoder Settings
    pub fn encoder_settings(&self) -> ::std::option::Option<&crate::types::EncoderSettings> {
        self.encoder_settings.as_ref()
    }
    /// The unique id of the channel.
    pub fn id(&self) -> ::std::option::Option<&str> {
        self.id.as_deref()
    }
    /// List of input attachments for channel.
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.input_attachments.is_none()`.
    pub fn input_attachments(&self) -> &[crate::types::InputAttachment] {
        self.input_attachments.as_deref().unwrap_or_default()
    }
    /// Specification of network and file inputs for this channel
    pub fn input_specification(&self) -> ::std::option::Option<&crate::types::InputSpecification> {
        self.input_specification.as_ref()
    }
    /// The log level being written to CloudWatch Logs.
    pub fn log_level(&self) -> ::std::option::Option<&crate::types::LogLevel> {
        self.log_level.as_ref()
    }
    /// Maintenance settings for this channel.
    pub fn maintenance(&self) -> ::std::option::Option<&crate::types::MaintenanceStatus> {
        self.maintenance.as_ref()
    }
    /// The name of the channel. (user-mutable)
    pub fn name(&self) -> ::std::option::Option<&str> {
        self.name.as_deref()
    }
    /// Runtime details for the pipelines of a running channel.
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.pipeline_details.is_none()`.
    pub fn pipeline_details(&self) -> &[crate::types::PipelineDetail] {
        self.pipeline_details.as_deref().unwrap_or_default()
    }
    /// The number of currently healthy pipelines.
    pub fn pipelines_running_count(&self) -> ::std::option::Option<i32> {
        self.pipelines_running_count
    }
    /// The Amazon Resource Name (ARN) of the role assumed when running the Channel.
    pub fn role_arn(&self) -> ::std::option::Option<&str> {
        self.role_arn.as_deref()
    }
    /// Placeholder documentation for ChannelState
    pub fn state(&self) -> ::std::option::Option<&crate::types::ChannelState> {
        self.state.as_ref()
    }
    /// A collection of key-value pairs.
    pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        self.tags.as_ref()
    }
    /// Settings for VPC output
    pub fn vpc(&self) -> ::std::option::Option<&crate::types::VpcOutputSettingsDescription> {
        self.vpc.as_ref()
    }
    /// Anywhere settings for this channel.
    pub fn anywhere_settings(&self) -> ::std::option::Option<&crate::types::DescribeAnywhereSettings> {
        self.anywhere_settings.as_ref()
    }
    /// Requested engine version for this channel.
    pub fn channel_engine_version(&self) -> ::std::option::Option<&crate::types::ChannelEngineVersionResponse> {
        self.channel_engine_version.as_ref()
    }
}
impl ::aws_types::request_id::RequestId for StopChannelOutput {
    fn request_id(&self) -> Option<&str> {
        self._request_id.as_deref()
    }
}
impl StopChannelOutput {
    /// Creates a new builder-style object to manufacture [`StopChannelOutput`](crate::operation::stop_channel::StopChannelOutput).
    pub fn builder() -> crate::operation::stop_channel::builders::StopChannelOutputBuilder {
        crate::operation::stop_channel::builders::StopChannelOutputBuilder::default()
    }
}

/// A builder for [`StopChannelOutput`](crate::operation::stop_channel::StopChannelOutput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct StopChannelOutputBuilder {
    pub(crate) arn: ::std::option::Option<::std::string::String>,
    pub(crate) cdi_input_specification: ::std::option::Option<crate::types::CdiInputSpecification>,
    pub(crate) channel_class: ::std::option::Option<crate::types::ChannelClass>,
    pub(crate) destinations: ::std::option::Option<::std::vec::Vec<crate::types::OutputDestination>>,
    pub(crate) egress_endpoints: ::std::option::Option<::std::vec::Vec<crate::types::ChannelEgressEndpoint>>,
    pub(crate) encoder_settings: ::std::option::Option<crate::types::EncoderSettings>,
    pub(crate) id: ::std::option::Option<::std::string::String>,
    pub(crate) input_attachments: ::std::option::Option<::std::vec::Vec<crate::types::InputAttachment>>,
    pub(crate) input_specification: ::std::option::Option<crate::types::InputSpecification>,
    pub(crate) log_level: ::std::option::Option<crate::types::LogLevel>,
    pub(crate) maintenance: ::std::option::Option<crate::types::MaintenanceStatus>,
    pub(crate) name: ::std::option::Option<::std::string::String>,
    pub(crate) pipeline_details: ::std::option::Option<::std::vec::Vec<crate::types::PipelineDetail>>,
    pub(crate) pipelines_running_count: ::std::option::Option<i32>,
    pub(crate) role_arn: ::std::option::Option<::std::string::String>,
    pub(crate) state: ::std::option::Option<crate::types::ChannelState>,
    pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    pub(crate) vpc: ::std::option::Option<crate::types::VpcOutputSettingsDescription>,
    pub(crate) anywhere_settings: ::std::option::Option<crate::types::DescribeAnywhereSettings>,
    pub(crate) channel_engine_version: ::std::option::Option<crate::types::ChannelEngineVersionResponse>,
    _request_id: Option<String>,
}
impl StopChannelOutputBuilder {
    /// The unique arn of the channel.
    pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.arn = ::std::option::Option::Some(input.into());
        self
    }
    /// The unique arn of the channel.
    pub fn set_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.arn = input;
        self
    }
    /// The unique arn of the channel.
    pub fn get_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.arn
    }
    /// Specification of CDI inputs for this channel
    pub fn cdi_input_specification(mut self, input: crate::types::CdiInputSpecification) -> Self {
        self.cdi_input_specification = ::std::option::Option::Some(input);
        self
    }
    /// Specification of CDI inputs for this channel
    pub fn set_cdi_input_specification(mut self, input: ::std::option::Option<crate::types::CdiInputSpecification>) -> Self {
        self.cdi_input_specification = input;
        self
    }
    /// Specification of CDI inputs for this channel
    pub fn get_cdi_input_specification(&self) -> &::std::option::Option<crate::types::CdiInputSpecification> {
        &self.cdi_input_specification
    }
    /// The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
    pub fn channel_class(mut self, input: crate::types::ChannelClass) -> Self {
        self.channel_class = ::std::option::Option::Some(input);
        self
    }
    /// The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
    pub fn set_channel_class(mut self, input: ::std::option::Option<crate::types::ChannelClass>) -> Self {
        self.channel_class = input;
        self
    }
    /// The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
    pub fn get_channel_class(&self) -> &::std::option::Option<crate::types::ChannelClass> {
        &self.channel_class
    }
    /// Appends an item to `destinations`.
    ///
    /// To override the contents of this collection use [`set_destinations`](Self::set_destinations).
    ///
    /// A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types (HLS, for example), there is one destination per packager.
    pub fn destinations(mut self, input: crate::types::OutputDestination) -> Self {
        let mut v = self.destinations.unwrap_or_default();
        v.push(input);
        self.destinations = ::std::option::Option::Some(v);
        self
    }
    /// A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types (HLS, for example), there is one destination per packager.
    pub fn set_destinations(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::OutputDestination>>) -> Self {
        self.destinations = input;
        self
    }
    /// A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types (HLS, for example), there is one destination per packager.
    pub fn get_destinations(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::OutputDestination>> {
        &self.destinations
    }
    /// Appends an item to `egress_endpoints`.
    ///
    /// To override the contents of this collection use [`set_egress_endpoints`](Self::set_egress_endpoints).
    ///
    /// The endpoints where outgoing connections initiate from
    pub fn egress_endpoints(mut self, input: crate::types::ChannelEgressEndpoint) -> Self {
        let mut v = self.egress_endpoints.unwrap_or_default();
        v.push(input);
        self.egress_endpoints = ::std::option::Option::Some(v);
        self
    }
    /// The endpoints where outgoing connections initiate from
    pub fn set_egress_endpoints(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::ChannelEgressEndpoint>>) -> Self {
        self.egress_endpoints = input;
        self
    }
    /// The endpoints where outgoing connections initiate from
    pub fn get_egress_endpoints(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::ChannelEgressEndpoint>> {
        &self.egress_endpoints
    }
    /// Encoder Settings
    pub fn encoder_settings(mut self, input: crate::types::EncoderSettings) -> Self {
        self.encoder_settings = ::std::option::Option::Some(input);
        self
    }
    /// Encoder Settings
    pub fn set_encoder_settings(mut self, input: ::std::option::Option<crate::types::EncoderSettings>) -> Self {
        self.encoder_settings = input;
        self
    }
    /// Encoder Settings
    pub fn get_encoder_settings(&self) -> &::std::option::Option<crate::types::EncoderSettings> {
        &self.encoder_settings
    }
    /// The unique id of the channel.
    pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.id = ::std::option::Option::Some(input.into());
        self
    }
    /// The unique id of the channel.
    pub fn set_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.id = input;
        self
    }
    /// The unique id of the channel.
    pub fn get_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.id
    }
    /// Appends an item to `input_attachments`.
    ///
    /// To override the contents of this collection use [`set_input_attachments`](Self::set_input_attachments).
    ///
    /// List of input attachments for channel.
    pub fn input_attachments(mut self, input: crate::types::InputAttachment) -> Self {
        let mut v = self.input_attachments.unwrap_or_default();
        v.push(input);
        self.input_attachments = ::std::option::Option::Some(v);
        self
    }
    /// List of input attachments for channel.
    pub fn set_input_attachments(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::InputAttachment>>) -> Self {
        self.input_attachments = input;
        self
    }
    /// List of input attachments for channel.
    pub fn get_input_attachments(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::InputAttachment>> {
        &self.input_attachments
    }
    /// Specification of network and file inputs for this channel
    pub fn input_specification(mut self, input: crate::types::InputSpecification) -> Self {
        self.input_specification = ::std::option::Option::Some(input);
        self
    }
    /// Specification of network and file inputs for this channel
    pub fn set_input_specification(mut self, input: ::std::option::Option<crate::types::InputSpecification>) -> Self {
        self.input_specification = input;
        self
    }
    /// Specification of network and file inputs for this channel
    pub fn get_input_specification(&self) -> &::std::option::Option<crate::types::InputSpecification> {
        &self.input_specification
    }
    /// The log level being written to CloudWatch Logs.
    pub fn log_level(mut self, input: crate::types::LogLevel) -> Self {
        self.log_level = ::std::option::Option::Some(input);
        self
    }
    /// The log level being written to CloudWatch Logs.
    pub fn set_log_level(mut self, input: ::std::option::Option<crate::types::LogLevel>) -> Self {
        self.log_level = input;
        self
    }
    /// The log level being written to CloudWatch Logs.
    pub fn get_log_level(&self) -> &::std::option::Option<crate::types::LogLevel> {
        &self.log_level
    }
    /// Maintenance settings for this channel.
    pub fn maintenance(mut self, input: crate::types::MaintenanceStatus) -> Self {
        self.maintenance = ::std::option::Option::Some(input);
        self
    }
    /// Maintenance settings for this channel.
    pub fn set_maintenance(mut self, input: ::std::option::Option<crate::types::MaintenanceStatus>) -> Self {
        self.maintenance = input;
        self
    }
    /// Maintenance settings for this channel.
    pub fn get_maintenance(&self) -> &::std::option::Option<crate::types::MaintenanceStatus> {
        &self.maintenance
    }
    /// The name of the channel. (user-mutable)
    pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.name = ::std::option::Option::Some(input.into());
        self
    }
    /// The name of the channel. (user-mutable)
    pub fn set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.name = input;
        self
    }
    /// The name of the channel. (user-mutable)
    pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.name
    }
    /// Appends an item to `pipeline_details`.
    ///
    /// To override the contents of this collection use [`set_pipeline_details`](Self::set_pipeline_details).
    ///
    /// Runtime details for the pipelines of a running channel.
    pub fn pipeline_details(mut self, input: crate::types::PipelineDetail) -> Self {
        let mut v = self.pipeline_details.unwrap_or_default();
        v.push(input);
        self.pipeline_details = ::std::option::Option::Some(v);
        self
    }
    /// Runtime details for the pipelines of a running channel.
    pub fn set_pipeline_details(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::PipelineDetail>>) -> Self {
        self.pipeline_details = input;
        self
    }
    /// Runtime details for the pipelines of a running channel.
    pub fn get_pipeline_details(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::PipelineDetail>> {
        &self.pipeline_details
    }
    /// The number of currently healthy pipelines.
    pub fn pipelines_running_count(mut self, input: i32) -> Self {
        self.pipelines_running_count = ::std::option::Option::Some(input);
        self
    }
    /// The number of currently healthy pipelines.
    pub fn set_pipelines_running_count(mut self, input: ::std::option::Option<i32>) -> Self {
        self.pipelines_running_count = input;
        self
    }
    /// The number of currently healthy pipelines.
    pub fn get_pipelines_running_count(&self) -> &::std::option::Option<i32> {
        &self.pipelines_running_count
    }
    /// The Amazon Resource Name (ARN) of the role assumed when running the Channel.
    pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.role_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// The Amazon Resource Name (ARN) of the role assumed when running the Channel.
    pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.role_arn = input;
        self
    }
    /// The Amazon Resource Name (ARN) of the role assumed when running the Channel.
    pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.role_arn
    }
    /// Placeholder documentation for ChannelState
    pub fn state(mut self, input: crate::types::ChannelState) -> Self {
        self.state = ::std::option::Option::Some(input);
        self
    }
    /// Placeholder documentation for ChannelState
    pub fn set_state(mut self, input: ::std::option::Option<crate::types::ChannelState>) -> Self {
        self.state = input;
        self
    }
    /// Placeholder documentation for ChannelState
    pub fn get_state(&self) -> &::std::option::Option<crate::types::ChannelState> {
        &self.state
    }
    /// Adds a key-value pair to `tags`.
    ///
    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
    ///
    /// A collection of key-value pairs.
    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
    }
    /// A collection of key-value pairs.
    pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
        self.tags = input;
        self
    }
    /// A collection of key-value pairs.
    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        &self.tags
    }
    /// Settings for VPC output
    pub fn vpc(mut self, input: crate::types::VpcOutputSettingsDescription) -> Self {
        self.vpc = ::std::option::Option::Some(input);
        self
    }
    /// Settings for VPC output
    pub fn set_vpc(mut self, input: ::std::option::Option<crate::types::VpcOutputSettingsDescription>) -> Self {
        self.vpc = input;
        self
    }
    /// Settings for VPC output
    pub fn get_vpc(&self) -> &::std::option::Option<crate::types::VpcOutputSettingsDescription> {
        &self.vpc
    }
    /// Anywhere settings for this channel.
    pub fn anywhere_settings(mut self, input: crate::types::DescribeAnywhereSettings) -> Self {
        self.anywhere_settings = ::std::option::Option::Some(input);
        self
    }
    /// Anywhere settings for this channel.
    pub fn set_anywhere_settings(mut self, input: ::std::option::Option<crate::types::DescribeAnywhereSettings>) -> Self {
        self.anywhere_settings = input;
        self
    }
    /// Anywhere settings for this channel.
    pub fn get_anywhere_settings(&self) -> &::std::option::Option<crate::types::DescribeAnywhereSettings> {
        &self.anywhere_settings
    }
    /// Requested engine version for this channel.
    pub fn channel_engine_version(mut self, input: crate::types::ChannelEngineVersionResponse) -> Self {
        self.channel_engine_version = ::std::option::Option::Some(input);
        self
    }
    /// Requested engine version for this channel.
    pub fn set_channel_engine_version(mut self, input: ::std::option::Option<crate::types::ChannelEngineVersionResponse>) -> Self {
        self.channel_engine_version = input;
        self
    }
    /// Requested engine version for this channel.
    pub fn get_channel_engine_version(&self) -> &::std::option::Option<crate::types::ChannelEngineVersionResponse> {
        &self.channel_engine_version
    }
    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 [`StopChannelOutput`](crate::operation::stop_channel::StopChannelOutput).
    pub fn build(self) -> crate::operation::stop_channel::StopChannelOutput {
        crate::operation::stop_channel::StopChannelOutput {
            arn: self.arn,
            cdi_input_specification: self.cdi_input_specification,
            channel_class: self.channel_class,
            destinations: self.destinations,
            egress_endpoints: self.egress_endpoints,
            encoder_settings: self.encoder_settings,
            id: self.id,
            input_attachments: self.input_attachments,
            input_specification: self.input_specification,
            log_level: self.log_level,
            maintenance: self.maintenance,
            name: self.name,
            pipeline_details: self.pipeline_details,
            pipelines_running_count: self.pipelines_running_count,
            role_arn: self.role_arn,
            state: self.state,
            tags: self.tags,
            vpc: self.vpc,
            anywhere_settings: self.anywhere_settings,
            channel_engine_version: self.channel_engine_version,
            _request_id: self._request_id,
        }
    }
}