AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Profile.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/model/PartyType.h>
10#include <aws/customer-profiles/model/Gender.h>
11#include <aws/customer-profiles/model/Address.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/customer-profiles/model/FoundByKeyValue.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace CustomerProfiles
28{
29namespace Model
30{
31
37 class Profile
38 {
39 public:
40 AWS_CUSTOMERPROFILES_API Profile();
41 AWS_CUSTOMERPROFILES_API Profile(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CUSTOMERPROFILES_API Profile& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetProfileId() const{ return m_profileId; }
51 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
52 inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; }
53 inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); }
54 inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); }
55 inline Profile& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
56 inline Profile& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
57 inline Profile& WithProfileId(const char* value) { SetProfileId(value); return *this;}
59
61
64 inline const Aws::String& GetAccountNumber() const{ return m_accountNumber; }
65 inline bool AccountNumberHasBeenSet() const { return m_accountNumberHasBeenSet; }
66 inline void SetAccountNumber(const Aws::String& value) { m_accountNumberHasBeenSet = true; m_accountNumber = value; }
67 inline void SetAccountNumber(Aws::String&& value) { m_accountNumberHasBeenSet = true; m_accountNumber = std::move(value); }
68 inline void SetAccountNumber(const char* value) { m_accountNumberHasBeenSet = true; m_accountNumber.assign(value); }
69 inline Profile& WithAccountNumber(const Aws::String& value) { SetAccountNumber(value); return *this;}
70 inline Profile& WithAccountNumber(Aws::String&& value) { SetAccountNumber(std::move(value)); return *this;}
71 inline Profile& WithAccountNumber(const char* value) { SetAccountNumber(value); return *this;}
73
75
78 inline const Aws::String& GetAdditionalInformation() const{ return m_additionalInformation; }
79 inline bool AdditionalInformationHasBeenSet() const { return m_additionalInformationHasBeenSet; }
80 inline void SetAdditionalInformation(const Aws::String& value) { m_additionalInformationHasBeenSet = true; m_additionalInformation = value; }
81 inline void SetAdditionalInformation(Aws::String&& value) { m_additionalInformationHasBeenSet = true; m_additionalInformation = std::move(value); }
82 inline void SetAdditionalInformation(const char* value) { m_additionalInformationHasBeenSet = true; m_additionalInformation.assign(value); }
83 inline Profile& WithAdditionalInformation(const Aws::String& value) { SetAdditionalInformation(value); return *this;}
84 inline Profile& WithAdditionalInformation(Aws::String&& value) { SetAdditionalInformation(std::move(value)); return *this;}
85 inline Profile& WithAdditionalInformation(const char* value) { SetAdditionalInformation(value); return *this;}
87
89
92 inline const PartyType& GetPartyType() const{ return m_partyType; }
93 inline bool PartyTypeHasBeenSet() const { return m_partyTypeHasBeenSet; }
94 inline void SetPartyType(const PartyType& value) { m_partyTypeHasBeenSet = true; m_partyType = value; }
95 inline void SetPartyType(PartyType&& value) { m_partyTypeHasBeenSet = true; m_partyType = std::move(value); }
96 inline Profile& WithPartyType(const PartyType& value) { SetPartyType(value); return *this;}
97 inline Profile& WithPartyType(PartyType&& value) { SetPartyType(std::move(value)); return *this;}
99
101
104 inline const Aws::String& GetBusinessName() const{ return m_businessName; }
105 inline bool BusinessNameHasBeenSet() const { return m_businessNameHasBeenSet; }
106 inline void SetBusinessName(const Aws::String& value) { m_businessNameHasBeenSet = true; m_businessName = value; }
107 inline void SetBusinessName(Aws::String&& value) { m_businessNameHasBeenSet = true; m_businessName = std::move(value); }
108 inline void SetBusinessName(const char* value) { m_businessNameHasBeenSet = true; m_businessName.assign(value); }
109 inline Profile& WithBusinessName(const Aws::String& value) { SetBusinessName(value); return *this;}
110 inline Profile& WithBusinessName(Aws::String&& value) { SetBusinessName(std::move(value)); return *this;}
111 inline Profile& WithBusinessName(const char* value) { SetBusinessName(value); return *this;}
113
115
118 inline const Aws::String& GetFirstName() const{ return m_firstName; }
119 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
120 inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; }
121 inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); }
122 inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); }
123 inline Profile& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;}
124 inline Profile& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;}
125 inline Profile& WithFirstName(const char* value) { SetFirstName(value); return *this;}
127
129
132 inline const Aws::String& GetMiddleName() const{ return m_middleName; }
133 inline bool MiddleNameHasBeenSet() const { return m_middleNameHasBeenSet; }
134 inline void SetMiddleName(const Aws::String& value) { m_middleNameHasBeenSet = true; m_middleName = value; }
135 inline void SetMiddleName(Aws::String&& value) { m_middleNameHasBeenSet = true; m_middleName = std::move(value); }
136 inline void SetMiddleName(const char* value) { m_middleNameHasBeenSet = true; m_middleName.assign(value); }
137 inline Profile& WithMiddleName(const Aws::String& value) { SetMiddleName(value); return *this;}
138 inline Profile& WithMiddleName(Aws::String&& value) { SetMiddleName(std::move(value)); return *this;}
139 inline Profile& WithMiddleName(const char* value) { SetMiddleName(value); return *this;}
141
143
146 inline const Aws::String& GetLastName() const{ return m_lastName; }
147 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
148 inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; }
149 inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); }
150 inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); }
151 inline Profile& WithLastName(const Aws::String& value) { SetLastName(value); return *this;}
152 inline Profile& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;}
153 inline Profile& WithLastName(const char* value) { SetLastName(value); return *this;}
155
157
160 inline const Aws::String& GetBirthDate() const{ return m_birthDate; }
161 inline bool BirthDateHasBeenSet() const { return m_birthDateHasBeenSet; }
162 inline void SetBirthDate(const Aws::String& value) { m_birthDateHasBeenSet = true; m_birthDate = value; }
163 inline void SetBirthDate(Aws::String&& value) { m_birthDateHasBeenSet = true; m_birthDate = std::move(value); }
164 inline void SetBirthDate(const char* value) { m_birthDateHasBeenSet = true; m_birthDate.assign(value); }
165 inline Profile& WithBirthDate(const Aws::String& value) { SetBirthDate(value); return *this;}
166 inline Profile& WithBirthDate(Aws::String&& value) { SetBirthDate(std::move(value)); return *this;}
167 inline Profile& WithBirthDate(const char* value) { SetBirthDate(value); return *this;}
169
171
174 inline const Gender& GetGender() const{ return m_gender; }
175 inline bool GenderHasBeenSet() const { return m_genderHasBeenSet; }
176 inline void SetGender(const Gender& value) { m_genderHasBeenSet = true; m_gender = value; }
177 inline void SetGender(Gender&& value) { m_genderHasBeenSet = true; m_gender = std::move(value); }
178 inline Profile& WithGender(const Gender& value) { SetGender(value); return *this;}
179 inline Profile& WithGender(Gender&& value) { SetGender(std::move(value)); return *this;}
181
183
187 inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
188 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
189 inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
190 inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
191 inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
192 inline Profile& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
193 inline Profile& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
194 inline Profile& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
196
198
201 inline const Aws::String& GetMobilePhoneNumber() const{ return m_mobilePhoneNumber; }
202 inline bool MobilePhoneNumberHasBeenSet() const { return m_mobilePhoneNumberHasBeenSet; }
203 inline void SetMobilePhoneNumber(const Aws::String& value) { m_mobilePhoneNumberHasBeenSet = true; m_mobilePhoneNumber = value; }
204 inline void SetMobilePhoneNumber(Aws::String&& value) { m_mobilePhoneNumberHasBeenSet = true; m_mobilePhoneNumber = std::move(value); }
205 inline void SetMobilePhoneNumber(const char* value) { m_mobilePhoneNumberHasBeenSet = true; m_mobilePhoneNumber.assign(value); }
206 inline Profile& WithMobilePhoneNumber(const Aws::String& value) { SetMobilePhoneNumber(value); return *this;}
207 inline Profile& WithMobilePhoneNumber(Aws::String&& value) { SetMobilePhoneNumber(std::move(value)); return *this;}
208 inline Profile& WithMobilePhoneNumber(const char* value) { SetMobilePhoneNumber(value); return *this;}
210
212
215 inline const Aws::String& GetHomePhoneNumber() const{ return m_homePhoneNumber; }
216 inline bool HomePhoneNumberHasBeenSet() const { return m_homePhoneNumberHasBeenSet; }
217 inline void SetHomePhoneNumber(const Aws::String& value) { m_homePhoneNumberHasBeenSet = true; m_homePhoneNumber = value; }
218 inline void SetHomePhoneNumber(Aws::String&& value) { m_homePhoneNumberHasBeenSet = true; m_homePhoneNumber = std::move(value); }
219 inline void SetHomePhoneNumber(const char* value) { m_homePhoneNumberHasBeenSet = true; m_homePhoneNumber.assign(value); }
220 inline Profile& WithHomePhoneNumber(const Aws::String& value) { SetHomePhoneNumber(value); return *this;}
221 inline Profile& WithHomePhoneNumber(Aws::String&& value) { SetHomePhoneNumber(std::move(value)); return *this;}
222 inline Profile& WithHomePhoneNumber(const char* value) { SetHomePhoneNumber(value); return *this;}
224
226
229 inline const Aws::String& GetBusinessPhoneNumber() const{ return m_businessPhoneNumber; }
230 inline bool BusinessPhoneNumberHasBeenSet() const { return m_businessPhoneNumberHasBeenSet; }
231 inline void SetBusinessPhoneNumber(const Aws::String& value) { m_businessPhoneNumberHasBeenSet = true; m_businessPhoneNumber = value; }
232 inline void SetBusinessPhoneNumber(Aws::String&& value) { m_businessPhoneNumberHasBeenSet = true; m_businessPhoneNumber = std::move(value); }
233 inline void SetBusinessPhoneNumber(const char* value) { m_businessPhoneNumberHasBeenSet = true; m_businessPhoneNumber.assign(value); }
234 inline Profile& WithBusinessPhoneNumber(const Aws::String& value) { SetBusinessPhoneNumber(value); return *this;}
235 inline Profile& WithBusinessPhoneNumber(Aws::String&& value) { SetBusinessPhoneNumber(std::move(value)); return *this;}
236 inline Profile& WithBusinessPhoneNumber(const char* value) { SetBusinessPhoneNumber(value); return *this;}
238
240
244 inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
245 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
246 inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
247 inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
248 inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
249 inline Profile& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
250 inline Profile& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
251 inline Profile& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
253
255
258 inline const Aws::String& GetPersonalEmailAddress() const{ return m_personalEmailAddress; }
259 inline bool PersonalEmailAddressHasBeenSet() const { return m_personalEmailAddressHasBeenSet; }
260 inline void SetPersonalEmailAddress(const Aws::String& value) { m_personalEmailAddressHasBeenSet = true; m_personalEmailAddress = value; }
261 inline void SetPersonalEmailAddress(Aws::String&& value) { m_personalEmailAddressHasBeenSet = true; m_personalEmailAddress = std::move(value); }
262 inline void SetPersonalEmailAddress(const char* value) { m_personalEmailAddressHasBeenSet = true; m_personalEmailAddress.assign(value); }
263 inline Profile& WithPersonalEmailAddress(const Aws::String& value) { SetPersonalEmailAddress(value); return *this;}
264 inline Profile& WithPersonalEmailAddress(Aws::String&& value) { SetPersonalEmailAddress(std::move(value)); return *this;}
265 inline Profile& WithPersonalEmailAddress(const char* value) { SetPersonalEmailAddress(value); return *this;}
267
269
272 inline const Aws::String& GetBusinessEmailAddress() const{ return m_businessEmailAddress; }
273 inline bool BusinessEmailAddressHasBeenSet() const { return m_businessEmailAddressHasBeenSet; }
274 inline void SetBusinessEmailAddress(const Aws::String& value) { m_businessEmailAddressHasBeenSet = true; m_businessEmailAddress = value; }
275 inline void SetBusinessEmailAddress(Aws::String&& value) { m_businessEmailAddressHasBeenSet = true; m_businessEmailAddress = std::move(value); }
276 inline void SetBusinessEmailAddress(const char* value) { m_businessEmailAddressHasBeenSet = true; m_businessEmailAddress.assign(value); }
277 inline Profile& WithBusinessEmailAddress(const Aws::String& value) { SetBusinessEmailAddress(value); return *this;}
278 inline Profile& WithBusinessEmailAddress(Aws::String&& value) { SetBusinessEmailAddress(std::move(value)); return *this;}
279 inline Profile& WithBusinessEmailAddress(const char* value) { SetBusinessEmailAddress(value); return *this;}
281
283
287 inline const Address& GetAddress() const{ return m_address; }
288 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
289 inline void SetAddress(const Address& value) { m_addressHasBeenSet = true; m_address = value; }
290 inline void SetAddress(Address&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
291 inline Profile& WithAddress(const Address& value) { SetAddress(value); return *this;}
292 inline Profile& WithAddress(Address&& value) { SetAddress(std::move(value)); return *this;}
294
296
299 inline const Address& GetShippingAddress() const{ return m_shippingAddress; }
300 inline bool ShippingAddressHasBeenSet() const { return m_shippingAddressHasBeenSet; }
301 inline void SetShippingAddress(const Address& value) { m_shippingAddressHasBeenSet = true; m_shippingAddress = value; }
302 inline void SetShippingAddress(Address&& value) { m_shippingAddressHasBeenSet = true; m_shippingAddress = std::move(value); }
303 inline Profile& WithShippingAddress(const Address& value) { SetShippingAddress(value); return *this;}
304 inline Profile& WithShippingAddress(Address&& value) { SetShippingAddress(std::move(value)); return *this;}
306
308
311 inline const Address& GetMailingAddress() const{ return m_mailingAddress; }
312 inline bool MailingAddressHasBeenSet() const { return m_mailingAddressHasBeenSet; }
313 inline void SetMailingAddress(const Address& value) { m_mailingAddressHasBeenSet = true; m_mailingAddress = value; }
314 inline void SetMailingAddress(Address&& value) { m_mailingAddressHasBeenSet = true; m_mailingAddress = std::move(value); }
315 inline Profile& WithMailingAddress(const Address& value) { SetMailingAddress(value); return *this;}
316 inline Profile& WithMailingAddress(Address&& value) { SetMailingAddress(std::move(value)); return *this;}
318
320
323 inline const Address& GetBillingAddress() const{ return m_billingAddress; }
324 inline bool BillingAddressHasBeenSet() const { return m_billingAddressHasBeenSet; }
325 inline void SetBillingAddress(const Address& value) { m_billingAddressHasBeenSet = true; m_billingAddress = value; }
326 inline void SetBillingAddress(Address&& value) { m_billingAddressHasBeenSet = true; m_billingAddress = std::move(value); }
327 inline Profile& WithBillingAddress(const Address& value) { SetBillingAddress(value); return *this;}
328 inline Profile& WithBillingAddress(Address&& value) { SetBillingAddress(std::move(value)); return *this;}
330
332
335 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
336 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
337 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
338 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
339 inline Profile& WithAttributes(const Aws::Map<Aws::String, Aws::String>& value) { SetAttributes(value); return *this;}
340 inline Profile& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
341 inline Profile& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
342 inline Profile& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
343 inline Profile& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
344 inline Profile& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
345 inline Profile& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
346 inline Profile& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
347 inline Profile& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
349
351
372 inline const Aws::Vector<FoundByKeyValue>& GetFoundByItems() const{ return m_foundByItems; }
373 inline bool FoundByItemsHasBeenSet() const { return m_foundByItemsHasBeenSet; }
374 inline void SetFoundByItems(const Aws::Vector<FoundByKeyValue>& value) { m_foundByItemsHasBeenSet = true; m_foundByItems = value; }
375 inline void SetFoundByItems(Aws::Vector<FoundByKeyValue>&& value) { m_foundByItemsHasBeenSet = true; m_foundByItems = std::move(value); }
376 inline Profile& WithFoundByItems(const Aws::Vector<FoundByKeyValue>& value) { SetFoundByItems(value); return *this;}
377 inline Profile& WithFoundByItems(Aws::Vector<FoundByKeyValue>&& value) { SetFoundByItems(std::move(value)); return *this;}
378 inline Profile& AddFoundByItems(const FoundByKeyValue& value) { m_foundByItemsHasBeenSet = true; m_foundByItems.push_back(value); return *this; }
379 inline Profile& AddFoundByItems(FoundByKeyValue&& value) { m_foundByItemsHasBeenSet = true; m_foundByItems.push_back(std::move(value)); return *this; }
381
383
386 inline const Aws::String& GetPartyTypeString() const{ return m_partyTypeString; }
387 inline bool PartyTypeStringHasBeenSet() const { return m_partyTypeStringHasBeenSet; }
388 inline void SetPartyTypeString(const Aws::String& value) { m_partyTypeStringHasBeenSet = true; m_partyTypeString = value; }
389 inline void SetPartyTypeString(Aws::String&& value) { m_partyTypeStringHasBeenSet = true; m_partyTypeString = std::move(value); }
390 inline void SetPartyTypeString(const char* value) { m_partyTypeStringHasBeenSet = true; m_partyTypeString.assign(value); }
391 inline Profile& WithPartyTypeString(const Aws::String& value) { SetPartyTypeString(value); return *this;}
392 inline Profile& WithPartyTypeString(Aws::String&& value) { SetPartyTypeString(std::move(value)); return *this;}
393 inline Profile& WithPartyTypeString(const char* value) { SetPartyTypeString(value); return *this;}
395
397
400 inline const Aws::String& GetGenderString() const{ return m_genderString; }
401 inline bool GenderStringHasBeenSet() const { return m_genderStringHasBeenSet; }
402 inline void SetGenderString(const Aws::String& value) { m_genderStringHasBeenSet = true; m_genderString = value; }
403 inline void SetGenderString(Aws::String&& value) { m_genderStringHasBeenSet = true; m_genderString = std::move(value); }
404 inline void SetGenderString(const char* value) { m_genderStringHasBeenSet = true; m_genderString.assign(value); }
405 inline Profile& WithGenderString(const Aws::String& value) { SetGenderString(value); return *this;}
406 inline Profile& WithGenderString(Aws::String&& value) { SetGenderString(std::move(value)); return *this;}
407 inline Profile& WithGenderString(const char* value) { SetGenderString(value); return *this;}
409 private:
410
411 Aws::String m_profileId;
412 bool m_profileIdHasBeenSet = false;
413
414 Aws::String m_accountNumber;
415 bool m_accountNumberHasBeenSet = false;
416
417 Aws::String m_additionalInformation;
418 bool m_additionalInformationHasBeenSet = false;
419
420 PartyType m_partyType;
421 bool m_partyTypeHasBeenSet = false;
422
423 Aws::String m_businessName;
424 bool m_businessNameHasBeenSet = false;
425
426 Aws::String m_firstName;
427 bool m_firstNameHasBeenSet = false;
428
429 Aws::String m_middleName;
430 bool m_middleNameHasBeenSet = false;
431
432 Aws::String m_lastName;
433 bool m_lastNameHasBeenSet = false;
434
435 Aws::String m_birthDate;
436 bool m_birthDateHasBeenSet = false;
437
438 Gender m_gender;
439 bool m_genderHasBeenSet = false;
440
441 Aws::String m_phoneNumber;
442 bool m_phoneNumberHasBeenSet = false;
443
444 Aws::String m_mobilePhoneNumber;
445 bool m_mobilePhoneNumberHasBeenSet = false;
446
447 Aws::String m_homePhoneNumber;
448 bool m_homePhoneNumberHasBeenSet = false;
449
450 Aws::String m_businessPhoneNumber;
451 bool m_businessPhoneNumberHasBeenSet = false;
452
453 Aws::String m_emailAddress;
454 bool m_emailAddressHasBeenSet = false;
455
456 Aws::String m_personalEmailAddress;
457 bool m_personalEmailAddressHasBeenSet = false;
458
459 Aws::String m_businessEmailAddress;
460 bool m_businessEmailAddressHasBeenSet = false;
461
462 Address m_address;
463 bool m_addressHasBeenSet = false;
464
465 Address m_shippingAddress;
466 bool m_shippingAddressHasBeenSet = false;
467
468 Address m_mailingAddress;
469 bool m_mailingAddressHasBeenSet = false;
470
471 Address m_billingAddress;
472 bool m_billingAddressHasBeenSet = false;
473
475 bool m_attributesHasBeenSet = false;
476
477 Aws::Vector<FoundByKeyValue> m_foundByItems;
478 bool m_foundByItemsHasBeenSet = false;
479
480 Aws::String m_partyTypeString;
481 bool m_partyTypeStringHasBeenSet = false;
482
483 Aws::String m_genderString;
484 bool m_genderStringHasBeenSet = false;
485 };
486
487} // namespace Model
488} // namespace CustomerProfiles
489} // namespace Aws
const Gender & GetGender() const
Definition Profile.h:174
void SetBusinessEmailAddress(Aws::String &&value)
Definition Profile.h:275
void SetLastName(const char *value)
Definition Profile.h:150
const PartyType & GetPartyType() const
Definition Profile.h:92
void SetPhoneNumber(const char *value)
Definition Profile.h:191
Profile & AddAttributes(Aws::String &&key, Aws::String &&value)
Definition Profile.h:344
const Aws::String & GetMiddleName() const
Definition Profile.h:132
Profile & WithBirthDate(const char *value)
Definition Profile.h:167
Profile & WithGenderString(const Aws::String &value)
Definition Profile.h:405
Profile & WithFirstName(const char *value)
Definition Profile.h:125
Profile & WithLastName(Aws::String &&value)
Definition Profile.h:152
Profile & WithGenderString(Aws::String &&value)
Definition Profile.h:406
const Aws::String & GetGenderString() const
Definition Profile.h:400
void SetBusinessEmailAddress(const char *value)
Definition Profile.h:276
const Aws::String & GetPartyTypeString() const
Definition Profile.h:386
Profile & WithBillingAddress(Address &&value)
Definition Profile.h:328
Profile & WithPartyType(PartyType &&value)
Definition Profile.h:97
AWS_CUSTOMERPROFILES_API Profile()
const Aws::String & GetBusinessPhoneNumber() const
Definition Profile.h:229
void SetBusinessPhoneNumber(Aws::String &&value)
Definition Profile.h:232
Profile & WithAccountNumber(const char *value)
Definition Profile.h:71
void SetMailingAddress(const Address &value)
Definition Profile.h:313
void SetProfileId(Aws::String &&value)
Definition Profile.h:53
void SetAdditionalInformation(Aws::String &&value)
Definition Profile.h:81
void SetAddress(Address &&value)
Definition Profile.h:290
void SetShippingAddress(Address &&value)
Definition Profile.h:302
void SetBusinessName(const Aws::String &value)
Definition Profile.h:106
void SetMobilePhoneNumber(const Aws::String &value)
Definition Profile.h:203
const Aws::String & GetAdditionalInformation() const
Definition Profile.h:78
void SetGenderString(const char *value)
Definition Profile.h:404
Profile & WithHomePhoneNumber(Aws::String &&value)
Definition Profile.h:221
const Aws::String & GetPhoneNumber() const
Definition Profile.h:187
const Aws::String & GetHomePhoneNumber() const
Definition Profile.h:215
Profile & WithAdditionalInformation(const char *value)
Definition Profile.h:85
void SetMobilePhoneNumber(Aws::String &&value)
Definition Profile.h:204
const Aws::String & GetBusinessEmailAddress() const
Definition Profile.h:272
const Address & GetAddress() const
Definition Profile.h:287
Profile & WithMailingAddress(const Address &value)
Definition Profile.h:315
void SetGenderString(const Aws::String &value)
Definition Profile.h:402
void SetBillingAddress(const Address &value)
Definition Profile.h:325
Profile & WithAccountNumber(const Aws::String &value)
Definition Profile.h:69
void SetLastName(const Aws::String &value)
Definition Profile.h:148
void SetFirstName(Aws::String &&value)
Definition Profile.h:121
void SetHomePhoneNumber(Aws::String &&value)
Definition Profile.h:218
void SetFoundByItems(const Aws::Vector< FoundByKeyValue > &value)
Definition Profile.h:374
Profile & AddAttributes(Aws::String &&key, const Aws::String &value)
Definition Profile.h:342
void SetAccountNumber(Aws::String &&value)
Definition Profile.h:67
Profile & AddAttributes(const Aws::String &key, const Aws::String &value)
Definition Profile.h:341
const Aws::String & GetAccountNumber() const
Definition Profile.h:64
Profile & AddAttributes(Aws::String &&key, const char *value)
Definition Profile.h:346
void SetProfileId(const Aws::String &value)
Definition Profile.h:52
Profile & WithPartyTypeString(const char *value)
Definition Profile.h:393
void SetFirstName(const Aws::String &value)
Definition Profile.h:120
void SetBusinessPhoneNumber(const char *value)
Definition Profile.h:233
Profile & WithProfileId(const char *value)
Definition Profile.h:57
Profile & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition Profile.h:339
Profile & WithGender(Gender &&value)
Definition Profile.h:179
void SetAccountNumber(const Aws::String &value)
Definition Profile.h:66
Profile & WithShippingAddress(Address &&value)
Definition Profile.h:304
Profile & WithProfileId(Aws::String &&value)
Definition Profile.h:56
Profile & WithFirstName(Aws::String &&value)
Definition Profile.h:124
Profile & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition Profile.h:340
Profile & WithBusinessEmailAddress(Aws::String &&value)
Definition Profile.h:278
const Aws::String & GetBirthDate() const
Definition Profile.h:160
void SetAddress(const Address &value)
Definition Profile.h:289
Profile & WithMobilePhoneNumber(Aws::String &&value)
Definition Profile.h:207
void SetPartyType(const PartyType &value)
Definition Profile.h:94
Profile & AddAttributes(const Aws::String &key, Aws::String &&value)
Definition Profile.h:343
const Address & GetBillingAddress() const
Definition Profile.h:323
Profile & WithBusinessEmailAddress(const Aws::String &value)
Definition Profile.h:277
void SetGender(Gender &&value)
Definition Profile.h:177
Profile & WithAccountNumber(Aws::String &&value)
Definition Profile.h:70
Profile & WithBusinessName(const Aws::String &value)
Definition Profile.h:109
Profile & WithBusinessPhoneNumber(Aws::String &&value)
Definition Profile.h:235
void SetHomePhoneNumber(const Aws::String &value)
Definition Profile.h:217
const Aws::String & GetPersonalEmailAddress() const
Definition Profile.h:258
AWS_CUSTOMERPROFILES_API Profile(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProfileId() const
Definition Profile.h:50
AWS_CUSTOMERPROFILES_API Profile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBusinessPhoneNumber(const Aws::String &value)
Definition Profile.h:231
void SetEmailAddress(Aws::String &&value)
Definition Profile.h:247
Profile & WithBirthDate(const Aws::String &value)
Definition Profile.h:165
Profile & WithEmailAddress(const Aws::String &value)
Definition Profile.h:249
Profile & WithProfileId(const Aws::String &value)
Definition Profile.h:55
void SetPartyTypeString(const Aws::String &value)
Definition Profile.h:388
void SetProfileId(const char *value)
Definition Profile.h:54
const Aws::String & GetLastName() const
Definition Profile.h:146
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
Definition Profile.h:335
void SetMiddleName(const char *value)
Definition Profile.h:136
void SetMiddleName(const Aws::String &value)
Definition Profile.h:134
void SetPersonalEmailAddress(const Aws::String &value)
Definition Profile.h:260
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition Profile.h:338
void SetFirstName(const char *value)
Definition Profile.h:122
void SetMailingAddress(Address &&value)
Definition Profile.h:314
void SetPartyType(PartyType &&value)
Definition Profile.h:95
Profile & WithPhoneNumber(const Aws::String &value)
Definition Profile.h:192
Profile & WithFoundByItems(const Aws::Vector< FoundByKeyValue > &value)
Definition Profile.h:376
Profile & WithBirthDate(Aws::String &&value)
Definition Profile.h:166
Profile & AddFoundByItems(FoundByKeyValue &&value)
Definition Profile.h:379
Profile & WithAddress(Address &&value)
Definition Profile.h:292
void SetPhoneNumber(const Aws::String &value)
Definition Profile.h:189
Profile & WithAddress(const Address &value)
Definition Profile.h:291
Profile & WithEmailAddress(const char *value)
Definition Profile.h:251
void SetAdditionalInformation(const char *value)
Definition Profile.h:82
const Address & GetShippingAddress() const
Definition Profile.h:299
void SetAdditionalInformation(const Aws::String &value)
Definition Profile.h:80
Profile & WithHomePhoneNumber(const Aws::String &value)
Definition Profile.h:220
Profile & WithShippingAddress(const Address &value)
Definition Profile.h:303
void SetGenderString(Aws::String &&value)
Definition Profile.h:403
void SetShippingAddress(const Address &value)
Definition Profile.h:301
void SetGender(const Gender &value)
Definition Profile.h:176
Profile & WithPersonalEmailAddress(Aws::String &&value)
Definition Profile.h:264
void SetPersonalEmailAddress(Aws::String &&value)
Definition Profile.h:261
Profile & WithMobilePhoneNumber(const char *value)
Definition Profile.h:208
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition Profile.h:337
void SetBirthDate(const char *value)
Definition Profile.h:164
Profile & WithMailingAddress(Address &&value)
Definition Profile.h:316
Profile & WithMiddleName(Aws::String &&value)
Definition Profile.h:138
void SetEmailAddress(const char *value)
Definition Profile.h:248
Profile & AddAttributes(const char *key, Aws::String &&value)
Definition Profile.h:345
Profile & WithBillingAddress(const Address &value)
Definition Profile.h:327
const Aws::String & GetFirstName() const
Definition Profile.h:118
Profile & WithBusinessName(Aws::String &&value)
Definition Profile.h:110
void SetPartyTypeString(Aws::String &&value)
Definition Profile.h:389
Profile & WithAdditionalInformation(Aws::String &&value)
Definition Profile.h:84
Profile & AddAttributes(const char *key, const char *value)
Definition Profile.h:347
Profile & WithLastName(const char *value)
Definition Profile.h:153
void SetLastName(Aws::String &&value)
Definition Profile.h:149
void SetHomePhoneNumber(const char *value)
Definition Profile.h:219
Profile & WithBusinessPhoneNumber(const Aws::String &value)
Definition Profile.h:234
void SetBusinessName(Aws::String &&value)
Definition Profile.h:107
const Address & GetMailingAddress() const
Definition Profile.h:311
void SetBirthDate(const Aws::String &value)
Definition Profile.h:162
Profile & WithGender(const Gender &value)
Definition Profile.h:178
void SetMobilePhoneNumber(const char *value)
Definition Profile.h:205
Profile & WithPhoneNumber(const char *value)
Definition Profile.h:194
Profile & WithGenderString(const char *value)
Definition Profile.h:407
void SetMiddleName(Aws::String &&value)
Definition Profile.h:135
Profile & WithPersonalEmailAddress(const Aws::String &value)
Definition Profile.h:263
Profile & WithAdditionalInformation(const Aws::String &value)
Definition Profile.h:83
const Aws::String & GetEmailAddress() const
Definition Profile.h:244
void SetBillingAddress(Address &&value)
Definition Profile.h:326
const Aws::String & GetMobilePhoneNumber() const
Definition Profile.h:201
Profile & WithFirstName(const Aws::String &value)
Definition Profile.h:123
Profile & AddFoundByItems(const FoundByKeyValue &value)
Definition Profile.h:378
void SetPartyTypeString(const char *value)
Definition Profile.h:390
void SetFoundByItems(Aws::Vector< FoundByKeyValue > &&value)
Definition Profile.h:375
Profile & WithPartyType(const PartyType &value)
Definition Profile.h:96
Profile & WithEmailAddress(Aws::String &&value)
Definition Profile.h:250
void SetPersonalEmailAddress(const char *value)
Definition Profile.h:262
void SetAccountNumber(const char *value)
Definition Profile.h:68
bool AdditionalInformationHasBeenSet() const
Definition Profile.h:79
Profile & WithHomePhoneNumber(const char *value)
Definition Profile.h:222
Profile & WithMiddleName(const Aws::String &value)
Definition Profile.h:137
void SetPhoneNumber(Aws::String &&value)
Definition Profile.h:190
const Aws::Vector< FoundByKeyValue > & GetFoundByItems() const
Definition Profile.h:372
void SetBusinessEmailAddress(const Aws::String &value)
Definition Profile.h:274
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
Profile & WithPersonalEmailAddress(const char *value)
Definition Profile.h:265
Profile & WithBusinessPhoneNumber(const char *value)
Definition Profile.h:236
Profile & WithLastName(const Aws::String &value)
Definition Profile.h:151
Profile & WithMiddleName(const char *value)
Definition Profile.h:139
void SetBirthDate(Aws::String &&value)
Definition Profile.h:163
Profile & WithPartyTypeString(const Aws::String &value)
Definition Profile.h:391
void SetEmailAddress(const Aws::String &value)
Definition Profile.h:246
Profile & WithFoundByItems(Aws::Vector< FoundByKeyValue > &&value)
Definition Profile.h:377
Profile & WithBusinessEmailAddress(const char *value)
Definition Profile.h:279
Profile & WithPartyTypeString(Aws::String &&value)
Definition Profile.h:392
const Aws::String & GetBusinessName() const
Definition Profile.h:104
void SetBusinessName(const char *value)
Definition Profile.h:108
Profile & WithBusinessName(const char *value)
Definition Profile.h:111
Profile & WithMobilePhoneNumber(const Aws::String &value)
Definition Profile.h:206
Profile & WithPhoneNumber(Aws::String &&value)
Definition Profile.h:193
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