AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
FieldSourceProfileIds.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/customer-profiles/CustomerProfiles_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CustomerProfiles {
21namespace Model {
22
30 public:
31 AWS_CUSTOMERPROFILES_API FieldSourceProfileIds() = default;
32 AWS_CUSTOMERPROFILES_API FieldSourceProfileIds(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CUSTOMERPROFILES_API FieldSourceProfileIds& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAccountNumber() const { return m_accountNumber; }
41 inline bool AccountNumberHasBeenSet() const { return m_accountNumberHasBeenSet; }
42 template <typename AccountNumberT = Aws::String>
43 void SetAccountNumber(AccountNumberT&& value) {
44 m_accountNumberHasBeenSet = true;
45 m_accountNumber = std::forward<AccountNumberT>(value);
46 }
47 template <typename AccountNumberT = Aws::String>
48 FieldSourceProfileIds& WithAccountNumber(AccountNumberT&& value) {
49 SetAccountNumber(std::forward<AccountNumberT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetAdditionalInformation() const { return m_additionalInformation; }
59 inline bool AdditionalInformationHasBeenSet() const { return m_additionalInformationHasBeenSet; }
60 template <typename AdditionalInformationT = Aws::String>
61 void SetAdditionalInformation(AdditionalInformationT&& value) {
62 m_additionalInformationHasBeenSet = true;
63 m_additionalInformation = std::forward<AdditionalInformationT>(value);
64 }
65 template <typename AdditionalInformationT = Aws::String>
66 FieldSourceProfileIds& WithAdditionalInformation(AdditionalInformationT&& value) {
67 SetAdditionalInformation(std::forward<AdditionalInformationT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetPartyType() const { return m_partyType; }
77 inline bool PartyTypeHasBeenSet() const { return m_partyTypeHasBeenSet; }
78 template <typename PartyTypeT = Aws::String>
79 void SetPartyType(PartyTypeT&& value) {
80 m_partyTypeHasBeenSet = true;
81 m_partyType = std::forward<PartyTypeT>(value);
82 }
83 template <typename PartyTypeT = Aws::String>
84 FieldSourceProfileIds& WithPartyType(PartyTypeT&& value) {
85 SetPartyType(std::forward<PartyTypeT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetBusinessName() const { return m_businessName; }
95 inline bool BusinessNameHasBeenSet() const { return m_businessNameHasBeenSet; }
96 template <typename BusinessNameT = Aws::String>
97 void SetBusinessName(BusinessNameT&& value) {
98 m_businessNameHasBeenSet = true;
99 m_businessName = std::forward<BusinessNameT>(value);
100 }
101 template <typename BusinessNameT = Aws::String>
102 FieldSourceProfileIds& WithBusinessName(BusinessNameT&& value) {
103 SetBusinessName(std::forward<BusinessNameT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetFirstName() const { return m_firstName; }
113 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
114 template <typename FirstNameT = Aws::String>
115 void SetFirstName(FirstNameT&& value) {
116 m_firstNameHasBeenSet = true;
117 m_firstName = std::forward<FirstNameT>(value);
118 }
119 template <typename FirstNameT = Aws::String>
121 SetFirstName(std::forward<FirstNameT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetMiddleName() const { return m_middleName; }
131 inline bool MiddleNameHasBeenSet() const { return m_middleNameHasBeenSet; }
132 template <typename MiddleNameT = Aws::String>
133 void SetMiddleName(MiddleNameT&& value) {
134 m_middleNameHasBeenSet = true;
135 m_middleName = std::forward<MiddleNameT>(value);
136 }
137 template <typename MiddleNameT = Aws::String>
138 FieldSourceProfileIds& WithMiddleName(MiddleNameT&& value) {
139 SetMiddleName(std::forward<MiddleNameT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetLastName() const { return m_lastName; }
149 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
150 template <typename LastNameT = Aws::String>
151 void SetLastName(LastNameT&& value) {
152 m_lastNameHasBeenSet = true;
153 m_lastName = std::forward<LastNameT>(value);
154 }
155 template <typename LastNameT = Aws::String>
157 SetLastName(std::forward<LastNameT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::String& GetBirthDate() const { return m_birthDate; }
167 inline bool BirthDateHasBeenSet() const { return m_birthDateHasBeenSet; }
168 template <typename BirthDateT = Aws::String>
169 void SetBirthDate(BirthDateT&& value) {
170 m_birthDateHasBeenSet = true;
171 m_birthDate = std::forward<BirthDateT>(value);
172 }
173 template <typename BirthDateT = Aws::String>
175 SetBirthDate(std::forward<BirthDateT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::String& GetGender() const { return m_gender; }
185 inline bool GenderHasBeenSet() const { return m_genderHasBeenSet; }
186 template <typename GenderT = Aws::String>
187 void SetGender(GenderT&& value) {
188 m_genderHasBeenSet = true;
189 m_gender = std::forward<GenderT>(value);
190 }
191 template <typename GenderT = Aws::String>
193 SetGender(std::forward<GenderT>(value));
194 return *this;
195 }
197
199
202 inline const Aws::String& GetPhoneNumber() const { return m_phoneNumber; }
203 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
204 template <typename PhoneNumberT = Aws::String>
205 void SetPhoneNumber(PhoneNumberT&& value) {
206 m_phoneNumberHasBeenSet = true;
207 m_phoneNumber = std::forward<PhoneNumberT>(value);
208 }
209 template <typename PhoneNumberT = Aws::String>
210 FieldSourceProfileIds& WithPhoneNumber(PhoneNumberT&& value) {
211 SetPhoneNumber(std::forward<PhoneNumberT>(value));
212 return *this;
213 }
215
217
220 inline const Aws::String& GetMobilePhoneNumber() const { return m_mobilePhoneNumber; }
221 inline bool MobilePhoneNumberHasBeenSet() const { return m_mobilePhoneNumberHasBeenSet; }
222 template <typename MobilePhoneNumberT = Aws::String>
223 void SetMobilePhoneNumber(MobilePhoneNumberT&& value) {
224 m_mobilePhoneNumberHasBeenSet = true;
225 m_mobilePhoneNumber = std::forward<MobilePhoneNumberT>(value);
226 }
227 template <typename MobilePhoneNumberT = Aws::String>
228 FieldSourceProfileIds& WithMobilePhoneNumber(MobilePhoneNumberT&& value) {
229 SetMobilePhoneNumber(std::forward<MobilePhoneNumberT>(value));
230 return *this;
231 }
233
235
238 inline const Aws::String& GetHomePhoneNumber() const { return m_homePhoneNumber; }
239 inline bool HomePhoneNumberHasBeenSet() const { return m_homePhoneNumberHasBeenSet; }
240 template <typename HomePhoneNumberT = Aws::String>
241 void SetHomePhoneNumber(HomePhoneNumberT&& value) {
242 m_homePhoneNumberHasBeenSet = true;
243 m_homePhoneNumber = std::forward<HomePhoneNumberT>(value);
244 }
245 template <typename HomePhoneNumberT = Aws::String>
246 FieldSourceProfileIds& WithHomePhoneNumber(HomePhoneNumberT&& value) {
247 SetHomePhoneNumber(std::forward<HomePhoneNumberT>(value));
248 return *this;
249 }
251
253
256 inline const Aws::String& GetBusinessPhoneNumber() const { return m_businessPhoneNumber; }
257 inline bool BusinessPhoneNumberHasBeenSet() const { return m_businessPhoneNumberHasBeenSet; }
258 template <typename BusinessPhoneNumberT = Aws::String>
259 void SetBusinessPhoneNumber(BusinessPhoneNumberT&& value) {
260 m_businessPhoneNumberHasBeenSet = true;
261 m_businessPhoneNumber = std::forward<BusinessPhoneNumberT>(value);
262 }
263 template <typename BusinessPhoneNumberT = Aws::String>
264 FieldSourceProfileIds& WithBusinessPhoneNumber(BusinessPhoneNumberT&& value) {
265 SetBusinessPhoneNumber(std::forward<BusinessPhoneNumberT>(value));
266 return *this;
267 }
269
271
274 inline const Aws::String& GetEmailAddress() const { return m_emailAddress; }
275 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
276 template <typename EmailAddressT = Aws::String>
277 void SetEmailAddress(EmailAddressT&& value) {
278 m_emailAddressHasBeenSet = true;
279 m_emailAddress = std::forward<EmailAddressT>(value);
280 }
281 template <typename EmailAddressT = Aws::String>
282 FieldSourceProfileIds& WithEmailAddress(EmailAddressT&& value) {
283 SetEmailAddress(std::forward<EmailAddressT>(value));
284 return *this;
285 }
287
289
292 inline const Aws::String& GetPersonalEmailAddress() const { return m_personalEmailAddress; }
293 inline bool PersonalEmailAddressHasBeenSet() const { return m_personalEmailAddressHasBeenSet; }
294 template <typename PersonalEmailAddressT = Aws::String>
295 void SetPersonalEmailAddress(PersonalEmailAddressT&& value) {
296 m_personalEmailAddressHasBeenSet = true;
297 m_personalEmailAddress = std::forward<PersonalEmailAddressT>(value);
298 }
299 template <typename PersonalEmailAddressT = Aws::String>
300 FieldSourceProfileIds& WithPersonalEmailAddress(PersonalEmailAddressT&& value) {
301 SetPersonalEmailAddress(std::forward<PersonalEmailAddressT>(value));
302 return *this;
303 }
305
307
310 inline const Aws::String& GetBusinessEmailAddress() const { return m_businessEmailAddress; }
311 inline bool BusinessEmailAddressHasBeenSet() const { return m_businessEmailAddressHasBeenSet; }
312 template <typename BusinessEmailAddressT = Aws::String>
313 void SetBusinessEmailAddress(BusinessEmailAddressT&& value) {
314 m_businessEmailAddressHasBeenSet = true;
315 m_businessEmailAddress = std::forward<BusinessEmailAddressT>(value);
316 }
317 template <typename BusinessEmailAddressT = Aws::String>
318 FieldSourceProfileIds& WithBusinessEmailAddress(BusinessEmailAddressT&& value) {
319 SetBusinessEmailAddress(std::forward<BusinessEmailAddressT>(value));
320 return *this;
321 }
323
325
328 inline const Aws::String& GetAddress() const { return m_address; }
329 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
330 template <typename AddressT = Aws::String>
331 void SetAddress(AddressT&& value) {
332 m_addressHasBeenSet = true;
333 m_address = std::forward<AddressT>(value);
334 }
335 template <typename AddressT = Aws::String>
337 SetAddress(std::forward<AddressT>(value));
338 return *this;
339 }
341
343
346 inline const Aws::String& GetShippingAddress() const { return m_shippingAddress; }
347 inline bool ShippingAddressHasBeenSet() const { return m_shippingAddressHasBeenSet; }
348 template <typename ShippingAddressT = Aws::String>
349 void SetShippingAddress(ShippingAddressT&& value) {
350 m_shippingAddressHasBeenSet = true;
351 m_shippingAddress = std::forward<ShippingAddressT>(value);
352 }
353 template <typename ShippingAddressT = Aws::String>
354 FieldSourceProfileIds& WithShippingAddress(ShippingAddressT&& value) {
355 SetShippingAddress(std::forward<ShippingAddressT>(value));
356 return *this;
357 }
359
361
364 inline const Aws::String& GetMailingAddress() const { return m_mailingAddress; }
365 inline bool MailingAddressHasBeenSet() const { return m_mailingAddressHasBeenSet; }
366 template <typename MailingAddressT = Aws::String>
367 void SetMailingAddress(MailingAddressT&& value) {
368 m_mailingAddressHasBeenSet = true;
369 m_mailingAddress = std::forward<MailingAddressT>(value);
370 }
371 template <typename MailingAddressT = Aws::String>
372 FieldSourceProfileIds& WithMailingAddress(MailingAddressT&& value) {
373 SetMailingAddress(std::forward<MailingAddressT>(value));
374 return *this;
375 }
377
379
382 inline const Aws::String& GetBillingAddress() const { return m_billingAddress; }
383 inline bool BillingAddressHasBeenSet() const { return m_billingAddressHasBeenSet; }
384 template <typename BillingAddressT = Aws::String>
385 void SetBillingAddress(BillingAddressT&& value) {
386 m_billingAddressHasBeenSet = true;
387 m_billingAddress = std::forward<BillingAddressT>(value);
388 }
389 template <typename BillingAddressT = Aws::String>
390 FieldSourceProfileIds& WithBillingAddress(BillingAddressT&& value) {
391 SetBillingAddress(std::forward<BillingAddressT>(value));
392 return *this;
393 }
395
397
400 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const { return m_attributes; }
401 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
402 template <typename AttributesT = Aws::Map<Aws::String, Aws::String>>
403 void SetAttributes(AttributesT&& value) {
404 m_attributesHasBeenSet = true;
405 m_attributes = std::forward<AttributesT>(value);
406 }
407 template <typename AttributesT = Aws::Map<Aws::String, Aws::String>>
408 FieldSourceProfileIds& WithAttributes(AttributesT&& value) {
409 SetAttributes(std::forward<AttributesT>(value));
410 return *this;
411 }
412 template <typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
413 FieldSourceProfileIds& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
414 m_attributesHasBeenSet = true;
415 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
416 return *this;
417 }
419
421
424 inline const Aws::String& GetProfileType() const { return m_profileType; }
425 inline bool ProfileTypeHasBeenSet() const { return m_profileTypeHasBeenSet; }
426 template <typename ProfileTypeT = Aws::String>
427 void SetProfileType(ProfileTypeT&& value) {
428 m_profileTypeHasBeenSet = true;
429 m_profileType = std::forward<ProfileTypeT>(value);
430 }
431 template <typename ProfileTypeT = Aws::String>
432 FieldSourceProfileIds& WithProfileType(ProfileTypeT&& value) {
433 SetProfileType(std::forward<ProfileTypeT>(value));
434 return *this;
435 }
437
439
442 inline const Aws::String& GetEngagementPreferences() const { return m_engagementPreferences; }
443 inline bool EngagementPreferencesHasBeenSet() const { return m_engagementPreferencesHasBeenSet; }
444 template <typename EngagementPreferencesT = Aws::String>
445 void SetEngagementPreferences(EngagementPreferencesT&& value) {
446 m_engagementPreferencesHasBeenSet = true;
447 m_engagementPreferences = std::forward<EngagementPreferencesT>(value);
448 }
449 template <typename EngagementPreferencesT = Aws::String>
450 FieldSourceProfileIds& WithEngagementPreferences(EngagementPreferencesT&& value) {
451 SetEngagementPreferences(std::forward<EngagementPreferencesT>(value));
452 return *this;
453 }
455 private:
456 Aws::String m_accountNumber;
457
458 Aws::String m_additionalInformation;
459
460 Aws::String m_partyType;
461
462 Aws::String m_businessName;
463
464 Aws::String m_firstName;
465
466 Aws::String m_middleName;
467
468 Aws::String m_lastName;
469
470 Aws::String m_birthDate;
471
472 Aws::String m_gender;
473
474 Aws::String m_phoneNumber;
475
476 Aws::String m_mobilePhoneNumber;
477
478 Aws::String m_homePhoneNumber;
479
480 Aws::String m_businessPhoneNumber;
481
482 Aws::String m_emailAddress;
483
484 Aws::String m_personalEmailAddress;
485
486 Aws::String m_businessEmailAddress;
487
488 Aws::String m_address;
489
490 Aws::String m_shippingAddress;
491
492 Aws::String m_mailingAddress;
493
494 Aws::String m_billingAddress;
495
497
498 Aws::String m_profileType;
499
500 Aws::String m_engagementPreferences;
501 bool m_accountNumberHasBeenSet = false;
502 bool m_additionalInformationHasBeenSet = false;
503 bool m_partyTypeHasBeenSet = false;
504 bool m_businessNameHasBeenSet = false;
505 bool m_firstNameHasBeenSet = false;
506 bool m_middleNameHasBeenSet = false;
507 bool m_lastNameHasBeenSet = false;
508 bool m_birthDateHasBeenSet = false;
509 bool m_genderHasBeenSet = false;
510 bool m_phoneNumberHasBeenSet = false;
511 bool m_mobilePhoneNumberHasBeenSet = false;
512 bool m_homePhoneNumberHasBeenSet = false;
513 bool m_businessPhoneNumberHasBeenSet = false;
514 bool m_emailAddressHasBeenSet = false;
515 bool m_personalEmailAddressHasBeenSet = false;
516 bool m_businessEmailAddressHasBeenSet = false;
517 bool m_addressHasBeenSet = false;
518 bool m_shippingAddressHasBeenSet = false;
519 bool m_mailingAddressHasBeenSet = false;
520 bool m_billingAddressHasBeenSet = false;
521 bool m_attributesHasBeenSet = false;
522 bool m_profileTypeHasBeenSet = false;
523 bool m_engagementPreferencesHasBeenSet = false;
524};
525
526} // namespace Model
527} // namespace CustomerProfiles
528} // namespace Aws
void SetPersonalEmailAddress(PersonalEmailAddressT &&value)
FieldSourceProfileIds & WithBirthDate(BirthDateT &&value)
void SetEngagementPreferences(EngagementPreferencesT &&value)
FieldSourceProfileIds & WithAccountNumber(AccountNumberT &&value)
AWS_CUSTOMERPROFILES_API FieldSourceProfileIds & operator=(Aws::Utils::Json::JsonView jsonValue)
FieldSourceProfileIds & WithEngagementPreferences(EngagementPreferencesT &&value)
void SetBusinessEmailAddress(BusinessEmailAddressT &&value)
FieldSourceProfileIds & WithPhoneNumber(PhoneNumberT &&value)
FieldSourceProfileIds & WithBillingAddress(BillingAddressT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
FieldSourceProfileIds & WithBusinessPhoneNumber(BusinessPhoneNumberT &&value)
FieldSourceProfileIds & WithMiddleName(MiddleNameT &&value)
FieldSourceProfileIds & WithAdditionalInformation(AdditionalInformationT &&value)
FieldSourceProfileIds & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
FieldSourceProfileIds & WithFirstName(FirstNameT &&value)
FieldSourceProfileIds & WithAddress(AddressT &&value)
AWS_CUSTOMERPROFILES_API FieldSourceProfileIds(Aws::Utils::Json::JsonView jsonValue)
FieldSourceProfileIds & WithHomePhoneNumber(HomePhoneNumberT &&value)
FieldSourceProfileIds & WithBusinessName(BusinessNameT &&value)
void SetBusinessPhoneNumber(BusinessPhoneNumberT &&value)
AWS_CUSTOMERPROFILES_API FieldSourceProfileIds()=default
FieldSourceProfileIds & WithPartyType(PartyTypeT &&value)
FieldSourceProfileIds & WithLastName(LastNameT &&value)
FieldSourceProfileIds & WithBusinessEmailAddress(BusinessEmailAddressT &&value)
FieldSourceProfileIds & WithShippingAddress(ShippingAddressT &&value)
FieldSourceProfileIds & WithAttributes(AttributesT &&value)
FieldSourceProfileIds & WithGender(GenderT &&value)
FieldSourceProfileIds & WithPersonalEmailAddress(PersonalEmailAddressT &&value)
FieldSourceProfileIds & WithMobilePhoneNumber(MobilePhoneNumberT &&value)
FieldSourceProfileIds & WithEmailAddress(EmailAddressT &&value)
void SetAdditionalInformation(AdditionalInformationT &&value)
FieldSourceProfileIds & WithProfileType(ProfileTypeT &&value)
FieldSourceProfileIds & WithMailingAddress(MailingAddressT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
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
Aws::Utils::Json::JsonValue JsonValue