aws-sdk-outposts 1.116.0

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

/// <p>Information about a quote for an Outpost. A quote provides pricing and configuration options based on the requested capacity.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq)]
pub struct Quote {
    /// <p>The ID of the quote.</p>
    pub quote_id: ::std::option::Option<::std::string::String>,
    /// <p>The ID of the account that owns the quote.</p>
    pub account_id: ::std::option::Option<::std::string::String>,
    /// <p>The status of the quote.</p>
    /// <ul>
    /// <li>
    /// <p><code>CREATED</code> - The quote has been created and is available for review.</p></li>
    /// <li>
    /// <p><code>ORDER_SUBMITTED</code> - An order has been submitted for the quote.</p></li>
    /// <li>
    /// <p><code>EXPIRED</code> - The quote has expired and can no longer be used to submit an order.</p></li>
    /// </ul>
    pub quote_status: ::std::option::Option<crate::types::QuoteStatus>,
    /// <p>A message about the status of the quote.</p>
    pub status_message: ::std::option::Option<::std::string::String>,
    /// <p>The ARN of the Outpost associated with the quote.</p>
    pub outpost_arn: ::std::option::Option<::std::string::String>,
    /// <p>The country code for the Outpost site location.</p>
    pub country_code: ::std::option::Option<::std::string::String>,
    /// <p>The capacity requirements specified in the quote request.</p>
    pub requested_capacities: ::std::option::Option<::std::vec::Vec<crate::types::QuoteCapacity>>,
    /// <p>The physical constraints specified in the quote request.</p>
    pub requested_constraints: ::std::option::Option<::std::vec::Vec<crate::types::QuoteConstraint>>,
    /// <p>The payment options specified in the quote request.</p>
    pub requested_payment_options: ::std::option::Option<::std::vec::Vec<crate::types::PaymentOption>>,
    /// <p>The payment terms specified in the quote request.</p>
    pub requested_payment_terms: ::std::option::Option<::std::vec::Vec<crate::types::PaymentTerm>>,
    /// <p>The configuration and pricing options for the quote. Each option includes capacity details, physical specifications, and pricing information.</p>
    pub quote_options: ::std::option::Option<::std::vec::Vec<crate::types::QuoteOption>>,
    /// <p>The requirements that must be met before an order can be submitted for the quote.</p>
    pub ordering_requirements: ::std::option::Option<::std::vec::Vec<crate::types::OrderingRequirement>>,
    /// <p>The ID of the order submitted for the quote.</p>
    pub submitted_order_id: ::std::option::Option<::std::string::String>,
    /// <p>The date the quote was created.</p>
    pub created_date: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The date the quote expires.</p>
    pub expiration_date: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The description of the quote.</p>
    pub description: ::std::option::Option<::std::string::String>,
}
impl Quote {
    /// <p>The ID of the quote.</p>
    pub fn quote_id(&self) -> ::std::option::Option<&str> {
        self.quote_id.as_deref()
    }
    /// <p>The ID of the account that owns the quote.</p>
    pub fn account_id(&self) -> ::std::option::Option<&str> {
        self.account_id.as_deref()
    }
    /// <p>The status of the quote.</p>
    /// <ul>
    /// <li>
    /// <p><code>CREATED</code> - The quote has been created and is available for review.</p></li>
    /// <li>
    /// <p><code>ORDER_SUBMITTED</code> - An order has been submitted for the quote.</p></li>
    /// <li>
    /// <p><code>EXPIRED</code> - The quote has expired and can no longer be used to submit an order.</p></li>
    /// </ul>
    pub fn quote_status(&self) -> ::std::option::Option<&crate::types::QuoteStatus> {
        self.quote_status.as_ref()
    }
    /// <p>A message about the status of the quote.</p>
    pub fn status_message(&self) -> ::std::option::Option<&str> {
        self.status_message.as_deref()
    }
    /// <p>The ARN of the Outpost associated with the quote.</p>
    pub fn outpost_arn(&self) -> ::std::option::Option<&str> {
        self.outpost_arn.as_deref()
    }
    /// <p>The country code for the Outpost site location.</p>
    pub fn country_code(&self) -> ::std::option::Option<&str> {
        self.country_code.as_deref()
    }
    /// <p>The capacity requirements specified in the quote request.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.requested_capacities.is_none()`.
    pub fn requested_capacities(&self) -> &[crate::types::QuoteCapacity] {
        self.requested_capacities.as_deref().unwrap_or_default()
    }
    /// <p>The physical constraints specified in the quote request.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.requested_constraints.is_none()`.
    pub fn requested_constraints(&self) -> &[crate::types::QuoteConstraint] {
        self.requested_constraints.as_deref().unwrap_or_default()
    }
    /// <p>The payment options specified in the quote request.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.requested_payment_options.is_none()`.
    pub fn requested_payment_options(&self) -> &[crate::types::PaymentOption] {
        self.requested_payment_options.as_deref().unwrap_or_default()
    }
    /// <p>The payment terms specified in the quote request.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.requested_payment_terms.is_none()`.
    pub fn requested_payment_terms(&self) -> &[crate::types::PaymentTerm] {
        self.requested_payment_terms.as_deref().unwrap_or_default()
    }
    /// <p>The configuration and pricing options for the quote. Each option includes capacity details, physical specifications, and pricing information.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.quote_options.is_none()`.
    pub fn quote_options(&self) -> &[crate::types::QuoteOption] {
        self.quote_options.as_deref().unwrap_or_default()
    }
    /// <p>The requirements that must be met before an order can be submitted for the quote.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.ordering_requirements.is_none()`.
    pub fn ordering_requirements(&self) -> &[crate::types::OrderingRequirement] {
        self.ordering_requirements.as_deref().unwrap_or_default()
    }
    /// <p>The ID of the order submitted for the quote.</p>
    pub fn submitted_order_id(&self) -> ::std::option::Option<&str> {
        self.submitted_order_id.as_deref()
    }
    /// <p>The date the quote was created.</p>
    pub fn created_date(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.created_date.as_ref()
    }
    /// <p>The date the quote expires.</p>
    pub fn expiration_date(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.expiration_date.as_ref()
    }
    /// <p>The description of the quote.</p>
    pub fn description(&self) -> ::std::option::Option<&str> {
        self.description.as_deref()
    }
}
impl ::std::fmt::Debug for Quote {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        let mut formatter = f.debug_struct("Quote");
        formatter.field("quote_id", &self.quote_id);
        formatter.field("account_id", &self.account_id);
        formatter.field("quote_status", &self.quote_status);
        formatter.field("status_message", &self.status_message);
        formatter.field("outpost_arn", &self.outpost_arn);
        formatter.field("country_code", &self.country_code);
        formatter.field("requested_capacities", &self.requested_capacities);
        formatter.field("requested_constraints", &self.requested_constraints);
        formatter.field("requested_payment_options", &self.requested_payment_options);
        formatter.field("requested_payment_terms", &self.requested_payment_terms);
        formatter.field("quote_options", &self.quote_options);
        formatter.field("ordering_requirements", &self.ordering_requirements);
        formatter.field("submitted_order_id", &self.submitted_order_id);
        formatter.field("created_date", &self.created_date);
        formatter.field("expiration_date", &self.expiration_date);
        formatter.field("description", &"*** Sensitive Data Redacted ***");
        formatter.finish()
    }
}
impl Quote {
    /// Creates a new builder-style object to manufacture [`Quote`](crate::types::Quote).
    pub fn builder() -> crate::types::builders::QuoteBuilder {
        crate::types::builders::QuoteBuilder::default()
    }
}

/// A builder for [`Quote`](crate::types::Quote).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default)]
#[non_exhaustive]
pub struct QuoteBuilder {
    pub(crate) quote_id: ::std::option::Option<::std::string::String>,
    pub(crate) account_id: ::std::option::Option<::std::string::String>,
    pub(crate) quote_status: ::std::option::Option<crate::types::QuoteStatus>,
    pub(crate) status_message: ::std::option::Option<::std::string::String>,
    pub(crate) outpost_arn: ::std::option::Option<::std::string::String>,
    pub(crate) country_code: ::std::option::Option<::std::string::String>,
    pub(crate) requested_capacities: ::std::option::Option<::std::vec::Vec<crate::types::QuoteCapacity>>,
    pub(crate) requested_constraints: ::std::option::Option<::std::vec::Vec<crate::types::QuoteConstraint>>,
    pub(crate) requested_payment_options: ::std::option::Option<::std::vec::Vec<crate::types::PaymentOption>>,
    pub(crate) requested_payment_terms: ::std::option::Option<::std::vec::Vec<crate::types::PaymentTerm>>,
    pub(crate) quote_options: ::std::option::Option<::std::vec::Vec<crate::types::QuoteOption>>,
    pub(crate) ordering_requirements: ::std::option::Option<::std::vec::Vec<crate::types::OrderingRequirement>>,
    pub(crate) submitted_order_id: ::std::option::Option<::std::string::String>,
    pub(crate) created_date: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) expiration_date: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) description: ::std::option::Option<::std::string::String>,
}
impl QuoteBuilder {
    /// <p>The ID of the quote.</p>
    pub fn quote_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.quote_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ID of the quote.</p>
    pub fn set_quote_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.quote_id = input;
        self
    }
    /// <p>The ID of the quote.</p>
    pub fn get_quote_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.quote_id
    }
    /// <p>The ID of the account that owns the quote.</p>
    pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.account_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ID of the account that owns the quote.</p>
    pub fn set_account_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.account_id = input;
        self
    }
    /// <p>The ID of the account that owns the quote.</p>
    pub fn get_account_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.account_id
    }
    /// <p>The status of the quote.</p>
    /// <ul>
    /// <li>
    /// <p><code>CREATED</code> - The quote has been created and is available for review.</p></li>
    /// <li>
    /// <p><code>ORDER_SUBMITTED</code> - An order has been submitted for the quote.</p></li>
    /// <li>
    /// <p><code>EXPIRED</code> - The quote has expired and can no longer be used to submit an order.</p></li>
    /// </ul>
    pub fn quote_status(mut self, input: crate::types::QuoteStatus) -> Self {
        self.quote_status = ::std::option::Option::Some(input);
        self
    }
    /// <p>The status of the quote.</p>
    /// <ul>
    /// <li>
    /// <p><code>CREATED</code> - The quote has been created and is available for review.</p></li>
    /// <li>
    /// <p><code>ORDER_SUBMITTED</code> - An order has been submitted for the quote.</p></li>
    /// <li>
    /// <p><code>EXPIRED</code> - The quote has expired and can no longer be used to submit an order.</p></li>
    /// </ul>
    pub fn set_quote_status(mut self, input: ::std::option::Option<crate::types::QuoteStatus>) -> Self {
        self.quote_status = input;
        self
    }
    /// <p>The status of the quote.</p>
    /// <ul>
    /// <li>
    /// <p><code>CREATED</code> - The quote has been created and is available for review.</p></li>
    /// <li>
    /// <p><code>ORDER_SUBMITTED</code> - An order has been submitted for the quote.</p></li>
    /// <li>
    /// <p><code>EXPIRED</code> - The quote has expired and can no longer be used to submit an order.</p></li>
    /// </ul>
    pub fn get_quote_status(&self) -> &::std::option::Option<crate::types::QuoteStatus> {
        &self.quote_status
    }
    /// <p>A message about the status of the quote.</p>
    pub fn status_message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.status_message = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>A message about the status of the quote.</p>
    pub fn set_status_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.status_message = input;
        self
    }
    /// <p>A message about the status of the quote.</p>
    pub fn get_status_message(&self) -> &::std::option::Option<::std::string::String> {
        &self.status_message
    }
    /// <p>The ARN of the Outpost associated with the quote.</p>
    pub fn outpost_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.outpost_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ARN of the Outpost associated with the quote.</p>
    pub fn set_outpost_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.outpost_arn = input;
        self
    }
    /// <p>The ARN of the Outpost associated with the quote.</p>
    pub fn get_outpost_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.outpost_arn
    }
    /// <p>The country code for the Outpost site location.</p>
    pub fn country_code(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.country_code = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The country code for the Outpost site location.</p>
    pub fn set_country_code(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.country_code = input;
        self
    }
    /// <p>The country code for the Outpost site location.</p>
    pub fn get_country_code(&self) -> &::std::option::Option<::std::string::String> {
        &self.country_code
    }
    /// Appends an item to `requested_capacities`.
    ///
    /// To override the contents of this collection use [`set_requested_capacities`](Self::set_requested_capacities).
    ///
    /// <p>The capacity requirements specified in the quote request.</p>
    pub fn requested_capacities(mut self, input: crate::types::QuoteCapacity) -> Self {
        let mut v = self.requested_capacities.unwrap_or_default();
        v.push(input);
        self.requested_capacities = ::std::option::Option::Some(v);
        self
    }
    /// <p>The capacity requirements specified in the quote request.</p>
    pub fn set_requested_capacities(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::QuoteCapacity>>) -> Self {
        self.requested_capacities = input;
        self
    }
    /// <p>The capacity requirements specified in the quote request.</p>
    pub fn get_requested_capacities(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::QuoteCapacity>> {
        &self.requested_capacities
    }
    /// Appends an item to `requested_constraints`.
    ///
    /// To override the contents of this collection use [`set_requested_constraints`](Self::set_requested_constraints).
    ///
    /// <p>The physical constraints specified in the quote request.</p>
    pub fn requested_constraints(mut self, input: crate::types::QuoteConstraint) -> Self {
        let mut v = self.requested_constraints.unwrap_or_default();
        v.push(input);
        self.requested_constraints = ::std::option::Option::Some(v);
        self
    }
    /// <p>The physical constraints specified in the quote request.</p>
    pub fn set_requested_constraints(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::QuoteConstraint>>) -> Self {
        self.requested_constraints = input;
        self
    }
    /// <p>The physical constraints specified in the quote request.</p>
    pub fn get_requested_constraints(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::QuoteConstraint>> {
        &self.requested_constraints
    }
    /// Appends an item to `requested_payment_options`.
    ///
    /// To override the contents of this collection use [`set_requested_payment_options`](Self::set_requested_payment_options).
    ///
    /// <p>The payment options specified in the quote request.</p>
    pub fn requested_payment_options(mut self, input: crate::types::PaymentOption) -> Self {
        let mut v = self.requested_payment_options.unwrap_or_default();
        v.push(input);
        self.requested_payment_options = ::std::option::Option::Some(v);
        self
    }
    /// <p>The payment options specified in the quote request.</p>
    pub fn set_requested_payment_options(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::PaymentOption>>) -> Self {
        self.requested_payment_options = input;
        self
    }
    /// <p>The payment options specified in the quote request.</p>
    pub fn get_requested_payment_options(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::PaymentOption>> {
        &self.requested_payment_options
    }
    /// Appends an item to `requested_payment_terms`.
    ///
    /// To override the contents of this collection use [`set_requested_payment_terms`](Self::set_requested_payment_terms).
    ///
    /// <p>The payment terms specified in the quote request.</p>
    pub fn requested_payment_terms(mut self, input: crate::types::PaymentTerm) -> Self {
        let mut v = self.requested_payment_terms.unwrap_or_default();
        v.push(input);
        self.requested_payment_terms = ::std::option::Option::Some(v);
        self
    }
    /// <p>The payment terms specified in the quote request.</p>
    pub fn set_requested_payment_terms(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::PaymentTerm>>) -> Self {
        self.requested_payment_terms = input;
        self
    }
    /// <p>The payment terms specified in the quote request.</p>
    pub fn get_requested_payment_terms(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::PaymentTerm>> {
        &self.requested_payment_terms
    }
    /// Appends an item to `quote_options`.
    ///
    /// To override the contents of this collection use [`set_quote_options`](Self::set_quote_options).
    ///
    /// <p>The configuration and pricing options for the quote. Each option includes capacity details, physical specifications, and pricing information.</p>
    pub fn quote_options(mut self, input: crate::types::QuoteOption) -> Self {
        let mut v = self.quote_options.unwrap_or_default();
        v.push(input);
        self.quote_options = ::std::option::Option::Some(v);
        self
    }
    /// <p>The configuration and pricing options for the quote. Each option includes capacity details, physical specifications, and pricing information.</p>
    pub fn set_quote_options(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::QuoteOption>>) -> Self {
        self.quote_options = input;
        self
    }
    /// <p>The configuration and pricing options for the quote. Each option includes capacity details, physical specifications, and pricing information.</p>
    pub fn get_quote_options(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::QuoteOption>> {
        &self.quote_options
    }
    /// Appends an item to `ordering_requirements`.
    ///
    /// To override the contents of this collection use [`set_ordering_requirements`](Self::set_ordering_requirements).
    ///
    /// <p>The requirements that must be met before an order can be submitted for the quote.</p>
    pub fn ordering_requirements(mut self, input: crate::types::OrderingRequirement) -> Self {
        let mut v = self.ordering_requirements.unwrap_or_default();
        v.push(input);
        self.ordering_requirements = ::std::option::Option::Some(v);
        self
    }
    /// <p>The requirements that must be met before an order can be submitted for the quote.</p>
    pub fn set_ordering_requirements(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::OrderingRequirement>>) -> Self {
        self.ordering_requirements = input;
        self
    }
    /// <p>The requirements that must be met before an order can be submitted for the quote.</p>
    pub fn get_ordering_requirements(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::OrderingRequirement>> {
        &self.ordering_requirements
    }
    /// <p>The ID of the order submitted for the quote.</p>
    pub fn submitted_order_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.submitted_order_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The ID of the order submitted for the quote.</p>
    pub fn set_submitted_order_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.submitted_order_id = input;
        self
    }
    /// <p>The ID of the order submitted for the quote.</p>
    pub fn get_submitted_order_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.submitted_order_id
    }
    /// <p>The date the quote was created.</p>
    pub fn created_date(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.created_date = ::std::option::Option::Some(input);
        self
    }
    /// <p>The date the quote was created.</p>
    pub fn set_created_date(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.created_date = input;
        self
    }
    /// <p>The date the quote was created.</p>
    pub fn get_created_date(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.created_date
    }
    /// <p>The date the quote expires.</p>
    pub fn expiration_date(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.expiration_date = ::std::option::Option::Some(input);
        self
    }
    /// <p>The date the quote expires.</p>
    pub fn set_expiration_date(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.expiration_date = input;
        self
    }
    /// <p>The date the quote expires.</p>
    pub fn get_expiration_date(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.expiration_date
    }
    /// <p>The description of the quote.</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 quote.</p>
    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.description = input;
        self
    }
    /// <p>The description of the quote.</p>
    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
        &self.description
    }
    /// Consumes the builder and constructs a [`Quote`](crate::types::Quote).
    pub fn build(self) -> crate::types::Quote {
        crate::types::Quote {
            quote_id: self.quote_id,
            account_id: self.account_id,
            quote_status: self.quote_status,
            status_message: self.status_message,
            outpost_arn: self.outpost_arn,
            country_code: self.country_code,
            requested_capacities: self.requested_capacities,
            requested_constraints: self.requested_constraints,
            requested_payment_options: self.requested_payment_options,
            requested_payment_terms: self.requested_payment_terms,
            quote_options: self.quote_options,
            ordering_requirements: self.ordering_requirements,
            submitted_order_id: self.submitted_order_id,
            created_date: self.created_date,
            expiration_date: self.expiration_date,
            description: self.description,
        }
    }
}
impl ::std::fmt::Debug for QuoteBuilder {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        let mut formatter = f.debug_struct("QuoteBuilder");
        formatter.field("quote_id", &self.quote_id);
        formatter.field("account_id", &self.account_id);
        formatter.field("quote_status", &self.quote_status);
        formatter.field("status_message", &self.status_message);
        formatter.field("outpost_arn", &self.outpost_arn);
        formatter.field("country_code", &self.country_code);
        formatter.field("requested_capacities", &self.requested_capacities);
        formatter.field("requested_constraints", &self.requested_constraints);
        formatter.field("requested_payment_options", &self.requested_payment_options);
        formatter.field("requested_payment_terms", &self.requested_payment_terms);
        formatter.field("quote_options", &self.quote_options);
        formatter.field("ordering_requirements", &self.ordering_requirements);
        formatter.field("submitted_order_id", &self.submitted_order_id);
        formatter.field("created_date", &self.created_date);
        formatter.field("expiration_date", &self.expiration_date);
        formatter.field("description", &"*** Sensitive Data Redacted ***");
        formatter.finish()
    }
}