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
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
// 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)]
pub struct UpdateProfileInput {
    /// <p>The unique name of the domain.</p>
    pub domain_name: ::std::option::Option<::std::string::String>,
    /// <p>The unique identifier of a customer profile.</p>
    pub profile_id: ::std::option::Option<::std::string::String>,
    /// <p>Any additional information relevant to the customer’s profile.</p>
    pub additional_information: ::std::option::Option<::std::string::String>,
    /// <p>A unique account number that you have given to the customer.</p>
    pub account_number: ::std::option::Option<::std::string::String>,
    /// <p>The type of profile used to describe the customer.</p>
    pub party_type: ::std::option::Option<crate::types::PartyType>,
    /// <p>The name of the customer’s business.</p>
    pub business_name: ::std::option::Option<::std::string::String>,
    /// <p>The customer’s first name.</p>
    pub first_name: ::std::option::Option<::std::string::String>,
    /// <p>The customer’s middle name.</p>
    pub middle_name: ::std::option::Option<::std::string::String>,
    /// <p>The customer’s last name.</p>
    pub last_name: ::std::option::Option<::std::string::String>,
    /// <p>The customer’s birth date.</p>
    pub birth_date: ::std::option::Option<::std::string::String>,
    /// <p>The gender with which the customer identifies.</p>
    pub gender: ::std::option::Option<crate::types::Gender>,
    /// <p>The customer’s phone number, which has not been specified as a mobile, home, or business number.</p>
    pub phone_number: ::std::option::Option<::std::string::String>,
    /// <p>The customer’s mobile phone number.</p>
    pub mobile_phone_number: ::std::option::Option<::std::string::String>,
    /// <p>The customer’s home phone number.</p>
    pub home_phone_number: ::std::option::Option<::std::string::String>,
    /// <p>The customer’s business phone number.</p>
    pub business_phone_number: ::std::option::Option<::std::string::String>,
    /// <p>The customer’s email address, which has not been specified as a personal or business address.</p>
    pub email_address: ::std::option::Option<::std::string::String>,
    /// <p>The customer’s personal email address.</p>
    pub personal_email_address: ::std::option::Option<::std::string::String>,
    /// <p>The customer’s business email address.</p>
    pub business_email_address: ::std::option::Option<::std::string::String>,
    /// <p>A generic address associated with the customer that is not mailing, shipping, or billing.</p>
    pub address: ::std::option::Option<crate::types::UpdateAddress>,
    /// <p>The customer’s shipping address.</p>
    pub shipping_address: ::std::option::Option<crate::types::UpdateAddress>,
    /// <p>The customer’s mailing address.</p>
    pub mailing_address: ::std::option::Option<crate::types::UpdateAddress>,
    /// <p>The customer’s billing address.</p>
    pub billing_address: ::std::option::Option<crate::types::UpdateAddress>,
    /// <p>A key value pair of attributes of a customer profile.</p>
    pub attributes: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    /// <p>An alternative to <code>PartyType</code> which accepts any string as input.</p>
    pub party_type_string: ::std::option::Option<::std::string::String>,
    /// <p>An alternative to <code>Gender</code> which accepts any string as input.</p>
    pub gender_string: ::std::option::Option<::std::string::String>,
}
impl UpdateProfileInput {
    /// <p>The unique name of the domain.</p>
    pub fn domain_name(&self) -> ::std::option::Option<&str> {
        self.domain_name.as_deref()
    }
    /// <p>The unique identifier of a customer profile.</p>
    pub fn profile_id(&self) -> ::std::option::Option<&str> {
        self.profile_id.as_deref()
    }
    /// <p>Any additional information relevant to the customer’s profile.</p>
    pub fn additional_information(&self) -> ::std::option::Option<&str> {
        self.additional_information.as_deref()
    }
    /// <p>A unique account number that you have given to the customer.</p>
    pub fn account_number(&self) -> ::std::option::Option<&str> {
        self.account_number.as_deref()
    }
    /// <p>The type of profile used to describe the customer.</p>
    pub fn party_type(&self) -> ::std::option::Option<&crate::types::PartyType> {
        self.party_type.as_ref()
    }
    /// <p>The name of the customer’s business.</p>
    pub fn business_name(&self) -> ::std::option::Option<&str> {
        self.business_name.as_deref()
    }
    /// <p>The customer’s first name.</p>
    pub fn first_name(&self) -> ::std::option::Option<&str> {
        self.first_name.as_deref()
    }
    /// <p>The customer’s middle name.</p>
    pub fn middle_name(&self) -> ::std::option::Option<&str> {
        self.middle_name.as_deref()
    }
    /// <p>The customer’s last name.</p>
    pub fn last_name(&self) -> ::std::option::Option<&str> {
        self.last_name.as_deref()
    }
    /// <p>The customer’s birth date.</p>
    pub fn birth_date(&self) -> ::std::option::Option<&str> {
        self.birth_date.as_deref()
    }
    /// <p>The gender with which the customer identifies.</p>
    pub fn gender(&self) -> ::std::option::Option<&crate::types::Gender> {
        self.gender.as_ref()
    }
    /// <p>The customer’s phone number, which has not been specified as a mobile, home, or business number.</p>
    pub fn phone_number(&self) -> ::std::option::Option<&str> {
        self.phone_number.as_deref()
    }
    /// <p>The customer’s mobile phone number.</p>
    pub fn mobile_phone_number(&self) -> ::std::option::Option<&str> {
        self.mobile_phone_number.as_deref()
    }
    /// <p>The customer’s home phone number.</p>
    pub fn home_phone_number(&self) -> ::std::option::Option<&str> {
        self.home_phone_number.as_deref()
    }
    /// <p>The customer’s business phone number.</p>
    pub fn business_phone_number(&self) -> ::std::option::Option<&str> {
        self.business_phone_number.as_deref()
    }
    /// <p>The customer’s email address, which has not been specified as a personal or business address.</p>
    pub fn email_address(&self) -> ::std::option::Option<&str> {
        self.email_address.as_deref()
    }
    /// <p>The customer’s personal email address.</p>
    pub fn personal_email_address(&self) -> ::std::option::Option<&str> {
        self.personal_email_address.as_deref()
    }
    /// <p>The customer’s business email address.</p>
    pub fn business_email_address(&self) -> ::std::option::Option<&str> {
        self.business_email_address.as_deref()
    }
    /// <p>A generic address associated with the customer that is not mailing, shipping, or billing.</p>
    pub fn address(&self) -> ::std::option::Option<&crate::types::UpdateAddress> {
        self.address.as_ref()
    }
    /// <p>The customer’s shipping address.</p>
    pub fn shipping_address(&self) -> ::std::option::Option<&crate::types::UpdateAddress> {
        self.shipping_address.as_ref()
    }
    /// <p>The customer’s mailing address.</p>
    pub fn mailing_address(&self) -> ::std::option::Option<&crate::types::UpdateAddress> {
        self.mailing_address.as_ref()
    }
    /// <p>The customer’s billing address.</p>
    pub fn billing_address(&self) -> ::std::option::Option<&crate::types::UpdateAddress> {
        self.billing_address.as_ref()
    }
    /// <p>A key value pair of attributes of a customer profile.</p>
    pub fn attributes(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        self.attributes.as_ref()
    }
    /// <p>An alternative to <code>PartyType</code> which accepts any string as input.</p>
    pub fn party_type_string(&self) -> ::std::option::Option<&str> {
        self.party_type_string.as_deref()
    }
    /// <p>An alternative to <code>Gender</code> which accepts any string as input.</p>
    pub fn gender_string(&self) -> ::std::option::Option<&str> {
        self.gender_string.as_deref()
    }
}
impl ::std::fmt::Debug for UpdateProfileInput {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        let mut formatter = f.debug_struct("UpdateProfileInput");
        formatter.field("domain_name", &self.domain_name);
        formatter.field("profile_id", &self.profile_id);
        formatter.field("additional_information", &"*** Sensitive Data Redacted ***");
        formatter.field("account_number", &"*** Sensitive Data Redacted ***");
        formatter.field("party_type", &"*** Sensitive Data Redacted ***");
        formatter.field("business_name", &"*** Sensitive Data Redacted ***");
        formatter.field("first_name", &"*** Sensitive Data Redacted ***");
        formatter.field("middle_name", &"*** Sensitive Data Redacted ***");
        formatter.field("last_name", &"*** Sensitive Data Redacted ***");
        formatter.field("birth_date", &"*** Sensitive Data Redacted ***");
        formatter.field("gender", &"*** Sensitive Data Redacted ***");
        formatter.field("phone_number", &"*** Sensitive Data Redacted ***");
        formatter.field("mobile_phone_number", &"*** Sensitive Data Redacted ***");
        formatter.field("home_phone_number", &"*** Sensitive Data Redacted ***");
        formatter.field("business_phone_number", &"*** Sensitive Data Redacted ***");
        formatter.field("email_address", &"*** Sensitive Data Redacted ***");
        formatter.field("personal_email_address", &"*** Sensitive Data Redacted ***");
        formatter.field("business_email_address", &"*** Sensitive Data Redacted ***");
        formatter.field("address", &"*** Sensitive Data Redacted ***");
        formatter.field("shipping_address", &"*** Sensitive Data Redacted ***");
        formatter.field("mailing_address", &"*** Sensitive Data Redacted ***");
        formatter.field("billing_address", &"*** Sensitive Data Redacted ***");
        formatter.field("attributes", &"*** Sensitive Data Redacted ***");
        formatter.field("party_type_string", &"*** Sensitive Data Redacted ***");
        formatter.field("gender_string", &"*** Sensitive Data Redacted ***");
        formatter.finish()
    }
}
impl UpdateProfileInput {
    /// Creates a new builder-style object to manufacture [`UpdateProfileInput`](crate::operation::update_profile::UpdateProfileInput).
    pub fn builder() -> crate::operation::update_profile::builders::UpdateProfileInputBuilder {
        crate::operation::update_profile::builders::UpdateProfileInputBuilder::default()
    }
}

/// A builder for [`UpdateProfileInput`](crate::operation::update_profile::UpdateProfileInput).
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default)]
pub struct UpdateProfileInputBuilder {
    pub(crate) domain_name: ::std::option::Option<::std::string::String>,
    pub(crate) profile_id: ::std::option::Option<::std::string::String>,
    pub(crate) additional_information: ::std::option::Option<::std::string::String>,
    pub(crate) account_number: ::std::option::Option<::std::string::String>,
    pub(crate) party_type: ::std::option::Option<crate::types::PartyType>,
    pub(crate) business_name: ::std::option::Option<::std::string::String>,
    pub(crate) first_name: ::std::option::Option<::std::string::String>,
    pub(crate) middle_name: ::std::option::Option<::std::string::String>,
    pub(crate) last_name: ::std::option::Option<::std::string::String>,
    pub(crate) birth_date: ::std::option::Option<::std::string::String>,
    pub(crate) gender: ::std::option::Option<crate::types::Gender>,
    pub(crate) phone_number: ::std::option::Option<::std::string::String>,
    pub(crate) mobile_phone_number: ::std::option::Option<::std::string::String>,
    pub(crate) home_phone_number: ::std::option::Option<::std::string::String>,
    pub(crate) business_phone_number: ::std::option::Option<::std::string::String>,
    pub(crate) email_address: ::std::option::Option<::std::string::String>,
    pub(crate) personal_email_address: ::std::option::Option<::std::string::String>,
    pub(crate) business_email_address: ::std::option::Option<::std::string::String>,
    pub(crate) address: ::std::option::Option<crate::types::UpdateAddress>,
    pub(crate) shipping_address: ::std::option::Option<crate::types::UpdateAddress>,
    pub(crate) mailing_address: ::std::option::Option<crate::types::UpdateAddress>,
    pub(crate) billing_address: ::std::option::Option<crate::types::UpdateAddress>,
    pub(crate) attributes: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    pub(crate) party_type_string: ::std::option::Option<::std::string::String>,
    pub(crate) gender_string: ::std::option::Option<::std::string::String>,
}
impl UpdateProfileInputBuilder {
    /// <p>The unique name of the domain.</p>
    /// This field is required.
    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 unique name of the domain.</p>
    pub fn set_domain_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.domain_name = input;
        self
    }
    /// <p>The unique name of the domain.</p>
    pub fn get_domain_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.domain_name
    }
    /// <p>The unique identifier of a customer profile.</p>
    /// This field is required.
    pub fn profile_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.profile_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The unique identifier of a customer profile.</p>
    pub fn set_profile_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.profile_id = input;
        self
    }
    /// <p>The unique identifier of a customer profile.</p>
    pub fn get_profile_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.profile_id
    }
    /// <p>Any additional information relevant to the customer’s profile.</p>
    pub fn additional_information(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.additional_information = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>Any additional information relevant to the customer’s profile.</p>
    pub fn set_additional_information(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.additional_information = input;
        self
    }
    /// <p>Any additional information relevant to the customer’s profile.</p>
    pub fn get_additional_information(&self) -> &::std::option::Option<::std::string::String> {
        &self.additional_information
    }
    /// <p>A unique account number that you have given to the customer.</p>
    pub fn account_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.account_number = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>A unique account number that you have given to the customer.</p>
    pub fn set_account_number(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.account_number = input;
        self
    }
    /// <p>A unique account number that you have given to the customer.</p>
    pub fn get_account_number(&self) -> &::std::option::Option<::std::string::String> {
        &self.account_number
    }
    /// <p>The type of profile used to describe the customer.</p>
    pub fn party_type(mut self, input: crate::types::PartyType) -> Self {
        self.party_type = ::std::option::Option::Some(input);
        self
    }
    /// <p>The type of profile used to describe the customer.</p>
    pub fn set_party_type(mut self, input: ::std::option::Option<crate::types::PartyType>) -> Self {
        self.party_type = input;
        self
    }
    /// <p>The type of profile used to describe the customer.</p>
    pub fn get_party_type(&self) -> &::std::option::Option<crate::types::PartyType> {
        &self.party_type
    }
    /// <p>The name of the customer’s business.</p>
    pub fn business_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.business_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The name of the customer’s business.</p>
    pub fn set_business_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.business_name = input;
        self
    }
    /// <p>The name of the customer’s business.</p>
    pub fn get_business_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.business_name
    }
    /// <p>The customer’s first name.</p>
    pub fn first_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.first_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The customer’s first name.</p>
    pub fn set_first_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.first_name = input;
        self
    }
    /// <p>The customer’s first name.</p>
    pub fn get_first_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.first_name
    }
    /// <p>The customer’s middle name.</p>
    pub fn middle_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.middle_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The customer’s middle name.</p>
    pub fn set_middle_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.middle_name = input;
        self
    }
    /// <p>The customer’s middle name.</p>
    pub fn get_middle_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.middle_name
    }
    /// <p>The customer’s last name.</p>
    pub fn last_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.last_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The customer’s last name.</p>
    pub fn set_last_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.last_name = input;
        self
    }
    /// <p>The customer’s last name.</p>
    pub fn get_last_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.last_name
    }
    /// <p>The customer’s birth date.</p>
    pub fn birth_date(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.birth_date = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The customer’s birth date.</p>
    pub fn set_birth_date(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.birth_date = input;
        self
    }
    /// <p>The customer’s birth date.</p>
    pub fn get_birth_date(&self) -> &::std::option::Option<::std::string::String> {
        &self.birth_date
    }
    /// <p>The gender with which the customer identifies.</p>
    pub fn gender(mut self, input: crate::types::Gender) -> Self {
        self.gender = ::std::option::Option::Some(input);
        self
    }
    /// <p>The gender with which the customer identifies.</p>
    pub fn set_gender(mut self, input: ::std::option::Option<crate::types::Gender>) -> Self {
        self.gender = input;
        self
    }
    /// <p>The gender with which the customer identifies.</p>
    pub fn get_gender(&self) -> &::std::option::Option<crate::types::Gender> {
        &self.gender
    }
    /// <p>The customer’s phone number, which has not been specified as a mobile, home, or business number.</p>
    pub fn phone_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.phone_number = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The customer’s phone number, which has not been specified as a mobile, home, or business number.</p>
    pub fn set_phone_number(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.phone_number = input;
        self
    }
    /// <p>The customer’s phone number, which has not been specified as a mobile, home, or business number.</p>
    pub fn get_phone_number(&self) -> &::std::option::Option<::std::string::String> {
        &self.phone_number
    }
    /// <p>The customer’s mobile phone number.</p>
    pub fn mobile_phone_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.mobile_phone_number = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The customer’s mobile phone number.</p>
    pub fn set_mobile_phone_number(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.mobile_phone_number = input;
        self
    }
    /// <p>The customer’s mobile phone number.</p>
    pub fn get_mobile_phone_number(&self) -> &::std::option::Option<::std::string::String> {
        &self.mobile_phone_number
    }
    /// <p>The customer’s home phone number.</p>
    pub fn home_phone_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.home_phone_number = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The customer’s home phone number.</p>
    pub fn set_home_phone_number(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.home_phone_number = input;
        self
    }
    /// <p>The customer’s home phone number.</p>
    pub fn get_home_phone_number(&self) -> &::std::option::Option<::std::string::String> {
        &self.home_phone_number
    }
    /// <p>The customer’s business phone number.</p>
    pub fn business_phone_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.business_phone_number = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The customer’s business phone number.</p>
    pub fn set_business_phone_number(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.business_phone_number = input;
        self
    }
    /// <p>The customer’s business phone number.</p>
    pub fn get_business_phone_number(&self) -> &::std::option::Option<::std::string::String> {
        &self.business_phone_number
    }
    /// <p>The customer’s email address, which has not been specified as a personal or business address.</p>
    pub fn email_address(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.email_address = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The customer’s email address, which has not been specified as a personal or business address.</p>
    pub fn set_email_address(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.email_address = input;
        self
    }
    /// <p>The customer’s email address, which has not been specified as a personal or business address.</p>
    pub fn get_email_address(&self) -> &::std::option::Option<::std::string::String> {
        &self.email_address
    }
    /// <p>The customer’s personal email address.</p>
    pub fn personal_email_address(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.personal_email_address = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The customer’s personal email address.</p>
    pub fn set_personal_email_address(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.personal_email_address = input;
        self
    }
    /// <p>The customer’s personal email address.</p>
    pub fn get_personal_email_address(&self) -> &::std::option::Option<::std::string::String> {
        &self.personal_email_address
    }
    /// <p>The customer’s business email address.</p>
    pub fn business_email_address(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.business_email_address = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The customer’s business email address.</p>
    pub fn set_business_email_address(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.business_email_address = input;
        self
    }
    /// <p>The customer’s business email address.</p>
    pub fn get_business_email_address(&self) -> &::std::option::Option<::std::string::String> {
        &self.business_email_address
    }
    /// <p>A generic address associated with the customer that is not mailing, shipping, or billing.</p>
    pub fn address(mut self, input: crate::types::UpdateAddress) -> Self {
        self.address = ::std::option::Option::Some(input);
        self
    }
    /// <p>A generic address associated with the customer that is not mailing, shipping, or billing.</p>
    pub fn set_address(mut self, input: ::std::option::Option<crate::types::UpdateAddress>) -> Self {
        self.address = input;
        self
    }
    /// <p>A generic address associated with the customer that is not mailing, shipping, or billing.</p>
    pub fn get_address(&self) -> &::std::option::Option<crate::types::UpdateAddress> {
        &self.address
    }
    /// <p>The customer’s shipping address.</p>
    pub fn shipping_address(mut self, input: crate::types::UpdateAddress) -> Self {
        self.shipping_address = ::std::option::Option::Some(input);
        self
    }
    /// <p>The customer’s shipping address.</p>
    pub fn set_shipping_address(mut self, input: ::std::option::Option<crate::types::UpdateAddress>) -> Self {
        self.shipping_address = input;
        self
    }
    /// <p>The customer’s shipping address.</p>
    pub fn get_shipping_address(&self) -> &::std::option::Option<crate::types::UpdateAddress> {
        &self.shipping_address
    }
    /// <p>The customer’s mailing address.</p>
    pub fn mailing_address(mut self, input: crate::types::UpdateAddress) -> Self {
        self.mailing_address = ::std::option::Option::Some(input);
        self
    }
    /// <p>The customer’s mailing address.</p>
    pub fn set_mailing_address(mut self, input: ::std::option::Option<crate::types::UpdateAddress>) -> Self {
        self.mailing_address = input;
        self
    }
    /// <p>The customer’s mailing address.</p>
    pub fn get_mailing_address(&self) -> &::std::option::Option<crate::types::UpdateAddress> {
        &self.mailing_address
    }
    /// <p>The customer’s billing address.</p>
    pub fn billing_address(mut self, input: crate::types::UpdateAddress) -> Self {
        self.billing_address = ::std::option::Option::Some(input);
        self
    }
    /// <p>The customer’s billing address.</p>
    pub fn set_billing_address(mut self, input: ::std::option::Option<crate::types::UpdateAddress>) -> Self {
        self.billing_address = input;
        self
    }
    /// <p>The customer’s billing address.</p>
    pub fn get_billing_address(&self) -> &::std::option::Option<crate::types::UpdateAddress> {
        &self.billing_address
    }
    /// Adds a key-value pair to `attributes`.
    ///
    /// To override the contents of this collection use [`set_attributes`](Self::set_attributes).
    ///
    /// <p>A key value pair of attributes of a customer profile.</p>
    pub fn attributes(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut hash_map = self.attributes.unwrap_or_default();
        hash_map.insert(k.into(), v.into());
        self.attributes = ::std::option::Option::Some(hash_map);
        self
    }
    /// <p>A key value pair of attributes of a customer profile.</p>
    pub fn set_attributes(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
        self.attributes = input;
        self
    }
    /// <p>A key value pair of attributes of a customer profile.</p>
    pub fn get_attributes(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        &self.attributes
    }
    /// <p>An alternative to <code>PartyType</code> which accepts any string as input.</p>
    pub fn party_type_string(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.party_type_string = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>An alternative to <code>PartyType</code> which accepts any string as input.</p>
    pub fn set_party_type_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.party_type_string = input;
        self
    }
    /// <p>An alternative to <code>PartyType</code> which accepts any string as input.</p>
    pub fn get_party_type_string(&self) -> &::std::option::Option<::std::string::String> {
        &self.party_type_string
    }
    /// <p>An alternative to <code>Gender</code> which accepts any string as input.</p>
    pub fn gender_string(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.gender_string = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>An alternative to <code>Gender</code> which accepts any string as input.</p>
    pub fn set_gender_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.gender_string = input;
        self
    }
    /// <p>An alternative to <code>Gender</code> which accepts any string as input.</p>
    pub fn get_gender_string(&self) -> &::std::option::Option<::std::string::String> {
        &self.gender_string
    }
    /// Consumes the builder and constructs a [`UpdateProfileInput`](crate::operation::update_profile::UpdateProfileInput).
    pub fn build(
        self,
    ) -> ::std::result::Result<crate::operation::update_profile::UpdateProfileInput, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::operation::update_profile::UpdateProfileInput {
            domain_name: self.domain_name,
            profile_id: self.profile_id,
            additional_information: self.additional_information,
            account_number: self.account_number,
            party_type: self.party_type,
            business_name: self.business_name,
            first_name: self.first_name,
            middle_name: self.middle_name,
            last_name: self.last_name,
            birth_date: self.birth_date,
            gender: self.gender,
            phone_number: self.phone_number,
            mobile_phone_number: self.mobile_phone_number,
            home_phone_number: self.home_phone_number,
            business_phone_number: self.business_phone_number,
            email_address: self.email_address,
            personal_email_address: self.personal_email_address,
            business_email_address: self.business_email_address,
            address: self.address,
            shipping_address: self.shipping_address,
            mailing_address: self.mailing_address,
            billing_address: self.billing_address,
            attributes: self.attributes,
            party_type_string: self.party_type_string,
            gender_string: self.gender_string,
        })
    }
}
impl ::std::fmt::Debug for UpdateProfileInputBuilder {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        let mut formatter = f.debug_struct("UpdateProfileInputBuilder");
        formatter.field("domain_name", &self.domain_name);
        formatter.field("profile_id", &self.profile_id);
        formatter.field("additional_information", &"*** Sensitive Data Redacted ***");
        formatter.field("account_number", &"*** Sensitive Data Redacted ***");
        formatter.field("party_type", &"*** Sensitive Data Redacted ***");
        formatter.field("business_name", &"*** Sensitive Data Redacted ***");
        formatter.field("first_name", &"*** Sensitive Data Redacted ***");
        formatter.field("middle_name", &"*** Sensitive Data Redacted ***");
        formatter.field("last_name", &"*** Sensitive Data Redacted ***");
        formatter.field("birth_date", &"*** Sensitive Data Redacted ***");
        formatter.field("gender", &"*** Sensitive Data Redacted ***");
        formatter.field("phone_number", &"*** Sensitive Data Redacted ***");
        formatter.field("mobile_phone_number", &"*** Sensitive Data Redacted ***");
        formatter.field("home_phone_number", &"*** Sensitive Data Redacted ***");
        formatter.field("business_phone_number", &"*** Sensitive Data Redacted ***");
        formatter.field("email_address", &"*** Sensitive Data Redacted ***");
        formatter.field("personal_email_address", &"*** Sensitive Data Redacted ***");
        formatter.field("business_email_address", &"*** Sensitive Data Redacted ***");
        formatter.field("address", &"*** Sensitive Data Redacted ***");
        formatter.field("shipping_address", &"*** Sensitive Data Redacted ***");
        formatter.field("mailing_address", &"*** Sensitive Data Redacted ***");
        formatter.field("billing_address", &"*** Sensitive Data Redacted ***");
        formatter.field("attributes", &"*** Sensitive Data Redacted ***");
        formatter.field("party_type_string", &"*** Sensitive Data Redacted ***");
        formatter.field("gender_string", &"*** Sensitive Data Redacted ***");
        formatter.finish()
    }
}