AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProfileRequest.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/model/PartyType.h>
11#include <aws/customer-profiles/model/Gender.h>
12#include <aws/customer-profiles/model/UpdateAddress.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18namespace CustomerProfiles
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_CUSTOMERPROFILES_API UpdateProfileRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateProfile"; }
35
36 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetDomainName() const{ return m_domainName; }
44 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
45 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
46 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
47 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
48 inline UpdateProfileRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
49 inline UpdateProfileRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
50 inline UpdateProfileRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
52
54
57 inline const Aws::String& GetProfileId() const{ return m_profileId; }
58 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
59 inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; }
60 inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); }
61 inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); }
62 inline UpdateProfileRequest& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
63 inline UpdateProfileRequest& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
64 inline UpdateProfileRequest& WithProfileId(const char* value) { SetProfileId(value); return *this;}
66
68
71 inline const Aws::String& GetAdditionalInformation() const{ return m_additionalInformation; }
72 inline bool AdditionalInformationHasBeenSet() const { return m_additionalInformationHasBeenSet; }
73 inline void SetAdditionalInformation(const Aws::String& value) { m_additionalInformationHasBeenSet = true; m_additionalInformation = value; }
74 inline void SetAdditionalInformation(Aws::String&& value) { m_additionalInformationHasBeenSet = true; m_additionalInformation = std::move(value); }
75 inline void SetAdditionalInformation(const char* value) { m_additionalInformationHasBeenSet = true; m_additionalInformation.assign(value); }
77 inline UpdateProfileRequest& WithAdditionalInformation(Aws::String&& value) { SetAdditionalInformation(std::move(value)); return *this;}
78 inline UpdateProfileRequest& WithAdditionalInformation(const char* value) { SetAdditionalInformation(value); return *this;}
80
82
85 inline const Aws::String& GetAccountNumber() const{ return m_accountNumber; }
86 inline bool AccountNumberHasBeenSet() const { return m_accountNumberHasBeenSet; }
87 inline void SetAccountNumber(const Aws::String& value) { m_accountNumberHasBeenSet = true; m_accountNumber = value; }
88 inline void SetAccountNumber(Aws::String&& value) { m_accountNumberHasBeenSet = true; m_accountNumber = std::move(value); }
89 inline void SetAccountNumber(const char* value) { m_accountNumberHasBeenSet = true; m_accountNumber.assign(value); }
90 inline UpdateProfileRequest& WithAccountNumber(const Aws::String& value) { SetAccountNumber(value); return *this;}
91 inline UpdateProfileRequest& WithAccountNumber(Aws::String&& value) { SetAccountNumber(std::move(value)); return *this;}
92 inline UpdateProfileRequest& WithAccountNumber(const char* value) { SetAccountNumber(value); return *this;}
94
96
99 inline const PartyType& GetPartyType() const{ return m_partyType; }
100 inline bool PartyTypeHasBeenSet() const { return m_partyTypeHasBeenSet; }
101 inline void SetPartyType(const PartyType& value) { m_partyTypeHasBeenSet = true; m_partyType = value; }
102 inline void SetPartyType(PartyType&& value) { m_partyTypeHasBeenSet = true; m_partyType = std::move(value); }
103 inline UpdateProfileRequest& WithPartyType(const PartyType& value) { SetPartyType(value); return *this;}
104 inline UpdateProfileRequest& WithPartyType(PartyType&& value) { SetPartyType(std::move(value)); return *this;}
106
108
111 inline const Aws::String& GetBusinessName() const{ return m_businessName; }
112 inline bool BusinessNameHasBeenSet() const { return m_businessNameHasBeenSet; }
113 inline void SetBusinessName(const Aws::String& value) { m_businessNameHasBeenSet = true; m_businessName = value; }
114 inline void SetBusinessName(Aws::String&& value) { m_businessNameHasBeenSet = true; m_businessName = std::move(value); }
115 inline void SetBusinessName(const char* value) { m_businessNameHasBeenSet = true; m_businessName.assign(value); }
116 inline UpdateProfileRequest& WithBusinessName(const Aws::String& value) { SetBusinessName(value); return *this;}
117 inline UpdateProfileRequest& WithBusinessName(Aws::String&& value) { SetBusinessName(std::move(value)); return *this;}
118 inline UpdateProfileRequest& WithBusinessName(const char* value) { SetBusinessName(value); return *this;}
120
122
125 inline const Aws::String& GetFirstName() const{ return m_firstName; }
126 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
127 inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; }
128 inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); }
129 inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); }
130 inline UpdateProfileRequest& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;}
131 inline UpdateProfileRequest& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;}
132 inline UpdateProfileRequest& WithFirstName(const char* value) { SetFirstName(value); return *this;}
134
136
139 inline const Aws::String& GetMiddleName() const{ return m_middleName; }
140 inline bool MiddleNameHasBeenSet() const { return m_middleNameHasBeenSet; }
141 inline void SetMiddleName(const Aws::String& value) { m_middleNameHasBeenSet = true; m_middleName = value; }
142 inline void SetMiddleName(Aws::String&& value) { m_middleNameHasBeenSet = true; m_middleName = std::move(value); }
143 inline void SetMiddleName(const char* value) { m_middleNameHasBeenSet = true; m_middleName.assign(value); }
144 inline UpdateProfileRequest& WithMiddleName(const Aws::String& value) { SetMiddleName(value); return *this;}
145 inline UpdateProfileRequest& WithMiddleName(Aws::String&& value) { SetMiddleName(std::move(value)); return *this;}
146 inline UpdateProfileRequest& WithMiddleName(const char* value) { SetMiddleName(value); return *this;}
148
150
153 inline const Aws::String& GetLastName() const{ return m_lastName; }
154 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
155 inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; }
156 inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); }
157 inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); }
158 inline UpdateProfileRequest& WithLastName(const Aws::String& value) { SetLastName(value); return *this;}
159 inline UpdateProfileRequest& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;}
160 inline UpdateProfileRequest& WithLastName(const char* value) { SetLastName(value); return *this;}
162
164
167 inline const Aws::String& GetBirthDate() const{ return m_birthDate; }
168 inline bool BirthDateHasBeenSet() const { return m_birthDateHasBeenSet; }
169 inline void SetBirthDate(const Aws::String& value) { m_birthDateHasBeenSet = true; m_birthDate = value; }
170 inline void SetBirthDate(Aws::String&& value) { m_birthDateHasBeenSet = true; m_birthDate = std::move(value); }
171 inline void SetBirthDate(const char* value) { m_birthDateHasBeenSet = true; m_birthDate.assign(value); }
172 inline UpdateProfileRequest& WithBirthDate(const Aws::String& value) { SetBirthDate(value); return *this;}
173 inline UpdateProfileRequest& WithBirthDate(Aws::String&& value) { SetBirthDate(std::move(value)); return *this;}
174 inline UpdateProfileRequest& WithBirthDate(const char* value) { SetBirthDate(value); return *this;}
176
178
181 inline const Gender& GetGender() const{ return m_gender; }
182 inline bool GenderHasBeenSet() const { return m_genderHasBeenSet; }
183 inline void SetGender(const Gender& value) { m_genderHasBeenSet = true; m_gender = value; }
184 inline void SetGender(Gender&& value) { m_genderHasBeenSet = true; m_gender = std::move(value); }
185 inline UpdateProfileRequest& WithGender(const Gender& value) { SetGender(value); return *this;}
186 inline UpdateProfileRequest& WithGender(Gender&& value) { SetGender(std::move(value)); return *this;}
188
190
194 inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
195 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
196 inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
197 inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
198 inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
199 inline UpdateProfileRequest& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
200 inline UpdateProfileRequest& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
201 inline UpdateProfileRequest& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
203
205
208 inline const Aws::String& GetMobilePhoneNumber() const{ return m_mobilePhoneNumber; }
209 inline bool MobilePhoneNumberHasBeenSet() const { return m_mobilePhoneNumberHasBeenSet; }
210 inline void SetMobilePhoneNumber(const Aws::String& value) { m_mobilePhoneNumberHasBeenSet = true; m_mobilePhoneNumber = value; }
211 inline void SetMobilePhoneNumber(Aws::String&& value) { m_mobilePhoneNumberHasBeenSet = true; m_mobilePhoneNumber = std::move(value); }
212 inline void SetMobilePhoneNumber(const char* value) { m_mobilePhoneNumberHasBeenSet = true; m_mobilePhoneNumber.assign(value); }
213 inline UpdateProfileRequest& WithMobilePhoneNumber(const Aws::String& value) { SetMobilePhoneNumber(value); return *this;}
214 inline UpdateProfileRequest& WithMobilePhoneNumber(Aws::String&& value) { SetMobilePhoneNumber(std::move(value)); return *this;}
215 inline UpdateProfileRequest& WithMobilePhoneNumber(const char* value) { SetMobilePhoneNumber(value); return *this;}
217
219
222 inline const Aws::String& GetHomePhoneNumber() const{ return m_homePhoneNumber; }
223 inline bool HomePhoneNumberHasBeenSet() const { return m_homePhoneNumberHasBeenSet; }
224 inline void SetHomePhoneNumber(const Aws::String& value) { m_homePhoneNumberHasBeenSet = true; m_homePhoneNumber = value; }
225 inline void SetHomePhoneNumber(Aws::String&& value) { m_homePhoneNumberHasBeenSet = true; m_homePhoneNumber = std::move(value); }
226 inline void SetHomePhoneNumber(const char* value) { m_homePhoneNumberHasBeenSet = true; m_homePhoneNumber.assign(value); }
227 inline UpdateProfileRequest& WithHomePhoneNumber(const Aws::String& value) { SetHomePhoneNumber(value); return *this;}
228 inline UpdateProfileRequest& WithHomePhoneNumber(Aws::String&& value) { SetHomePhoneNumber(std::move(value)); return *this;}
229 inline UpdateProfileRequest& WithHomePhoneNumber(const char* value) { SetHomePhoneNumber(value); return *this;}
231
233
236 inline const Aws::String& GetBusinessPhoneNumber() const{ return m_businessPhoneNumber; }
237 inline bool BusinessPhoneNumberHasBeenSet() const { return m_businessPhoneNumberHasBeenSet; }
238 inline void SetBusinessPhoneNumber(const Aws::String& value) { m_businessPhoneNumberHasBeenSet = true; m_businessPhoneNumber = value; }
239 inline void SetBusinessPhoneNumber(Aws::String&& value) { m_businessPhoneNumberHasBeenSet = true; m_businessPhoneNumber = std::move(value); }
240 inline void SetBusinessPhoneNumber(const char* value) { m_businessPhoneNumberHasBeenSet = true; m_businessPhoneNumber.assign(value); }
242 inline UpdateProfileRequest& WithBusinessPhoneNumber(Aws::String&& value) { SetBusinessPhoneNumber(std::move(value)); return *this;}
243 inline UpdateProfileRequest& WithBusinessPhoneNumber(const char* value) { SetBusinessPhoneNumber(value); return *this;}
245
247
251 inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
252 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
253 inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
254 inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
255 inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
256 inline UpdateProfileRequest& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
257 inline UpdateProfileRequest& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
258 inline UpdateProfileRequest& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
260
262
265 inline const Aws::String& GetPersonalEmailAddress() const{ return m_personalEmailAddress; }
266 inline bool PersonalEmailAddressHasBeenSet() const { return m_personalEmailAddressHasBeenSet; }
267 inline void SetPersonalEmailAddress(const Aws::String& value) { m_personalEmailAddressHasBeenSet = true; m_personalEmailAddress = value; }
268 inline void SetPersonalEmailAddress(Aws::String&& value) { m_personalEmailAddressHasBeenSet = true; m_personalEmailAddress = std::move(value); }
269 inline void SetPersonalEmailAddress(const char* value) { m_personalEmailAddressHasBeenSet = true; m_personalEmailAddress.assign(value); }
271 inline UpdateProfileRequest& WithPersonalEmailAddress(Aws::String&& value) { SetPersonalEmailAddress(std::move(value)); return *this;}
272 inline UpdateProfileRequest& WithPersonalEmailAddress(const char* value) { SetPersonalEmailAddress(value); return *this;}
274
276
279 inline const Aws::String& GetBusinessEmailAddress() const{ return m_businessEmailAddress; }
280 inline bool BusinessEmailAddressHasBeenSet() const { return m_businessEmailAddressHasBeenSet; }
281 inline void SetBusinessEmailAddress(const Aws::String& value) { m_businessEmailAddressHasBeenSet = true; m_businessEmailAddress = value; }
282 inline void SetBusinessEmailAddress(Aws::String&& value) { m_businessEmailAddressHasBeenSet = true; m_businessEmailAddress = std::move(value); }
283 inline void SetBusinessEmailAddress(const char* value) { m_businessEmailAddressHasBeenSet = true; m_businessEmailAddress.assign(value); }
285 inline UpdateProfileRequest& WithBusinessEmailAddress(Aws::String&& value) { SetBusinessEmailAddress(std::move(value)); return *this;}
286 inline UpdateProfileRequest& WithBusinessEmailAddress(const char* value) { SetBusinessEmailAddress(value); return *this;}
288
290
294 inline const UpdateAddress& GetAddress() const{ return m_address; }
295 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
296 inline void SetAddress(const UpdateAddress& value) { m_addressHasBeenSet = true; m_address = value; }
297 inline void SetAddress(UpdateAddress&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
298 inline UpdateProfileRequest& WithAddress(const UpdateAddress& value) { SetAddress(value); return *this;}
299 inline UpdateProfileRequest& WithAddress(UpdateAddress&& value) { SetAddress(std::move(value)); return *this;}
301
303
306 inline const UpdateAddress& GetShippingAddress() const{ return m_shippingAddress; }
307 inline bool ShippingAddressHasBeenSet() const { return m_shippingAddressHasBeenSet; }
308 inline void SetShippingAddress(const UpdateAddress& value) { m_shippingAddressHasBeenSet = true; m_shippingAddress = value; }
309 inline void SetShippingAddress(UpdateAddress&& value) { m_shippingAddressHasBeenSet = true; m_shippingAddress = std::move(value); }
310 inline UpdateProfileRequest& WithShippingAddress(const UpdateAddress& value) { SetShippingAddress(value); return *this;}
311 inline UpdateProfileRequest& WithShippingAddress(UpdateAddress&& value) { SetShippingAddress(std::move(value)); return *this;}
313
315
318 inline const UpdateAddress& GetMailingAddress() const{ return m_mailingAddress; }
319 inline bool MailingAddressHasBeenSet() const { return m_mailingAddressHasBeenSet; }
320 inline void SetMailingAddress(const UpdateAddress& value) { m_mailingAddressHasBeenSet = true; m_mailingAddress = value; }
321 inline void SetMailingAddress(UpdateAddress&& value) { m_mailingAddressHasBeenSet = true; m_mailingAddress = std::move(value); }
322 inline UpdateProfileRequest& WithMailingAddress(const UpdateAddress& value) { SetMailingAddress(value); return *this;}
323 inline UpdateProfileRequest& WithMailingAddress(UpdateAddress&& value) { SetMailingAddress(std::move(value)); return *this;}
325
327
330 inline const UpdateAddress& GetBillingAddress() const{ return m_billingAddress; }
331 inline bool BillingAddressHasBeenSet() const { return m_billingAddressHasBeenSet; }
332 inline void SetBillingAddress(const UpdateAddress& value) { m_billingAddressHasBeenSet = true; m_billingAddress = value; }
333 inline void SetBillingAddress(UpdateAddress&& value) { m_billingAddressHasBeenSet = true; m_billingAddress = std::move(value); }
334 inline UpdateProfileRequest& WithBillingAddress(const UpdateAddress& value) { SetBillingAddress(value); return *this;}
335 inline UpdateProfileRequest& WithBillingAddress(UpdateAddress&& value) { SetBillingAddress(std::move(value)); return *this;}
337
339
342 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
343 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
344 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
345 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
347 inline UpdateProfileRequest& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
348 inline UpdateProfileRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
349 inline UpdateProfileRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
350 inline UpdateProfileRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
351 inline UpdateProfileRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
352 inline UpdateProfileRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
353 inline UpdateProfileRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
354 inline UpdateProfileRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
356
358
362 inline const Aws::String& GetPartyTypeString() const{ return m_partyTypeString; }
363 inline bool PartyTypeStringHasBeenSet() const { return m_partyTypeStringHasBeenSet; }
364 inline void SetPartyTypeString(const Aws::String& value) { m_partyTypeStringHasBeenSet = true; m_partyTypeString = value; }
365 inline void SetPartyTypeString(Aws::String&& value) { m_partyTypeStringHasBeenSet = true; m_partyTypeString = std::move(value); }
366 inline void SetPartyTypeString(const char* value) { m_partyTypeStringHasBeenSet = true; m_partyTypeString.assign(value); }
367 inline UpdateProfileRequest& WithPartyTypeString(const Aws::String& value) { SetPartyTypeString(value); return *this;}
368 inline UpdateProfileRequest& WithPartyTypeString(Aws::String&& value) { SetPartyTypeString(std::move(value)); return *this;}
369 inline UpdateProfileRequest& WithPartyTypeString(const char* value) { SetPartyTypeString(value); return *this;}
371
373
376 inline const Aws::String& GetGenderString() const{ return m_genderString; }
377 inline bool GenderStringHasBeenSet() const { return m_genderStringHasBeenSet; }
378 inline void SetGenderString(const Aws::String& value) { m_genderStringHasBeenSet = true; m_genderString = value; }
379 inline void SetGenderString(Aws::String&& value) { m_genderStringHasBeenSet = true; m_genderString = std::move(value); }
380 inline void SetGenderString(const char* value) { m_genderStringHasBeenSet = true; m_genderString.assign(value); }
381 inline UpdateProfileRequest& WithGenderString(const Aws::String& value) { SetGenderString(value); return *this;}
382 inline UpdateProfileRequest& WithGenderString(Aws::String&& value) { SetGenderString(std::move(value)); return *this;}
383 inline UpdateProfileRequest& WithGenderString(const char* value) { SetGenderString(value); return *this;}
385 private:
386
387 Aws::String m_domainName;
388 bool m_domainNameHasBeenSet = false;
389
390 Aws::String m_profileId;
391 bool m_profileIdHasBeenSet = false;
392
393 Aws::String m_additionalInformation;
394 bool m_additionalInformationHasBeenSet = false;
395
396 Aws::String m_accountNumber;
397 bool m_accountNumberHasBeenSet = false;
398
399 PartyType m_partyType;
400 bool m_partyTypeHasBeenSet = false;
401
402 Aws::String m_businessName;
403 bool m_businessNameHasBeenSet = false;
404
405 Aws::String m_firstName;
406 bool m_firstNameHasBeenSet = false;
407
408 Aws::String m_middleName;
409 bool m_middleNameHasBeenSet = false;
410
411 Aws::String m_lastName;
412 bool m_lastNameHasBeenSet = false;
413
414 Aws::String m_birthDate;
415 bool m_birthDateHasBeenSet = false;
416
417 Gender m_gender;
418 bool m_genderHasBeenSet = false;
419
420 Aws::String m_phoneNumber;
421 bool m_phoneNumberHasBeenSet = false;
422
423 Aws::String m_mobilePhoneNumber;
424 bool m_mobilePhoneNumberHasBeenSet = false;
425
426 Aws::String m_homePhoneNumber;
427 bool m_homePhoneNumberHasBeenSet = false;
428
429 Aws::String m_businessPhoneNumber;
430 bool m_businessPhoneNumberHasBeenSet = false;
431
432 Aws::String m_emailAddress;
433 bool m_emailAddressHasBeenSet = false;
434
435 Aws::String m_personalEmailAddress;
436 bool m_personalEmailAddressHasBeenSet = false;
437
438 Aws::String m_businessEmailAddress;
439 bool m_businessEmailAddressHasBeenSet = false;
440
441 UpdateAddress m_address;
442 bool m_addressHasBeenSet = false;
443
444 UpdateAddress m_shippingAddress;
445 bool m_shippingAddressHasBeenSet = false;
446
447 UpdateAddress m_mailingAddress;
448 bool m_mailingAddressHasBeenSet = false;
449
450 UpdateAddress m_billingAddress;
451 bool m_billingAddressHasBeenSet = false;
452
454 bool m_attributesHasBeenSet = false;
455
456 Aws::String m_partyTypeString;
457 bool m_partyTypeStringHasBeenSet = false;
458
459 Aws::String m_genderString;
460 bool m_genderStringHasBeenSet = false;
461 };
462
463} // namespace Model
464} // namespace CustomerProfiles
465} // namespace Aws
UpdateProfileRequest & WithLastName(const Aws::String &value)
UpdateProfileRequest & WithGenderString(const Aws::String &value)
UpdateProfileRequest & WithMobilePhoneNumber(const Aws::String &value)
UpdateProfileRequest & WithDomainName(const char *value)
UpdateProfileRequest & WithBusinessEmailAddress(Aws::String &&value)
UpdateProfileRequest & WithGenderString(const char *value)
UpdateProfileRequest & WithFirstName(const char *value)
UpdateProfileRequest & WithMobilePhoneNumber(Aws::String &&value)
UpdateProfileRequest & WithPartyTypeString(const char *value)
UpdateProfileRequest & WithProfileId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateProfileRequest & WithBillingAddress(UpdateAddress &&value)
UpdateProfileRequest & WithShippingAddress(UpdateAddress &&value)
UpdateProfileRequest & WithBirthDate(const Aws::String &value)
UpdateProfileRequest & WithFirstName(const Aws::String &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
UpdateProfileRequest & WithAddress(UpdateAddress &&value)
UpdateProfileRequest & WithHomePhoneNumber(const char *value)
UpdateProfileRequest & WithGenderString(Aws::String &&value)
UpdateProfileRequest & WithBusinessEmailAddress(const Aws::String &value)
UpdateProfileRequest & AddAttributes(Aws::String &&key, const char *value)
UpdateProfileRequest & WithEmailAddress(const char *value)
UpdateProfileRequest & AddAttributes(const char *key, Aws::String &&value)
UpdateProfileRequest & WithLastName(Aws::String &&value)
UpdateProfileRequest & WithBusinessName(const char *value)
UpdateProfileRequest & WithPersonalEmailAddress(Aws::String &&value)
UpdateProfileRequest & WithPartyType(PartyType &&value)
UpdateProfileRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
UpdateProfileRequest & WithBusinessEmailAddress(const char *value)
UpdateProfileRequest & WithShippingAddress(const UpdateAddress &value)
UpdateProfileRequest & WithMiddleName(const Aws::String &value)
UpdateProfileRequest & WithAdditionalInformation(const Aws::String &value)
UpdateProfileRequest & WithFirstName(Aws::String &&value)
UpdateProfileRequest & WithDomainName(Aws::String &&value)
UpdateProfileRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
UpdateProfileRequest & WithEmailAddress(const Aws::String &value)
UpdateProfileRequest & WithLastName(const char *value)
UpdateProfileRequest & WithBusinessName(Aws::String &&value)
UpdateProfileRequest & WithEmailAddress(Aws::String &&value)
UpdateProfileRequest & WithPersonalEmailAddress(const char *value)
UpdateProfileRequest & WithPartyTypeString(Aws::String &&value)
UpdateProfileRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
UpdateProfileRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
UpdateProfileRequest & WithMailingAddress(UpdateAddress &&value)
UpdateProfileRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
UpdateProfileRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
UpdateProfileRequest & WithMobilePhoneNumber(const char *value)
UpdateProfileRequest & WithMiddleName(const char *value)
UpdateProfileRequest & WithProfileId(const char *value)
UpdateProfileRequest & WithBusinessPhoneNumber(Aws::String &&value)
UpdateProfileRequest & WithAccountNumber(const char *value)
UpdateProfileRequest & WithBusinessPhoneNumber(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
UpdateProfileRequest & WithBusinessPhoneNumber(const char *value)
UpdateProfileRequest & WithBillingAddress(const UpdateAddress &value)
UpdateProfileRequest & WithAdditionalInformation(Aws::String &&value)
UpdateProfileRequest & WithMailingAddress(const UpdateAddress &value)
UpdateProfileRequest & WithHomePhoneNumber(Aws::String &&value)
UpdateProfileRequest & WithBirthDate(const char *value)
UpdateProfileRequest & WithDomainName(const Aws::String &value)
UpdateProfileRequest & WithPartyType(const PartyType &value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
UpdateProfileRequest & WithPhoneNumber(const Aws::String &value)
UpdateProfileRequest & WithPhoneNumber(Aws::String &&value)
UpdateProfileRequest & WithAccountNumber(const Aws::String &value)
UpdateProfileRequest & WithPhoneNumber(const char *value)
UpdateProfileRequest & WithAdditionalInformation(const char *value)
UpdateProfileRequest & WithBusinessName(const Aws::String &value)
UpdateProfileRequest & WithAccountNumber(Aws::String &&value)
UpdateProfileRequest & AddAttributes(const char *key, const char *value)
UpdateProfileRequest & WithPersonalEmailAddress(const Aws::String &value)
UpdateProfileRequest & WithAddress(const UpdateAddress &value)
UpdateProfileRequest & WithGender(Gender &&value)
UpdateProfileRequest & WithProfileId(const Aws::String &value)
UpdateProfileRequest & WithBirthDate(Aws::String &&value)
UpdateProfileRequest & WithPartyTypeString(const Aws::String &value)
UpdateProfileRequest & WithHomePhoneNumber(const Aws::String &value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
UpdateProfileRequest & WithGender(const Gender &value)
UpdateProfileRequest & WithMiddleName(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String