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
// 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 StartDeploymentOutput {
    /// <p>The ID of the application that was deployed.</p>
    pub application_id: ::std::option::Option<::std::string::String>,
    /// <p>The ID of the environment that was deployed.</p>
    pub environment_id: ::std::option::Option<::std::string::String>,
    /// <p>The ID of the deployment strategy that was deployed.</p>
    pub deployment_strategy_id: ::std::option::Option<::std::string::String>,
    /// <p>The ID of the configuration profile that was deployed.</p>
    pub configuration_profile_id: ::std::option::Option<::std::string::String>,
    /// <p>The sequence number of the deployment.</p>
    pub deployment_number: i32,
    /// <p>The name of the configuration.</p>
    pub configuration_name: ::std::option::Option<::std::string::String>,
    /// <p>Information about the source location of the configuration.</p>
    pub configuration_location_uri: ::std::option::Option<::std::string::String>,
    /// <p>The configuration version that was deployed.</p>
    pub configuration_version: ::std::option::Option<::std::string::String>,
    /// <p>The description of the deployment.</p>
    pub description: ::std::option::Option<::std::string::String>,
    /// <p>Total amount of time the deployment lasted.</p>
    pub deployment_duration_in_minutes: i32,
    /// <p>The algorithm used to define how percentage grew over time.</p>
    pub growth_type: ::std::option::Option<crate::types::GrowthType>,
    /// <p>The percentage of targets to receive a deployed configuration during each interval.</p>
    pub growth_factor: f32,
    /// <p>The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.</p>
    pub final_bake_time_in_minutes: i32,
    /// <p>The state of the deployment.</p>
    pub state: ::std::option::Option<crate::types::DeploymentState>,
    /// <p>A list containing all events related to a deployment. The most recent events are displayed first.</p>
    pub event_log: ::std::option::Option<::std::vec::Vec<crate::types::DeploymentEvent>>,
    /// <p>The percentage of targets for which the deployment is available.</p>
    pub percentage_complete: f32,
    /// <p>The time the deployment started.</p>
    pub started_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The time the deployment completed. </p>
    pub completed_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when <code>StartDeployment</code> was called.</p>
    pub applied_extensions: ::std::option::Option<::std::vec::Vec<crate::types::AppliedExtension>>,
    /// <p>The Amazon Resource Name of the Key Management Service key used to encrypt configuration data. You can encrypt secrets stored in Secrets Manager, Amazon Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure string parameters stored in Amazon Web Services Systems Manager Parameter Store. </p>
    pub kms_key_arn: ::std::option::Option<::std::string::String>,
    /// <p>The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to encrypt the configuration data using a customer managed key. </p>
    pub kms_key_identifier: ::std::option::Option<::std::string::String>,
    _request_id: Option<String>,
}
impl StartDeploymentOutput {
    /// <p>The ID of the application that was deployed.</p>
    pub fn application_id(&self) -> ::std::option::Option<&str> {
        self.application_id.as_deref()
    }
    /// <p>The ID of the environment that was deployed.</p>
    pub fn environment_id(&self) -> ::std::option::Option<&str> {
        self.environment_id.as_deref()
    }
    /// <p>The ID of the deployment strategy that was deployed.</p>
    pub fn deployment_strategy_id(&self) -> ::std::option::Option<&str> {
        self.deployment_strategy_id.as_deref()
    }
    /// <p>The ID of the configuration profile that was deployed.</p>
    pub fn configuration_profile_id(&self) -> ::std::option::Option<&str> {
        self.configuration_profile_id.as_deref()
    }
    /// <p>The sequence number of the deployment.</p>
    pub fn deployment_number(&self) -> i32 {
        self.deployment_number
    }
    /// <p>The name of the configuration.</p>
    pub fn configuration_name(&self) -> ::std::option::Option<&str> {
        self.configuration_name.as_deref()
    }
    /// <p>Information about the source location of the configuration.</p>
    pub fn configuration_location_uri(&self) -> ::std::option::Option<&str> {
        self.configuration_location_uri.as_deref()
    }
    /// <p>The configuration version that was deployed.</p>
    pub fn configuration_version(&self) -> ::std::option::Option<&str> {
        self.configuration_version.as_deref()
    }
    /// <p>The description of the deployment.</p>
    pub fn description(&self) -> ::std::option::Option<&str> {
        self.description.as_deref()
    }
    /// <p>Total amount of time the deployment lasted.</p>
    pub fn deployment_duration_in_minutes(&self) -> i32 {
        self.deployment_duration_in_minutes
    }
    /// <p>The algorithm used to define how percentage grew over time.</p>
    pub fn growth_type(&self) -> ::std::option::Option<&crate::types::GrowthType> {
        self.growth_type.as_ref()
    }
    /// <p>The percentage of targets to receive a deployed configuration during each interval.</p>
    pub fn growth_factor(&self) -> f32 {
        self.growth_factor
    }
    /// <p>The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.</p>
    pub fn final_bake_time_in_minutes(&self) -> i32 {
        self.final_bake_time_in_minutes
    }
    /// <p>The state of the deployment.</p>
    pub fn state(&self) -> ::std::option::Option<&crate::types::DeploymentState> {
        self.state.as_ref()
    }
    /// <p>A list containing all events related to a deployment. The most recent events are displayed first.</p>
    pub fn event_log(&self) -> ::std::option::Option<&[crate::types::DeploymentEvent]> {
        self.event_log.as_deref()
    }
    /// <p>The percentage of targets for which the deployment is available.</p>
    pub fn percentage_complete(&self) -> f32 {
        self.percentage_complete
    }
    /// <p>The time the deployment started.</p>
    pub fn started_at(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.started_at.as_ref()
    }
    /// <p>The time the deployment completed. </p>
    pub fn completed_at(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.completed_at.as_ref()
    }
    /// <p>A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when <code>StartDeployment</code> was called.</p>
    pub fn applied_extensions(&self) -> ::std::option::Option<&[crate::types::AppliedExtension]> {
        self.applied_extensions.as_deref()
    }
    /// <p>The Amazon Resource Name of the Key Management Service key used to encrypt configuration data. You can encrypt secrets stored in Secrets Manager, Amazon Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure string parameters stored in Amazon Web Services Systems Manager Parameter Store. </p>
    pub fn kms_key_arn(&self) -> ::std::option::Option<&str> {
        self.kms_key_arn.as_deref()
    }
    /// <p>The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to encrypt the configuration data using a customer managed key. </p>
    pub fn kms_key_identifier(&self) -> ::std::option::Option<&str> {
        self.kms_key_identifier.as_deref()
    }
}
impl ::aws_http::request_id::RequestId for StartDeploymentOutput {
    fn request_id(&self) -> Option<&str> {
        self._request_id.as_deref()
    }
}
impl StartDeploymentOutput {
    /// Creates a new builder-style object to manufacture [`StartDeploymentOutput`](crate::operation::start_deployment::StartDeploymentOutput).
    pub fn builder() -> crate::operation::start_deployment::builders::StartDeploymentOutputBuilder {
        crate::operation::start_deployment::builders::StartDeploymentOutputBuilder::default()
    }
}

/// A builder for [`StartDeploymentOutput`](crate::operation::start_deployment::StartDeploymentOutput).
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct StartDeploymentOutputBuilder {
    pub(crate) application_id: ::std::option::Option<::std::string::String>,
    pub(crate) environment_id: ::std::option::Option<::std::string::String>,
    pub(crate) deployment_strategy_id: ::std::option::Option<::std::string::String>,
    pub(crate) configuration_profile_id: ::std::option::Option<::std::string::String>,
    pub(crate) deployment_number: ::std::option::Option<i32>,
    pub(crate) configuration_name: ::std::option::Option<::std::string::String>,
    pub(crate) configuration_location_uri: ::std::option::Option<::std::string::String>,
    pub(crate) configuration_version: ::std::option::Option<::std::string::String>,
    pub(crate) description: ::std::option::Option<::std::string::String>,
    pub(crate) deployment_duration_in_minutes: ::std::option::Option<i32>,
    pub(crate) growth_type: ::std::option::Option<crate::types::GrowthType>,
    pub(crate) growth_factor: ::std::option::Option<f32>,
    pub(crate) final_bake_time_in_minutes: ::std::option::Option<i32>,
    pub(crate) state: ::std::option::Option<crate::types::DeploymentState>,
    pub(crate) event_log: ::std::option::Option<::std::vec::Vec<crate::types::DeploymentEvent>>,
    pub(crate) percentage_complete: ::std::option::Option<f32>,
    pub(crate) started_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) completed_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) applied_extensions: ::std::option::Option<::std::vec::Vec<crate::types::AppliedExtension>>,
    pub(crate) kms_key_arn: ::std::option::Option<::std::string::String>,
    pub(crate) kms_key_identifier: ::std::option::Option<::std::string::String>,
    _request_id: Option<String>,
}
impl StartDeploymentOutputBuilder {
    /// <p>The ID of the application that was deployed.</p>
    pub fn application_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.application_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ID of the application that was deployed.</p>
    pub fn set_application_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.application_id = input;
        self
    }
    /// <p>The ID of the application that was deployed.</p>
    pub fn get_application_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.application_id
    }
    /// <p>The ID of the environment that was deployed.</p>
    pub fn environment_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.environment_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ID of the environment that was deployed.</p>
    pub fn set_environment_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.environment_id = input;
        self
    }
    /// <p>The ID of the environment that was deployed.</p>
    pub fn get_environment_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.environment_id
    }
    /// <p>The ID of the deployment strategy that was deployed.</p>
    pub fn deployment_strategy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.deployment_strategy_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ID of the deployment strategy that was deployed.</p>
    pub fn set_deployment_strategy_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.deployment_strategy_id = input;
        self
    }
    /// <p>The ID of the deployment strategy that was deployed.</p>
    pub fn get_deployment_strategy_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.deployment_strategy_id
    }
    /// <p>The ID of the configuration profile that was deployed.</p>
    pub fn configuration_profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.configuration_profile_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ID of the configuration profile that was deployed.</p>
    pub fn set_configuration_profile_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.configuration_profile_id = input;
        self
    }
    /// <p>The ID of the configuration profile that was deployed.</p>
    pub fn get_configuration_profile_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.configuration_profile_id
    }
    /// <p>The sequence number of the deployment.</p>
    pub fn deployment_number(mut self, input: i32) -> Self {
        self.deployment_number = ::std::option::Option::Some(input);
        self
    }
    /// <p>The sequence number of the deployment.</p>
    pub fn set_deployment_number(mut self, input: ::std::option::Option<i32>) -> Self {
        self.deployment_number = input;
        self
    }
    /// <p>The sequence number of the deployment.</p>
    pub fn get_deployment_number(&self) -> &::std::option::Option<i32> {
        &self.deployment_number
    }
    /// <p>The name of the configuration.</p>
    pub fn configuration_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.configuration_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The name of the configuration.</p>
    pub fn set_configuration_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.configuration_name = input;
        self
    }
    /// <p>The name of the configuration.</p>
    pub fn get_configuration_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.configuration_name
    }
    /// <p>Information about the source location of the configuration.</p>
    pub fn configuration_location_uri(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.configuration_location_uri = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>Information about the source location of the configuration.</p>
    pub fn set_configuration_location_uri(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.configuration_location_uri = input;
        self
    }
    /// <p>Information about the source location of the configuration.</p>
    pub fn get_configuration_location_uri(&self) -> &::std::option::Option<::std::string::String> {
        &self.configuration_location_uri
    }
    /// <p>The configuration version that was deployed.</p>
    pub fn configuration_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.configuration_version = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The configuration version that was deployed.</p>
    pub fn set_configuration_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.configuration_version = input;
        self
    }
    /// <p>The configuration version that was deployed.</p>
    pub fn get_configuration_version(&self) -> &::std::option::Option<::std::string::String> {
        &self.configuration_version
    }
    /// <p>The description of the deployment.</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 deployment.</p>
    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.description = input;
        self
    }
    /// <p>The description of the deployment.</p>
    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
        &self.description
    }
    /// <p>Total amount of time the deployment lasted.</p>
    pub fn deployment_duration_in_minutes(mut self, input: i32) -> Self {
        self.deployment_duration_in_minutes = ::std::option::Option::Some(input);
        self
    }
    /// <p>Total amount of time the deployment lasted.</p>
    pub fn set_deployment_duration_in_minutes(mut self, input: ::std::option::Option<i32>) -> Self {
        self.deployment_duration_in_minutes = input;
        self
    }
    /// <p>Total amount of time the deployment lasted.</p>
    pub fn get_deployment_duration_in_minutes(&self) -> &::std::option::Option<i32> {
        &self.deployment_duration_in_minutes
    }
    /// <p>The algorithm used to define how percentage grew over time.</p>
    pub fn growth_type(mut self, input: crate::types::GrowthType) -> Self {
        self.growth_type = ::std::option::Option::Some(input);
        self
    }
    /// <p>The algorithm used to define how percentage grew over time.</p>
    pub fn set_growth_type(mut self, input: ::std::option::Option<crate::types::GrowthType>) -> Self {
        self.growth_type = input;
        self
    }
    /// <p>The algorithm used to define how percentage grew over time.</p>
    pub fn get_growth_type(&self) -> &::std::option::Option<crate::types::GrowthType> {
        &self.growth_type
    }
    /// <p>The percentage of targets to receive a deployed configuration during each interval.</p>
    pub fn growth_factor(mut self, input: f32) -> Self {
        self.growth_factor = ::std::option::Option::Some(input);
        self
    }
    /// <p>The percentage of targets to receive a deployed configuration during each interval.</p>
    pub fn set_growth_factor(mut self, input: ::std::option::Option<f32>) -> Self {
        self.growth_factor = input;
        self
    }
    /// <p>The percentage of targets to receive a deployed configuration during each interval.</p>
    pub fn get_growth_factor(&self) -> &::std::option::Option<f32> {
        &self.growth_factor
    }
    /// <p>The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.</p>
    pub fn final_bake_time_in_minutes(mut self, input: i32) -> Self {
        self.final_bake_time_in_minutes = ::std::option::Option::Some(input);
        self
    }
    /// <p>The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.</p>
    pub fn set_final_bake_time_in_minutes(mut self, input: ::std::option::Option<i32>) -> Self {
        self.final_bake_time_in_minutes = input;
        self
    }
    /// <p>The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.</p>
    pub fn get_final_bake_time_in_minutes(&self) -> &::std::option::Option<i32> {
        &self.final_bake_time_in_minutes
    }
    /// <p>The state of the deployment.</p>
    pub fn state(mut self, input: crate::types::DeploymentState) -> Self {
        self.state = ::std::option::Option::Some(input);
        self
    }
    /// <p>The state of the deployment.</p>
    pub fn set_state(mut self, input: ::std::option::Option<crate::types::DeploymentState>) -> Self {
        self.state = input;
        self
    }
    /// <p>The state of the deployment.</p>
    pub fn get_state(&self) -> &::std::option::Option<crate::types::DeploymentState> {
        &self.state
    }
    /// Appends an item to `event_log`.
    ///
    /// To override the contents of this collection use [`set_event_log`](Self::set_event_log).
    ///
    /// <p>A list containing all events related to a deployment. The most recent events are displayed first.</p>
    pub fn event_log(mut self, input: crate::types::DeploymentEvent) -> Self {
        let mut v = self.event_log.unwrap_or_default();
        v.push(input);
        self.event_log = ::std::option::Option::Some(v);
        self
    }
    /// <p>A list containing all events related to a deployment. The most recent events are displayed first.</p>
    pub fn set_event_log(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::DeploymentEvent>>) -> Self {
        self.event_log = input;
        self
    }
    /// <p>A list containing all events related to a deployment. The most recent events are displayed first.</p>
    pub fn get_event_log(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::DeploymentEvent>> {
        &self.event_log
    }
    /// <p>The percentage of targets for which the deployment is available.</p>
    pub fn percentage_complete(mut self, input: f32) -> Self {
        self.percentage_complete = ::std::option::Option::Some(input);
        self
    }
    /// <p>The percentage of targets for which the deployment is available.</p>
    pub fn set_percentage_complete(mut self, input: ::std::option::Option<f32>) -> Self {
        self.percentage_complete = input;
        self
    }
    /// <p>The percentage of targets for which the deployment is available.</p>
    pub fn get_percentage_complete(&self) -> &::std::option::Option<f32> {
        &self.percentage_complete
    }
    /// <p>The time the deployment started.</p>
    pub fn started_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.started_at = ::std::option::Option::Some(input);
        self
    }
    /// <p>The time the deployment started.</p>
    pub fn set_started_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.started_at = input;
        self
    }
    /// <p>The time the deployment started.</p>
    pub fn get_started_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.started_at
    }
    /// <p>The time the deployment completed. </p>
    pub fn completed_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.completed_at = ::std::option::Option::Some(input);
        self
    }
    /// <p>The time the deployment completed. </p>
    pub fn set_completed_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.completed_at = input;
        self
    }
    /// <p>The time the deployment completed. </p>
    pub fn get_completed_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.completed_at
    }
    /// Appends an item to `applied_extensions`.
    ///
    /// To override the contents of this collection use [`set_applied_extensions`](Self::set_applied_extensions).
    ///
    /// <p>A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when <code>StartDeployment</code> was called.</p>
    pub fn applied_extensions(mut self, input: crate::types::AppliedExtension) -> Self {
        let mut v = self.applied_extensions.unwrap_or_default();
        v.push(input);
        self.applied_extensions = ::std::option::Option::Some(v);
        self
    }
    /// <p>A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when <code>StartDeployment</code> was called.</p>
    pub fn set_applied_extensions(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::AppliedExtension>>) -> Self {
        self.applied_extensions = input;
        self
    }
    /// <p>A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when <code>StartDeployment</code> was called.</p>
    pub fn get_applied_extensions(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::AppliedExtension>> {
        &self.applied_extensions
    }
    /// <p>The Amazon Resource Name of the Key Management Service key used to encrypt configuration data. You can encrypt secrets stored in Secrets Manager, Amazon Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure string parameters stored in Amazon Web Services Systems Manager Parameter Store. </p>
    pub fn kms_key_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.kms_key_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Resource Name of the Key Management Service key used to encrypt configuration data. You can encrypt secrets stored in Secrets Manager, Amazon Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure string parameters stored in Amazon Web Services Systems Manager Parameter Store. </p>
    pub fn set_kms_key_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.kms_key_arn = input;
        self
    }
    /// <p>The Amazon Resource Name of the Key Management Service key used to encrypt configuration data. You can encrypt secrets stored in Secrets Manager, Amazon Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure string parameters stored in Amazon Web Services Systems Manager Parameter Store. </p>
    pub fn get_kms_key_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.kms_key_arn
    }
    /// <p>The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to encrypt the configuration data using a customer managed key. </p>
    pub fn kms_key_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.kms_key_identifier = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to encrypt the configuration data using a customer managed key. </p>
    pub fn set_kms_key_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.kms_key_identifier = input;
        self
    }
    /// <p>The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to encrypt the configuration data using a customer managed key. </p>
    pub fn get_kms_key_identifier(&self) -> &::std::option::Option<::std::string::String> {
        &self.kms_key_identifier
    }
    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 [`StartDeploymentOutput`](crate::operation::start_deployment::StartDeploymentOutput).
    pub fn build(self) -> crate::operation::start_deployment::StartDeploymentOutput {
        crate::operation::start_deployment::StartDeploymentOutput {
            application_id: self.application_id,
            environment_id: self.environment_id,
            deployment_strategy_id: self.deployment_strategy_id,
            configuration_profile_id: self.configuration_profile_id,
            deployment_number: self.deployment_number.unwrap_or_default(),
            configuration_name: self.configuration_name,
            configuration_location_uri: self.configuration_location_uri,
            configuration_version: self.configuration_version,
            description: self.description,
            deployment_duration_in_minutes: self.deployment_duration_in_minutes.unwrap_or_default(),
            growth_type: self.growth_type,
            growth_factor: self.growth_factor.unwrap_or_default(),
            final_bake_time_in_minutes: self.final_bake_time_in_minutes.unwrap_or_default(),
            state: self.state,
            event_log: self.event_log,
            percentage_complete: self.percentage_complete.unwrap_or_default(),
            started_at: self.started_at,
            completed_at: self.completed_at,
            applied_extensions: self.applied_extensions,
            kms_key_arn: self.kms_key_arn,
            kms_key_identifier: self.kms_key_identifier,
            _request_id: self._request_id,
        }
    }
}