AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
Profile.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/Address.h>
12#include <aws/customer-profiles/model/EngagementPreferences.h>
13#include <aws/customer-profiles/model/FoundByKeyValue.h>
14#include <aws/customer-profiles/model/Gender.h>
15#include <aws/customer-profiles/model/PartyType.h>
16#include <aws/customer-profiles/model/ProfileType.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace CustomerProfiles {
28namespace Model {
29
35class Profile {
36 public:
37 AWS_CUSTOMERPROFILES_API Profile() = default;
38 AWS_CUSTOMERPROFILES_API Profile(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_API Profile& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetProfileId() const { return m_profileId; }
47 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
48 template <typename ProfileIdT = Aws::String>
49 void SetProfileId(ProfileIdT&& value) {
50 m_profileIdHasBeenSet = true;
51 m_profileId = std::forward<ProfileIdT>(value);
52 }
53 template <typename ProfileIdT = Aws::String>
54 Profile& WithProfileId(ProfileIdT&& value) {
55 SetProfileId(std::forward<ProfileIdT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetAccountNumber() const { return m_accountNumber; }
65 inline bool AccountNumberHasBeenSet() const { return m_accountNumberHasBeenSet; }
66 template <typename AccountNumberT = Aws::String>
67 void SetAccountNumber(AccountNumberT&& value) {
68 m_accountNumberHasBeenSet = true;
69 m_accountNumber = std::forward<AccountNumberT>(value);
70 }
71 template <typename AccountNumberT = Aws::String>
72 Profile& WithAccountNumber(AccountNumberT&& value) {
73 SetAccountNumber(std::forward<AccountNumberT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetAdditionalInformation() const { return m_additionalInformation; }
83 inline bool AdditionalInformationHasBeenSet() const { return m_additionalInformationHasBeenSet; }
84 template <typename AdditionalInformationT = Aws::String>
85 void SetAdditionalInformation(AdditionalInformationT&& value) {
86 m_additionalInformationHasBeenSet = true;
87 m_additionalInformation = std::forward<AdditionalInformationT>(value);
88 }
89 template <typename AdditionalInformationT = Aws::String>
90 Profile& WithAdditionalInformation(AdditionalInformationT&& value) {
91 SetAdditionalInformation(std::forward<AdditionalInformationT>(value));
92 return *this;
93 }
95
97
100 inline PartyType GetPartyType() const { return m_partyType; }
101 inline bool PartyTypeHasBeenSet() const { return m_partyTypeHasBeenSet; }
102 inline void SetPartyType(PartyType value) {
103 m_partyTypeHasBeenSet = true;
104 m_partyType = value;
105 }
107 SetPartyType(value);
108 return *this;
109 }
111
113
116 inline const Aws::String& GetBusinessName() const { return m_businessName; }
117 inline bool BusinessNameHasBeenSet() const { return m_businessNameHasBeenSet; }
118 template <typename BusinessNameT = Aws::String>
119 void SetBusinessName(BusinessNameT&& value) {
120 m_businessNameHasBeenSet = true;
121 m_businessName = std::forward<BusinessNameT>(value);
122 }
123 template <typename BusinessNameT = Aws::String>
124 Profile& WithBusinessName(BusinessNameT&& value) {
125 SetBusinessName(std::forward<BusinessNameT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::String& GetFirstName() const { return m_firstName; }
135 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
136 template <typename FirstNameT = Aws::String>
137 void SetFirstName(FirstNameT&& value) {
138 m_firstNameHasBeenSet = true;
139 m_firstName = std::forward<FirstNameT>(value);
140 }
141 template <typename FirstNameT = Aws::String>
142 Profile& WithFirstName(FirstNameT&& value) {
143 SetFirstName(std::forward<FirstNameT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetMiddleName() const { return m_middleName; }
153 inline bool MiddleNameHasBeenSet() const { return m_middleNameHasBeenSet; }
154 template <typename MiddleNameT = Aws::String>
155 void SetMiddleName(MiddleNameT&& value) {
156 m_middleNameHasBeenSet = true;
157 m_middleName = std::forward<MiddleNameT>(value);
158 }
159 template <typename MiddleNameT = Aws::String>
160 Profile& WithMiddleName(MiddleNameT&& value) {
161 SetMiddleName(std::forward<MiddleNameT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::String& GetLastName() const { return m_lastName; }
171 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
172 template <typename LastNameT = Aws::String>
173 void SetLastName(LastNameT&& value) {
174 m_lastNameHasBeenSet = true;
175 m_lastName = std::forward<LastNameT>(value);
176 }
177 template <typename LastNameT = Aws::String>
178 Profile& WithLastName(LastNameT&& value) {
179 SetLastName(std::forward<LastNameT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::String& GetBirthDate() const { return m_birthDate; }
189 inline bool BirthDateHasBeenSet() const { return m_birthDateHasBeenSet; }
190 template <typename BirthDateT = Aws::String>
191 void SetBirthDate(BirthDateT&& value) {
192 m_birthDateHasBeenSet = true;
193 m_birthDate = std::forward<BirthDateT>(value);
194 }
195 template <typename BirthDateT = Aws::String>
196 Profile& WithBirthDate(BirthDateT&& value) {
197 SetBirthDate(std::forward<BirthDateT>(value));
198 return *this;
199 }
201
203
206 inline Gender GetGender() const { return m_gender; }
207 inline bool GenderHasBeenSet() const { return m_genderHasBeenSet; }
208 inline void SetGender(Gender value) {
209 m_genderHasBeenSet = true;
210 m_gender = value;
211 }
212 inline Profile& WithGender(Gender value) {
213 SetGender(value);
214 return *this;
215 }
217
219
223 inline const Aws::String& GetPhoneNumber() const { return m_phoneNumber; }
224 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
225 template <typename PhoneNumberT = Aws::String>
226 void SetPhoneNumber(PhoneNumberT&& value) {
227 m_phoneNumberHasBeenSet = true;
228 m_phoneNumber = std::forward<PhoneNumberT>(value);
229 }
230 template <typename PhoneNumberT = Aws::String>
231 Profile& WithPhoneNumber(PhoneNumberT&& value) {
232 SetPhoneNumber(std::forward<PhoneNumberT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::String& GetMobilePhoneNumber() const { return m_mobilePhoneNumber; }
242 inline bool MobilePhoneNumberHasBeenSet() const { return m_mobilePhoneNumberHasBeenSet; }
243 template <typename MobilePhoneNumberT = Aws::String>
244 void SetMobilePhoneNumber(MobilePhoneNumberT&& value) {
245 m_mobilePhoneNumberHasBeenSet = true;
246 m_mobilePhoneNumber = std::forward<MobilePhoneNumberT>(value);
247 }
248 template <typename MobilePhoneNumberT = Aws::String>
249 Profile& WithMobilePhoneNumber(MobilePhoneNumberT&& value) {
250 SetMobilePhoneNumber(std::forward<MobilePhoneNumberT>(value));
251 return *this;
252 }
254
256
259 inline const Aws::String& GetHomePhoneNumber() const { return m_homePhoneNumber; }
260 inline bool HomePhoneNumberHasBeenSet() const { return m_homePhoneNumberHasBeenSet; }
261 template <typename HomePhoneNumberT = Aws::String>
262 void SetHomePhoneNumber(HomePhoneNumberT&& value) {
263 m_homePhoneNumberHasBeenSet = true;
264 m_homePhoneNumber = std::forward<HomePhoneNumberT>(value);
265 }
266 template <typename HomePhoneNumberT = Aws::String>
267 Profile& WithHomePhoneNumber(HomePhoneNumberT&& value) {
268 SetHomePhoneNumber(std::forward<HomePhoneNumberT>(value));
269 return *this;
270 }
272
274
277 inline const Aws::String& GetBusinessPhoneNumber() const { return m_businessPhoneNumber; }
278 inline bool BusinessPhoneNumberHasBeenSet() const { return m_businessPhoneNumberHasBeenSet; }
279 template <typename BusinessPhoneNumberT = Aws::String>
280 void SetBusinessPhoneNumber(BusinessPhoneNumberT&& value) {
281 m_businessPhoneNumberHasBeenSet = true;
282 m_businessPhoneNumber = std::forward<BusinessPhoneNumberT>(value);
283 }
284 template <typename BusinessPhoneNumberT = Aws::String>
285 Profile& WithBusinessPhoneNumber(BusinessPhoneNumberT&& value) {
286 SetBusinessPhoneNumber(std::forward<BusinessPhoneNumberT>(value));
287 return *this;
288 }
290
292
296 inline const Aws::String& GetEmailAddress() const { return m_emailAddress; }
297 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
298 template <typename EmailAddressT = Aws::String>
299 void SetEmailAddress(EmailAddressT&& value) {
300 m_emailAddressHasBeenSet = true;
301 m_emailAddress = std::forward<EmailAddressT>(value);
302 }
303 template <typename EmailAddressT = Aws::String>
304 Profile& WithEmailAddress(EmailAddressT&& value) {
305 SetEmailAddress(std::forward<EmailAddressT>(value));
306 return *this;
307 }
309
311
314 inline const Aws::String& GetPersonalEmailAddress() const { return m_personalEmailAddress; }
315 inline bool PersonalEmailAddressHasBeenSet() const { return m_personalEmailAddressHasBeenSet; }
316 template <typename PersonalEmailAddressT = Aws::String>
317 void SetPersonalEmailAddress(PersonalEmailAddressT&& value) {
318 m_personalEmailAddressHasBeenSet = true;
319 m_personalEmailAddress = std::forward<PersonalEmailAddressT>(value);
320 }
321 template <typename PersonalEmailAddressT = Aws::String>
322 Profile& WithPersonalEmailAddress(PersonalEmailAddressT&& value) {
323 SetPersonalEmailAddress(std::forward<PersonalEmailAddressT>(value));
324 return *this;
325 }
327
329
332 inline const Aws::String& GetBusinessEmailAddress() const { return m_businessEmailAddress; }
333 inline bool BusinessEmailAddressHasBeenSet() const { return m_businessEmailAddressHasBeenSet; }
334 template <typename BusinessEmailAddressT = Aws::String>
335 void SetBusinessEmailAddress(BusinessEmailAddressT&& value) {
336 m_businessEmailAddressHasBeenSet = true;
337 m_businessEmailAddress = std::forward<BusinessEmailAddressT>(value);
338 }
339 template <typename BusinessEmailAddressT = Aws::String>
340 Profile& WithBusinessEmailAddress(BusinessEmailAddressT&& value) {
341 SetBusinessEmailAddress(std::forward<BusinessEmailAddressT>(value));
342 return *this;
343 }
345
347
351 inline const Address& GetAddress() const { return m_address; }
352 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
353 template <typename AddressT = Address>
354 void SetAddress(AddressT&& value) {
355 m_addressHasBeenSet = true;
356 m_address = std::forward<AddressT>(value);
357 }
358 template <typename AddressT = Address>
359 Profile& WithAddress(AddressT&& value) {
360 SetAddress(std::forward<AddressT>(value));
361 return *this;
362 }
364
366
369 inline const Address& GetShippingAddress() const { return m_shippingAddress; }
370 inline bool ShippingAddressHasBeenSet() const { return m_shippingAddressHasBeenSet; }
371 template <typename ShippingAddressT = Address>
372 void SetShippingAddress(ShippingAddressT&& value) {
373 m_shippingAddressHasBeenSet = true;
374 m_shippingAddress = std::forward<ShippingAddressT>(value);
375 }
376 template <typename ShippingAddressT = Address>
377 Profile& WithShippingAddress(ShippingAddressT&& value) {
378 SetShippingAddress(std::forward<ShippingAddressT>(value));
379 return *this;
380 }
382
384
387 inline const Address& GetMailingAddress() const { return m_mailingAddress; }
388 inline bool MailingAddressHasBeenSet() const { return m_mailingAddressHasBeenSet; }
389 template <typename MailingAddressT = Address>
390 void SetMailingAddress(MailingAddressT&& value) {
391 m_mailingAddressHasBeenSet = true;
392 m_mailingAddress = std::forward<MailingAddressT>(value);
393 }
394 template <typename MailingAddressT = Address>
395 Profile& WithMailingAddress(MailingAddressT&& value) {
396 SetMailingAddress(std::forward<MailingAddressT>(value));
397 return *this;
398 }
400
402
405 inline const Address& GetBillingAddress() const { return m_billingAddress; }
406 inline bool BillingAddressHasBeenSet() const { return m_billingAddressHasBeenSet; }
407 template <typename BillingAddressT = Address>
408 void SetBillingAddress(BillingAddressT&& value) {
409 m_billingAddressHasBeenSet = true;
410 m_billingAddress = std::forward<BillingAddressT>(value);
411 }
412 template <typename BillingAddressT = Address>
413 Profile& WithBillingAddress(BillingAddressT&& value) {
414 SetBillingAddress(std::forward<BillingAddressT>(value));
415 return *this;
416 }
418
420
423 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const { return m_attributes; }
424 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
425 template <typename AttributesT = Aws::Map<Aws::String, Aws::String>>
426 void SetAttributes(AttributesT&& value) {
427 m_attributesHasBeenSet = true;
428 m_attributes = std::forward<AttributesT>(value);
429 }
430 template <typename AttributesT = Aws::Map<Aws::String, Aws::String>>
431 Profile& WithAttributes(AttributesT&& value) {
432 SetAttributes(std::forward<AttributesT>(value));
433 return *this;
434 }
435 template <typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
436 Profile& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
437 m_attributesHasBeenSet = true;
438 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
439 return *this;
440 }
442
444
465 inline const Aws::Vector<FoundByKeyValue>& GetFoundByItems() const { return m_foundByItems; }
466 inline bool FoundByItemsHasBeenSet() const { return m_foundByItemsHasBeenSet; }
467 template <typename FoundByItemsT = Aws::Vector<FoundByKeyValue>>
468 void SetFoundByItems(FoundByItemsT&& value) {
469 m_foundByItemsHasBeenSet = true;
470 m_foundByItems = std::forward<FoundByItemsT>(value);
471 }
472 template <typename FoundByItemsT = Aws::Vector<FoundByKeyValue>>
473 Profile& WithFoundByItems(FoundByItemsT&& value) {
474 SetFoundByItems(std::forward<FoundByItemsT>(value));
475 return *this;
476 }
477 template <typename FoundByItemsT = FoundByKeyValue>
478 Profile& AddFoundByItems(FoundByItemsT&& value) {
479 m_foundByItemsHasBeenSet = true;
480 m_foundByItems.emplace_back(std::forward<FoundByItemsT>(value));
481 return *this;
482 }
484
486
489 inline const Aws::String& GetPartyTypeString() const { return m_partyTypeString; }
490 inline bool PartyTypeStringHasBeenSet() const { return m_partyTypeStringHasBeenSet; }
491 template <typename PartyTypeStringT = Aws::String>
492 void SetPartyTypeString(PartyTypeStringT&& value) {
493 m_partyTypeStringHasBeenSet = true;
494 m_partyTypeString = std::forward<PartyTypeStringT>(value);
495 }
496 template <typename PartyTypeStringT = Aws::String>
497 Profile& WithPartyTypeString(PartyTypeStringT&& value) {
498 SetPartyTypeString(std::forward<PartyTypeStringT>(value));
499 return *this;
500 }
502
504
507 inline const Aws::String& GetGenderString() const { return m_genderString; }
508 inline bool GenderStringHasBeenSet() const { return m_genderStringHasBeenSet; }
509 template <typename GenderStringT = Aws::String>
510 void SetGenderString(GenderStringT&& value) {
511 m_genderStringHasBeenSet = true;
512 m_genderString = std::forward<GenderStringT>(value);
513 }
514 template <typename GenderStringT = Aws::String>
515 Profile& WithGenderString(GenderStringT&& value) {
516 SetGenderString(std::forward<GenderStringT>(value));
517 return *this;
518 }
520
522
525 inline ProfileType GetProfileType() const { return m_profileType; }
526 inline bool ProfileTypeHasBeenSet() const { return m_profileTypeHasBeenSet; }
527 inline void SetProfileType(ProfileType value) {
528 m_profileTypeHasBeenSet = true;
529 m_profileType = value;
530 }
532 SetProfileType(value);
533 return *this;
534 }
536
538
541 inline const EngagementPreferences& GetEngagementPreferences() const { return m_engagementPreferences; }
542 inline bool EngagementPreferencesHasBeenSet() const { return m_engagementPreferencesHasBeenSet; }
543 template <typename EngagementPreferencesT = EngagementPreferences>
544 void SetEngagementPreferences(EngagementPreferencesT&& value) {
545 m_engagementPreferencesHasBeenSet = true;
546 m_engagementPreferences = std::forward<EngagementPreferencesT>(value);
547 }
548 template <typename EngagementPreferencesT = EngagementPreferences>
549 Profile& WithEngagementPreferences(EngagementPreferencesT&& value) {
550 SetEngagementPreferences(std::forward<EngagementPreferencesT>(value));
551 return *this;
552 }
554 private:
555 Aws::String m_profileId;
556
557 Aws::String m_accountNumber;
558
559 Aws::String m_additionalInformation;
560
561 PartyType m_partyType{PartyType::NOT_SET};
562
563 Aws::String m_businessName;
564
565 Aws::String m_firstName;
566
567 Aws::String m_middleName;
568
569 Aws::String m_lastName;
570
571 Aws::String m_birthDate;
572
573 Gender m_gender{Gender::NOT_SET};
574
575 Aws::String m_phoneNumber;
576
577 Aws::String m_mobilePhoneNumber;
578
579 Aws::String m_homePhoneNumber;
580
581 Aws::String m_businessPhoneNumber;
582
583 Aws::String m_emailAddress;
584
585 Aws::String m_personalEmailAddress;
586
587 Aws::String m_businessEmailAddress;
588
589 Address m_address;
590
591 Address m_shippingAddress;
592
593 Address m_mailingAddress;
594
595 Address m_billingAddress;
596
598
599 Aws::Vector<FoundByKeyValue> m_foundByItems;
600
601 Aws::String m_partyTypeString;
602
603 Aws::String m_genderString;
604
605 ProfileType m_profileType{ProfileType::NOT_SET};
606
607 EngagementPreferences m_engagementPreferences;
608 bool m_profileIdHasBeenSet = false;
609 bool m_accountNumberHasBeenSet = false;
610 bool m_additionalInformationHasBeenSet = false;
611 bool m_partyTypeHasBeenSet = false;
612 bool m_businessNameHasBeenSet = false;
613 bool m_firstNameHasBeenSet = false;
614 bool m_middleNameHasBeenSet = false;
615 bool m_lastNameHasBeenSet = false;
616 bool m_birthDateHasBeenSet = false;
617 bool m_genderHasBeenSet = false;
618 bool m_phoneNumberHasBeenSet = false;
619 bool m_mobilePhoneNumberHasBeenSet = false;
620 bool m_homePhoneNumberHasBeenSet = false;
621 bool m_businessPhoneNumberHasBeenSet = false;
622 bool m_emailAddressHasBeenSet = false;
623 bool m_personalEmailAddressHasBeenSet = false;
624 bool m_businessEmailAddressHasBeenSet = false;
625 bool m_addressHasBeenSet = false;
626 bool m_shippingAddressHasBeenSet = false;
627 bool m_mailingAddressHasBeenSet = false;
628 bool m_billingAddressHasBeenSet = false;
629 bool m_attributesHasBeenSet = false;
630 bool m_foundByItemsHasBeenSet = false;
631 bool m_partyTypeStringHasBeenSet = false;
632 bool m_genderStringHasBeenSet = false;
633 bool m_profileTypeHasBeenSet = false;
634 bool m_engagementPreferencesHasBeenSet = false;
635};
636
637} // namespace Model
638} // namespace CustomerProfiles
639} // namespace Aws
void SetBusinessEmailAddress(BusinessEmailAddressT &&value)
Definition Profile.h:335
Profile & WithProfileId(ProfileIdT &&value)
Definition Profile.h:54
const Aws::String & GetMiddleName() const
Definition Profile.h:152
Profile & WithShippingAddress(ShippingAddressT &&value)
Definition Profile.h:377
Profile & WithFoundByItems(FoundByItemsT &&value)
Definition Profile.h:473
void SetAttributes(AttributesT &&value)
Definition Profile.h:426
const Aws::String & GetGenderString() const
Definition Profile.h:507
void SetBillingAddress(BillingAddressT &&value)
Definition Profile.h:408
const Aws::String & GetPartyTypeString() const
Definition Profile.h:489
const Aws::String & GetBusinessPhoneNumber() const
Definition Profile.h:277
Profile & WithEmailAddress(EmailAddressT &&value)
Definition Profile.h:304
void SetAccountNumber(AccountNumberT &&value)
Definition Profile.h:67
Profile & WithGenderString(GenderStringT &&value)
Definition Profile.h:515
Profile & WithMiddleName(MiddleNameT &&value)
Definition Profile.h:160
Profile & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
Definition Profile.h:436
const Aws::String & GetAdditionalInformation() const
Definition Profile.h:82
void SetHomePhoneNumber(HomePhoneNumberT &&value)
Definition Profile.h:262
const Aws::String & GetPhoneNumber() const
Definition Profile.h:223
Profile & WithAddress(AddressT &&value)
Definition Profile.h:359
const Aws::String & GetHomePhoneNumber() const
Definition Profile.h:259
Profile & WithPartyTypeString(PartyTypeStringT &&value)
Definition Profile.h:497
Profile & WithMobilePhoneNumber(MobilePhoneNumberT &&value)
Definition Profile.h:249
const Aws::String & GetBusinessEmailAddress() const
Definition Profile.h:332
const Address & GetAddress() const
Definition Profile.h:351
void SetFirstName(FirstNameT &&value)
Definition Profile.h:137
Profile & WithBusinessName(BusinessNameT &&value)
Definition Profile.h:124
Profile & WithGender(Gender value)
Definition Profile.h:212
void SetLastName(LastNameT &&value)
Definition Profile.h:173
void SetShippingAddress(ShippingAddressT &&value)
Definition Profile.h:372
const Aws::String & GetAccountNumber() const
Definition Profile.h:64
void SetMailingAddress(MailingAddressT &&value)
Definition Profile.h:390
void SetEngagementPreferences(EngagementPreferencesT &&value)
Definition Profile.h:544
void SetGenderString(GenderStringT &&value)
Definition Profile.h:510
Profile & WithBusinessPhoneNumber(BusinessPhoneNumberT &&value)
Definition Profile.h:285
Profile & WithFirstName(FirstNameT &&value)
Definition Profile.h:142
void SetProfileType(ProfileType value)
Definition Profile.h:527
Profile & WithBillingAddress(BillingAddressT &&value)
Definition Profile.h:413
const Aws::String & GetBirthDate() const
Definition Profile.h:188
Profile & WithAccountNumber(AccountNumberT &&value)
Definition Profile.h:72
const Address & GetBillingAddress() const
Definition Profile.h:405
const Aws::String & GetPersonalEmailAddress() const
Definition Profile.h:314
AWS_CUSTOMERPROFILES_API Profile(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProfileId() const
Definition Profile.h:46
AWS_CUSTOMERPROFILES_API Profile & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfileType GetProfileType() const
Definition Profile.h:525
Profile & WithPhoneNumber(PhoneNumberT &&value)
Definition Profile.h:231
const Aws::String & GetLastName() const
Definition Profile.h:170
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
Definition Profile.h:423
Profile & WithLastName(LastNameT &&value)
Definition Profile.h:178
void SetPhoneNumber(PhoneNumberT &&value)
Definition Profile.h:226
const EngagementPreferences & GetEngagementPreferences() const
Definition Profile.h:541
const Address & GetShippingAddress() const
Definition Profile.h:369
void SetMobilePhoneNumber(MobilePhoneNumberT &&value)
Definition Profile.h:244
void SetPersonalEmailAddress(PersonalEmailAddressT &&value)
Definition Profile.h:317
Profile & WithPartyType(PartyType value)
Definition Profile.h:106
void SetAdditionalInformation(AdditionalInformationT &&value)
Definition Profile.h:85
const Aws::String & GetFirstName() const
Definition Profile.h:134
void SetBirthDate(BirthDateT &&value)
Definition Profile.h:191
Profile & AddFoundByItems(FoundByItemsT &&value)
Definition Profile.h:478
Profile & WithEngagementPreferences(EngagementPreferencesT &&value)
Definition Profile.h:549
void SetBusinessPhoneNumber(BusinessPhoneNumberT &&value)
Definition Profile.h:280
Profile & WithAdditionalInformation(AdditionalInformationT &&value)
Definition Profile.h:90
Profile & WithMailingAddress(MailingAddressT &&value)
Definition Profile.h:395
void SetFoundByItems(FoundByItemsT &&value)
Definition Profile.h:468
Profile & WithBusinessEmailAddress(BusinessEmailAddressT &&value)
Definition Profile.h:340
Profile & WithBirthDate(BirthDateT &&value)
Definition Profile.h:196
const Address & GetMailingAddress() const
Definition Profile.h:387
void SetEmailAddress(EmailAddressT &&value)
Definition Profile.h:299
const Aws::String & GetEmailAddress() const
Definition Profile.h:296
const Aws::String & GetMobilePhoneNumber() const
Definition Profile.h:241
Profile & WithAttributes(AttributesT &&value)
Definition Profile.h:431
bool AdditionalInformationHasBeenSet() const
Definition Profile.h:83
void SetBusinessName(BusinessNameT &&value)
Definition Profile.h:119
void SetPartyTypeString(PartyTypeStringT &&value)
Definition Profile.h:492
AWS_CUSTOMERPROFILES_API Profile()=default
void SetAddress(AddressT &&value)
Definition Profile.h:354
void SetMiddleName(MiddleNameT &&value)
Definition Profile.h:155
const Aws::Vector< FoundByKeyValue > & GetFoundByItems() const
Definition Profile.h:465
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPartyType(PartyType value)
Definition Profile.h:102
Profile & WithPersonalEmailAddress(PersonalEmailAddressT &&value)
Definition Profile.h:322
const Aws::String & GetBusinessName() const
Definition Profile.h:116
Profile & WithHomePhoneNumber(HomePhoneNumberT &&value)
Definition Profile.h:267
Profile & WithProfileType(ProfileType value)
Definition Profile.h:531
void SetProfileId(ProfileIdT &&value)
Definition Profile.h:49
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue