AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CustomerProfileAttributes.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QConnect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QCONNECT_API CustomerProfileAttributes() = default;
39 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
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) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
50 template<typename ProfileIdT = Aws::String>
51 CustomerProfileAttributes& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetProfileARN() const { return m_profileARN; }
59 inline bool ProfileARNHasBeenSet() const { return m_profileARNHasBeenSet; }
60 template<typename ProfileARNT = Aws::String>
61 void SetProfileARN(ProfileARNT&& value) { m_profileARNHasBeenSet = true; m_profileARN = std::forward<ProfileARNT>(value); }
62 template<typename ProfileARNT = Aws::String>
63 CustomerProfileAttributes& WithProfileARN(ProfileARNT&& value) { SetProfileARN(std::forward<ProfileARNT>(value)); return *this;}
65
67
70 inline const Aws::String& GetFirstName() const { return m_firstName; }
71 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
72 template<typename FirstNameT = Aws::String>
73 void SetFirstName(FirstNameT&& value) { m_firstNameHasBeenSet = true; m_firstName = std::forward<FirstNameT>(value); }
74 template<typename FirstNameT = Aws::String>
75 CustomerProfileAttributes& WithFirstName(FirstNameT&& value) { SetFirstName(std::forward<FirstNameT>(value)); return *this;}
77
79
82 inline const Aws::String& GetMiddleName() const { return m_middleName; }
83 inline bool MiddleNameHasBeenSet() const { return m_middleNameHasBeenSet; }
84 template<typename MiddleNameT = Aws::String>
85 void SetMiddleName(MiddleNameT&& value) { m_middleNameHasBeenSet = true; m_middleName = std::forward<MiddleNameT>(value); }
86 template<typename MiddleNameT = Aws::String>
87 CustomerProfileAttributes& WithMiddleName(MiddleNameT&& value) { SetMiddleName(std::forward<MiddleNameT>(value)); return *this;}
89
91
94 inline const Aws::String& GetLastName() const { return m_lastName; }
95 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
96 template<typename LastNameT = Aws::String>
97 void SetLastName(LastNameT&& value) { m_lastNameHasBeenSet = true; m_lastName = std::forward<LastNameT>(value); }
98 template<typename LastNameT = Aws::String>
99 CustomerProfileAttributes& WithLastName(LastNameT&& value) { SetLastName(std::forward<LastNameT>(value)); return *this;}
101
103
106 inline const Aws::String& GetAccountNumber() const { return m_accountNumber; }
107 inline bool AccountNumberHasBeenSet() const { return m_accountNumberHasBeenSet; }
108 template<typename AccountNumberT = Aws::String>
109 void SetAccountNumber(AccountNumberT&& value) { m_accountNumberHasBeenSet = true; m_accountNumber = std::forward<AccountNumberT>(value); }
110 template<typename AccountNumberT = Aws::String>
111 CustomerProfileAttributes& WithAccountNumber(AccountNumberT&& value) { SetAccountNumber(std::forward<AccountNumberT>(value)); return *this;}
113
115
119 inline const Aws::String& GetEmailAddress() const { return m_emailAddress; }
120 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
121 template<typename EmailAddressT = Aws::String>
122 void SetEmailAddress(EmailAddressT&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::forward<EmailAddressT>(value); }
123 template<typename EmailAddressT = Aws::String>
124 CustomerProfileAttributes& WithEmailAddress(EmailAddressT&& value) { SetEmailAddress(std::forward<EmailAddressT>(value)); return *this;}
126
128
132 inline const Aws::String& GetPhoneNumber() const { return m_phoneNumber; }
133 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
134 template<typename PhoneNumberT = Aws::String>
135 void SetPhoneNumber(PhoneNumberT&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::forward<PhoneNumberT>(value); }
136 template<typename PhoneNumberT = Aws::String>
137 CustomerProfileAttributes& WithPhoneNumber(PhoneNumberT&& value) { SetPhoneNumber(std::forward<PhoneNumberT>(value)); return *this;}
139
141
144 inline const Aws::String& GetAdditionalInformation() const { return m_additionalInformation; }
145 inline bool AdditionalInformationHasBeenSet() const { return m_additionalInformationHasBeenSet; }
146 template<typename AdditionalInformationT = Aws::String>
147 void SetAdditionalInformation(AdditionalInformationT&& value) { m_additionalInformationHasBeenSet = true; m_additionalInformation = std::forward<AdditionalInformationT>(value); }
148 template<typename AdditionalInformationT = Aws::String>
149 CustomerProfileAttributes& WithAdditionalInformation(AdditionalInformationT&& value) { SetAdditionalInformation(std::forward<AdditionalInformationT>(value)); return *this;}
151
153
156 inline const Aws::String& GetPartyType() const { return m_partyType; }
157 inline bool PartyTypeHasBeenSet() const { return m_partyTypeHasBeenSet; }
158 template<typename PartyTypeT = Aws::String>
159 void SetPartyType(PartyTypeT&& value) { m_partyTypeHasBeenSet = true; m_partyType = std::forward<PartyTypeT>(value); }
160 template<typename PartyTypeT = Aws::String>
161 CustomerProfileAttributes& WithPartyType(PartyTypeT&& value) { SetPartyType(std::forward<PartyTypeT>(value)); return *this;}
163
165
168 inline const Aws::String& GetBusinessName() const { return m_businessName; }
169 inline bool BusinessNameHasBeenSet() const { return m_businessNameHasBeenSet; }
170 template<typename BusinessNameT = Aws::String>
171 void SetBusinessName(BusinessNameT&& value) { m_businessNameHasBeenSet = true; m_businessName = std::forward<BusinessNameT>(value); }
172 template<typename BusinessNameT = Aws::String>
173 CustomerProfileAttributes& WithBusinessName(BusinessNameT&& value) { SetBusinessName(std::forward<BusinessNameT>(value)); return *this;}
175
177
180 inline const Aws::String& GetBirthDate() const { return m_birthDate; }
181 inline bool BirthDateHasBeenSet() const { return m_birthDateHasBeenSet; }
182 template<typename BirthDateT = Aws::String>
183 void SetBirthDate(BirthDateT&& value) { m_birthDateHasBeenSet = true; m_birthDate = std::forward<BirthDateT>(value); }
184 template<typename BirthDateT = Aws::String>
185 CustomerProfileAttributes& WithBirthDate(BirthDateT&& value) { SetBirthDate(std::forward<BirthDateT>(value)); return *this;}
187
189
192 inline const Aws::String& GetGender() const { return m_gender; }
193 inline bool GenderHasBeenSet() const { return m_genderHasBeenSet; }
194 template<typename GenderT = Aws::String>
195 void SetGender(GenderT&& value) { m_genderHasBeenSet = true; m_gender = std::forward<GenderT>(value); }
196 template<typename GenderT = Aws::String>
197 CustomerProfileAttributes& WithGender(GenderT&& value) { SetGender(std::forward<GenderT>(value)); return *this;}
199
201
204 inline const Aws::String& GetMobilePhoneNumber() const { return m_mobilePhoneNumber; }
205 inline bool MobilePhoneNumberHasBeenSet() const { return m_mobilePhoneNumberHasBeenSet; }
206 template<typename MobilePhoneNumberT = Aws::String>
207 void SetMobilePhoneNumber(MobilePhoneNumberT&& value) { m_mobilePhoneNumberHasBeenSet = true; m_mobilePhoneNumber = std::forward<MobilePhoneNumberT>(value); }
208 template<typename MobilePhoneNumberT = Aws::String>
209 CustomerProfileAttributes& WithMobilePhoneNumber(MobilePhoneNumberT&& value) { SetMobilePhoneNumber(std::forward<MobilePhoneNumberT>(value)); return *this;}
211
213
216 inline const Aws::String& GetHomePhoneNumber() const { return m_homePhoneNumber; }
217 inline bool HomePhoneNumberHasBeenSet() const { return m_homePhoneNumberHasBeenSet; }
218 template<typename HomePhoneNumberT = Aws::String>
219 void SetHomePhoneNumber(HomePhoneNumberT&& value) { m_homePhoneNumberHasBeenSet = true; m_homePhoneNumber = std::forward<HomePhoneNumberT>(value); }
220 template<typename HomePhoneNumberT = Aws::String>
221 CustomerProfileAttributes& WithHomePhoneNumber(HomePhoneNumberT&& value) { SetHomePhoneNumber(std::forward<HomePhoneNumberT>(value)); return *this;}
223
225
228 inline const Aws::String& GetBusinessPhoneNumber() const { return m_businessPhoneNumber; }
229 inline bool BusinessPhoneNumberHasBeenSet() const { return m_businessPhoneNumberHasBeenSet; }
230 template<typename BusinessPhoneNumberT = Aws::String>
231 void SetBusinessPhoneNumber(BusinessPhoneNumberT&& value) { m_businessPhoneNumberHasBeenSet = true; m_businessPhoneNumber = std::forward<BusinessPhoneNumberT>(value); }
232 template<typename BusinessPhoneNumberT = Aws::String>
233 CustomerProfileAttributes& WithBusinessPhoneNumber(BusinessPhoneNumberT&& value) { SetBusinessPhoneNumber(std::forward<BusinessPhoneNumberT>(value)); return *this;}
235
237
240 inline const Aws::String& GetBusinessEmailAddress() const { return m_businessEmailAddress; }
241 inline bool BusinessEmailAddressHasBeenSet() const { return m_businessEmailAddressHasBeenSet; }
242 template<typename BusinessEmailAddressT = Aws::String>
243 void SetBusinessEmailAddress(BusinessEmailAddressT&& value) { m_businessEmailAddressHasBeenSet = true; m_businessEmailAddress = std::forward<BusinessEmailAddressT>(value); }
244 template<typename BusinessEmailAddressT = Aws::String>
245 CustomerProfileAttributes& WithBusinessEmailAddress(BusinessEmailAddressT&& value) { SetBusinessEmailAddress(std::forward<BusinessEmailAddressT>(value)); return *this;}
247
249
252 inline const Aws::String& GetAddress1() const { return m_address1; }
253 inline bool Address1HasBeenSet() const { return m_address1HasBeenSet; }
254 template<typename Address1T = Aws::String>
255 void SetAddress1(Address1T&& value) { m_address1HasBeenSet = true; m_address1 = std::forward<Address1T>(value); }
256 template<typename Address1T = Aws::String>
257 CustomerProfileAttributes& WithAddress1(Address1T&& value) { SetAddress1(std::forward<Address1T>(value)); return *this;}
259
261
264 inline const Aws::String& GetAddress2() const { return m_address2; }
265 inline bool Address2HasBeenSet() const { return m_address2HasBeenSet; }
266 template<typename Address2T = Aws::String>
267 void SetAddress2(Address2T&& value) { m_address2HasBeenSet = true; m_address2 = std::forward<Address2T>(value); }
268 template<typename Address2T = Aws::String>
269 CustomerProfileAttributes& WithAddress2(Address2T&& value) { SetAddress2(std::forward<Address2T>(value)); return *this;}
271
273
276 inline const Aws::String& GetAddress3() const { return m_address3; }
277 inline bool Address3HasBeenSet() const { return m_address3HasBeenSet; }
278 template<typename Address3T = Aws::String>
279 void SetAddress3(Address3T&& value) { m_address3HasBeenSet = true; m_address3 = std::forward<Address3T>(value); }
280 template<typename Address3T = Aws::String>
281 CustomerProfileAttributes& WithAddress3(Address3T&& value) { SetAddress3(std::forward<Address3T>(value)); return *this;}
283
285
288 inline const Aws::String& GetAddress4() const { return m_address4; }
289 inline bool Address4HasBeenSet() const { return m_address4HasBeenSet; }
290 template<typename Address4T = Aws::String>
291 void SetAddress4(Address4T&& value) { m_address4HasBeenSet = true; m_address4 = std::forward<Address4T>(value); }
292 template<typename Address4T = Aws::String>
293 CustomerProfileAttributes& WithAddress4(Address4T&& value) { SetAddress4(std::forward<Address4T>(value)); return *this;}
295
297
300 inline const Aws::String& GetCity() const { return m_city; }
301 inline bool CityHasBeenSet() const { return m_cityHasBeenSet; }
302 template<typename CityT = Aws::String>
303 void SetCity(CityT&& value) { m_cityHasBeenSet = true; m_city = std::forward<CityT>(value); }
304 template<typename CityT = Aws::String>
305 CustomerProfileAttributes& WithCity(CityT&& value) { SetCity(std::forward<CityT>(value)); return *this;}
307
309
312 inline const Aws::String& GetCounty() const { return m_county; }
313 inline bool CountyHasBeenSet() const { return m_countyHasBeenSet; }
314 template<typename CountyT = Aws::String>
315 void SetCounty(CountyT&& value) { m_countyHasBeenSet = true; m_county = std::forward<CountyT>(value); }
316 template<typename CountyT = Aws::String>
317 CustomerProfileAttributes& WithCounty(CountyT&& value) { SetCounty(std::forward<CountyT>(value)); return *this;}
319
321
324 inline const Aws::String& GetCountry() const { return m_country; }
325 inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
326 template<typename CountryT = Aws::String>
327 void SetCountry(CountryT&& value) { m_countryHasBeenSet = true; m_country = std::forward<CountryT>(value); }
328 template<typename CountryT = Aws::String>
329 CustomerProfileAttributes& WithCountry(CountryT&& value) { SetCountry(std::forward<CountryT>(value)); return *this;}
331
333
336 inline const Aws::String& GetPostalCode() const { return m_postalCode; }
337 inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; }
338 template<typename PostalCodeT = Aws::String>
339 void SetPostalCode(PostalCodeT&& value) { m_postalCodeHasBeenSet = true; m_postalCode = std::forward<PostalCodeT>(value); }
340 template<typename PostalCodeT = Aws::String>
341 CustomerProfileAttributes& WithPostalCode(PostalCodeT&& value) { SetPostalCode(std::forward<PostalCodeT>(value)); return *this;}
343
345
348 inline const Aws::String& GetProvince() const { return m_province; }
349 inline bool ProvinceHasBeenSet() const { return m_provinceHasBeenSet; }
350 template<typename ProvinceT = Aws::String>
351 void SetProvince(ProvinceT&& value) { m_provinceHasBeenSet = true; m_province = std::forward<ProvinceT>(value); }
352 template<typename ProvinceT = Aws::String>
353 CustomerProfileAttributes& WithProvince(ProvinceT&& value) { SetProvince(std::forward<ProvinceT>(value)); return *this;}
355
357
360 inline const Aws::String& GetState() const { return m_state; }
361 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
362 template<typename StateT = Aws::String>
363 void SetState(StateT&& value) { m_stateHasBeenSet = true; m_state = std::forward<StateT>(value); }
364 template<typename StateT = Aws::String>
365 CustomerProfileAttributes& WithState(StateT&& value) { SetState(std::forward<StateT>(value)); return *this;}
367
369
372 inline const Aws::String& GetShippingAddress1() const { return m_shippingAddress1; }
373 inline bool ShippingAddress1HasBeenSet() const { return m_shippingAddress1HasBeenSet; }
374 template<typename ShippingAddress1T = Aws::String>
375 void SetShippingAddress1(ShippingAddress1T&& value) { m_shippingAddress1HasBeenSet = true; m_shippingAddress1 = std::forward<ShippingAddress1T>(value); }
376 template<typename ShippingAddress1T = Aws::String>
377 CustomerProfileAttributes& WithShippingAddress1(ShippingAddress1T&& value) { SetShippingAddress1(std::forward<ShippingAddress1T>(value)); return *this;}
379
381
384 inline const Aws::String& GetShippingAddress2() const { return m_shippingAddress2; }
385 inline bool ShippingAddress2HasBeenSet() const { return m_shippingAddress2HasBeenSet; }
386 template<typename ShippingAddress2T = Aws::String>
387 void SetShippingAddress2(ShippingAddress2T&& value) { m_shippingAddress2HasBeenSet = true; m_shippingAddress2 = std::forward<ShippingAddress2T>(value); }
388 template<typename ShippingAddress2T = Aws::String>
389 CustomerProfileAttributes& WithShippingAddress2(ShippingAddress2T&& value) { SetShippingAddress2(std::forward<ShippingAddress2T>(value)); return *this;}
391
393
396 inline const Aws::String& GetShippingAddress3() const { return m_shippingAddress3; }
397 inline bool ShippingAddress3HasBeenSet() const { return m_shippingAddress3HasBeenSet; }
398 template<typename ShippingAddress3T = Aws::String>
399 void SetShippingAddress3(ShippingAddress3T&& value) { m_shippingAddress3HasBeenSet = true; m_shippingAddress3 = std::forward<ShippingAddress3T>(value); }
400 template<typename ShippingAddress3T = Aws::String>
401 CustomerProfileAttributes& WithShippingAddress3(ShippingAddress3T&& value) { SetShippingAddress3(std::forward<ShippingAddress3T>(value)); return *this;}
403
405
408 inline const Aws::String& GetShippingAddress4() const { return m_shippingAddress4; }
409 inline bool ShippingAddress4HasBeenSet() const { return m_shippingAddress4HasBeenSet; }
410 template<typename ShippingAddress4T = Aws::String>
411 void SetShippingAddress4(ShippingAddress4T&& value) { m_shippingAddress4HasBeenSet = true; m_shippingAddress4 = std::forward<ShippingAddress4T>(value); }
412 template<typename ShippingAddress4T = Aws::String>
413 CustomerProfileAttributes& WithShippingAddress4(ShippingAddress4T&& value) { SetShippingAddress4(std::forward<ShippingAddress4T>(value)); return *this;}
415
417
420 inline const Aws::String& GetShippingCity() const { return m_shippingCity; }
421 inline bool ShippingCityHasBeenSet() const { return m_shippingCityHasBeenSet; }
422 template<typename ShippingCityT = Aws::String>
423 void SetShippingCity(ShippingCityT&& value) { m_shippingCityHasBeenSet = true; m_shippingCity = std::forward<ShippingCityT>(value); }
424 template<typename ShippingCityT = Aws::String>
425 CustomerProfileAttributes& WithShippingCity(ShippingCityT&& value) { SetShippingCity(std::forward<ShippingCityT>(value)); return *this;}
427
429
432 inline const Aws::String& GetShippingCounty() const { return m_shippingCounty; }
433 inline bool ShippingCountyHasBeenSet() const { return m_shippingCountyHasBeenSet; }
434 template<typename ShippingCountyT = Aws::String>
435 void SetShippingCounty(ShippingCountyT&& value) { m_shippingCountyHasBeenSet = true; m_shippingCounty = std::forward<ShippingCountyT>(value); }
436 template<typename ShippingCountyT = Aws::String>
437 CustomerProfileAttributes& WithShippingCounty(ShippingCountyT&& value) { SetShippingCounty(std::forward<ShippingCountyT>(value)); return *this;}
439
441
444 inline const Aws::String& GetShippingCountry() const { return m_shippingCountry; }
445 inline bool ShippingCountryHasBeenSet() const { return m_shippingCountryHasBeenSet; }
446 template<typename ShippingCountryT = Aws::String>
447 void SetShippingCountry(ShippingCountryT&& value) { m_shippingCountryHasBeenSet = true; m_shippingCountry = std::forward<ShippingCountryT>(value); }
448 template<typename ShippingCountryT = Aws::String>
449 CustomerProfileAttributes& WithShippingCountry(ShippingCountryT&& value) { SetShippingCountry(std::forward<ShippingCountryT>(value)); return *this;}
451
453
456 inline const Aws::String& GetShippingPostalCode() const { return m_shippingPostalCode; }
457 inline bool ShippingPostalCodeHasBeenSet() const { return m_shippingPostalCodeHasBeenSet; }
458 template<typename ShippingPostalCodeT = Aws::String>
459 void SetShippingPostalCode(ShippingPostalCodeT&& value) { m_shippingPostalCodeHasBeenSet = true; m_shippingPostalCode = std::forward<ShippingPostalCodeT>(value); }
460 template<typename ShippingPostalCodeT = Aws::String>
461 CustomerProfileAttributes& WithShippingPostalCode(ShippingPostalCodeT&& value) { SetShippingPostalCode(std::forward<ShippingPostalCodeT>(value)); return *this;}
463
465
468 inline const Aws::String& GetShippingProvince() const { return m_shippingProvince; }
469 inline bool ShippingProvinceHasBeenSet() const { return m_shippingProvinceHasBeenSet; }
470 template<typename ShippingProvinceT = Aws::String>
471 void SetShippingProvince(ShippingProvinceT&& value) { m_shippingProvinceHasBeenSet = true; m_shippingProvince = std::forward<ShippingProvinceT>(value); }
472 template<typename ShippingProvinceT = Aws::String>
473 CustomerProfileAttributes& WithShippingProvince(ShippingProvinceT&& value) { SetShippingProvince(std::forward<ShippingProvinceT>(value)); return *this;}
475
477
480 inline const Aws::String& GetShippingState() const { return m_shippingState; }
481 inline bool ShippingStateHasBeenSet() const { return m_shippingStateHasBeenSet; }
482 template<typename ShippingStateT = Aws::String>
483 void SetShippingState(ShippingStateT&& value) { m_shippingStateHasBeenSet = true; m_shippingState = std::forward<ShippingStateT>(value); }
484 template<typename ShippingStateT = Aws::String>
485 CustomerProfileAttributes& WithShippingState(ShippingStateT&& value) { SetShippingState(std::forward<ShippingStateT>(value)); return *this;}
487
489
492 inline const Aws::String& GetMailingAddress1() const { return m_mailingAddress1; }
493 inline bool MailingAddress1HasBeenSet() const { return m_mailingAddress1HasBeenSet; }
494 template<typename MailingAddress1T = Aws::String>
495 void SetMailingAddress1(MailingAddress1T&& value) { m_mailingAddress1HasBeenSet = true; m_mailingAddress1 = std::forward<MailingAddress1T>(value); }
496 template<typename MailingAddress1T = Aws::String>
497 CustomerProfileAttributes& WithMailingAddress1(MailingAddress1T&& value) { SetMailingAddress1(std::forward<MailingAddress1T>(value)); return *this;}
499
501
504 inline const Aws::String& GetMailingAddress2() const { return m_mailingAddress2; }
505 inline bool MailingAddress2HasBeenSet() const { return m_mailingAddress2HasBeenSet; }
506 template<typename MailingAddress2T = Aws::String>
507 void SetMailingAddress2(MailingAddress2T&& value) { m_mailingAddress2HasBeenSet = true; m_mailingAddress2 = std::forward<MailingAddress2T>(value); }
508 template<typename MailingAddress2T = Aws::String>
509 CustomerProfileAttributes& WithMailingAddress2(MailingAddress2T&& value) { SetMailingAddress2(std::forward<MailingAddress2T>(value)); return *this;}
511
513
516 inline const Aws::String& GetMailingAddress3() const { return m_mailingAddress3; }
517 inline bool MailingAddress3HasBeenSet() const { return m_mailingAddress3HasBeenSet; }
518 template<typename MailingAddress3T = Aws::String>
519 void SetMailingAddress3(MailingAddress3T&& value) { m_mailingAddress3HasBeenSet = true; m_mailingAddress3 = std::forward<MailingAddress3T>(value); }
520 template<typename MailingAddress3T = Aws::String>
521 CustomerProfileAttributes& WithMailingAddress3(MailingAddress3T&& value) { SetMailingAddress3(std::forward<MailingAddress3T>(value)); return *this;}
523
525
528 inline const Aws::String& GetMailingAddress4() const { return m_mailingAddress4; }
529 inline bool MailingAddress4HasBeenSet() const { return m_mailingAddress4HasBeenSet; }
530 template<typename MailingAddress4T = Aws::String>
531 void SetMailingAddress4(MailingAddress4T&& value) { m_mailingAddress4HasBeenSet = true; m_mailingAddress4 = std::forward<MailingAddress4T>(value); }
532 template<typename MailingAddress4T = Aws::String>
533 CustomerProfileAttributes& WithMailingAddress4(MailingAddress4T&& value) { SetMailingAddress4(std::forward<MailingAddress4T>(value)); return *this;}
535
537
540 inline const Aws::String& GetMailingCity() const { return m_mailingCity; }
541 inline bool MailingCityHasBeenSet() const { return m_mailingCityHasBeenSet; }
542 template<typename MailingCityT = Aws::String>
543 void SetMailingCity(MailingCityT&& value) { m_mailingCityHasBeenSet = true; m_mailingCity = std::forward<MailingCityT>(value); }
544 template<typename MailingCityT = Aws::String>
545 CustomerProfileAttributes& WithMailingCity(MailingCityT&& value) { SetMailingCity(std::forward<MailingCityT>(value)); return *this;}
547
549
552 inline const Aws::String& GetMailingCounty() const { return m_mailingCounty; }
553 inline bool MailingCountyHasBeenSet() const { return m_mailingCountyHasBeenSet; }
554 template<typename MailingCountyT = Aws::String>
555 void SetMailingCounty(MailingCountyT&& value) { m_mailingCountyHasBeenSet = true; m_mailingCounty = std::forward<MailingCountyT>(value); }
556 template<typename MailingCountyT = Aws::String>
557 CustomerProfileAttributes& WithMailingCounty(MailingCountyT&& value) { SetMailingCounty(std::forward<MailingCountyT>(value)); return *this;}
559
561
564 inline const Aws::String& GetMailingCountry() const { return m_mailingCountry; }
565 inline bool MailingCountryHasBeenSet() const { return m_mailingCountryHasBeenSet; }
566 template<typename MailingCountryT = Aws::String>
567 void SetMailingCountry(MailingCountryT&& value) { m_mailingCountryHasBeenSet = true; m_mailingCountry = std::forward<MailingCountryT>(value); }
568 template<typename MailingCountryT = Aws::String>
569 CustomerProfileAttributes& WithMailingCountry(MailingCountryT&& value) { SetMailingCountry(std::forward<MailingCountryT>(value)); return *this;}
571
573
576 inline const Aws::String& GetMailingPostalCode() const { return m_mailingPostalCode; }
577 inline bool MailingPostalCodeHasBeenSet() const { return m_mailingPostalCodeHasBeenSet; }
578 template<typename MailingPostalCodeT = Aws::String>
579 void SetMailingPostalCode(MailingPostalCodeT&& value) { m_mailingPostalCodeHasBeenSet = true; m_mailingPostalCode = std::forward<MailingPostalCodeT>(value); }
580 template<typename MailingPostalCodeT = Aws::String>
581 CustomerProfileAttributes& WithMailingPostalCode(MailingPostalCodeT&& value) { SetMailingPostalCode(std::forward<MailingPostalCodeT>(value)); return *this;}
583
585
588 inline const Aws::String& GetMailingProvince() const { return m_mailingProvince; }
589 inline bool MailingProvinceHasBeenSet() const { return m_mailingProvinceHasBeenSet; }
590 template<typename MailingProvinceT = Aws::String>
591 void SetMailingProvince(MailingProvinceT&& value) { m_mailingProvinceHasBeenSet = true; m_mailingProvince = std::forward<MailingProvinceT>(value); }
592 template<typename MailingProvinceT = Aws::String>
593 CustomerProfileAttributes& WithMailingProvince(MailingProvinceT&& value) { SetMailingProvince(std::forward<MailingProvinceT>(value)); return *this;}
595
597
600 inline const Aws::String& GetMailingState() const { return m_mailingState; }
601 inline bool MailingStateHasBeenSet() const { return m_mailingStateHasBeenSet; }
602 template<typename MailingStateT = Aws::String>
603 void SetMailingState(MailingStateT&& value) { m_mailingStateHasBeenSet = true; m_mailingState = std::forward<MailingStateT>(value); }
604 template<typename MailingStateT = Aws::String>
605 CustomerProfileAttributes& WithMailingState(MailingStateT&& value) { SetMailingState(std::forward<MailingStateT>(value)); return *this;}
607
609
612 inline const Aws::String& GetBillingAddress1() const { return m_billingAddress1; }
613 inline bool BillingAddress1HasBeenSet() const { return m_billingAddress1HasBeenSet; }
614 template<typename BillingAddress1T = Aws::String>
615 void SetBillingAddress1(BillingAddress1T&& value) { m_billingAddress1HasBeenSet = true; m_billingAddress1 = std::forward<BillingAddress1T>(value); }
616 template<typename BillingAddress1T = Aws::String>
617 CustomerProfileAttributes& WithBillingAddress1(BillingAddress1T&& value) { SetBillingAddress1(std::forward<BillingAddress1T>(value)); return *this;}
619
621
624 inline const Aws::String& GetBillingAddress2() const { return m_billingAddress2; }
625 inline bool BillingAddress2HasBeenSet() const { return m_billingAddress2HasBeenSet; }
626 template<typename BillingAddress2T = Aws::String>
627 void SetBillingAddress2(BillingAddress2T&& value) { m_billingAddress2HasBeenSet = true; m_billingAddress2 = std::forward<BillingAddress2T>(value); }
628 template<typename BillingAddress2T = Aws::String>
629 CustomerProfileAttributes& WithBillingAddress2(BillingAddress2T&& value) { SetBillingAddress2(std::forward<BillingAddress2T>(value)); return *this;}
631
633
636 inline const Aws::String& GetBillingAddress3() const { return m_billingAddress3; }
637 inline bool BillingAddress3HasBeenSet() const { return m_billingAddress3HasBeenSet; }
638 template<typename BillingAddress3T = Aws::String>
639 void SetBillingAddress3(BillingAddress3T&& value) { m_billingAddress3HasBeenSet = true; m_billingAddress3 = std::forward<BillingAddress3T>(value); }
640 template<typename BillingAddress3T = Aws::String>
641 CustomerProfileAttributes& WithBillingAddress3(BillingAddress3T&& value) { SetBillingAddress3(std::forward<BillingAddress3T>(value)); return *this;}
643
645
648 inline const Aws::String& GetBillingAddress4() const { return m_billingAddress4; }
649 inline bool BillingAddress4HasBeenSet() const { return m_billingAddress4HasBeenSet; }
650 template<typename BillingAddress4T = Aws::String>
651 void SetBillingAddress4(BillingAddress4T&& value) { m_billingAddress4HasBeenSet = true; m_billingAddress4 = std::forward<BillingAddress4T>(value); }
652 template<typename BillingAddress4T = Aws::String>
653 CustomerProfileAttributes& WithBillingAddress4(BillingAddress4T&& value) { SetBillingAddress4(std::forward<BillingAddress4T>(value)); return *this;}
655
657
660 inline const Aws::String& GetBillingCity() const { return m_billingCity; }
661 inline bool BillingCityHasBeenSet() const { return m_billingCityHasBeenSet; }
662 template<typename BillingCityT = Aws::String>
663 void SetBillingCity(BillingCityT&& value) { m_billingCityHasBeenSet = true; m_billingCity = std::forward<BillingCityT>(value); }
664 template<typename BillingCityT = Aws::String>
665 CustomerProfileAttributes& WithBillingCity(BillingCityT&& value) { SetBillingCity(std::forward<BillingCityT>(value)); return *this;}
667
669
672 inline const Aws::String& GetBillingCounty() const { return m_billingCounty; }
673 inline bool BillingCountyHasBeenSet() const { return m_billingCountyHasBeenSet; }
674 template<typename BillingCountyT = Aws::String>
675 void SetBillingCounty(BillingCountyT&& value) { m_billingCountyHasBeenSet = true; m_billingCounty = std::forward<BillingCountyT>(value); }
676 template<typename BillingCountyT = Aws::String>
677 CustomerProfileAttributes& WithBillingCounty(BillingCountyT&& value) { SetBillingCounty(std::forward<BillingCountyT>(value)); return *this;}
679
681
684 inline const Aws::String& GetBillingCountry() const { return m_billingCountry; }
685 inline bool BillingCountryHasBeenSet() const { return m_billingCountryHasBeenSet; }
686 template<typename BillingCountryT = Aws::String>
687 void SetBillingCountry(BillingCountryT&& value) { m_billingCountryHasBeenSet = true; m_billingCountry = std::forward<BillingCountryT>(value); }
688 template<typename BillingCountryT = Aws::String>
689 CustomerProfileAttributes& WithBillingCountry(BillingCountryT&& value) { SetBillingCountry(std::forward<BillingCountryT>(value)); return *this;}
691
693
696 inline const Aws::String& GetBillingPostalCode() const { return m_billingPostalCode; }
697 inline bool BillingPostalCodeHasBeenSet() const { return m_billingPostalCodeHasBeenSet; }
698 template<typename BillingPostalCodeT = Aws::String>
699 void SetBillingPostalCode(BillingPostalCodeT&& value) { m_billingPostalCodeHasBeenSet = true; m_billingPostalCode = std::forward<BillingPostalCodeT>(value); }
700 template<typename BillingPostalCodeT = Aws::String>
701 CustomerProfileAttributes& WithBillingPostalCode(BillingPostalCodeT&& value) { SetBillingPostalCode(std::forward<BillingPostalCodeT>(value)); return *this;}
703
705
708 inline const Aws::String& GetBillingProvince() const { return m_billingProvince; }
709 inline bool BillingProvinceHasBeenSet() const { return m_billingProvinceHasBeenSet; }
710 template<typename BillingProvinceT = Aws::String>
711 void SetBillingProvince(BillingProvinceT&& value) { m_billingProvinceHasBeenSet = true; m_billingProvince = std::forward<BillingProvinceT>(value); }
712 template<typename BillingProvinceT = Aws::String>
713 CustomerProfileAttributes& WithBillingProvince(BillingProvinceT&& value) { SetBillingProvince(std::forward<BillingProvinceT>(value)); return *this;}
715
717
720 inline const Aws::String& GetBillingState() const { return m_billingState; }
721 inline bool BillingStateHasBeenSet() const { return m_billingStateHasBeenSet; }
722 template<typename BillingStateT = Aws::String>
723 void SetBillingState(BillingStateT&& value) { m_billingStateHasBeenSet = true; m_billingState = std::forward<BillingStateT>(value); }
724 template<typename BillingStateT = Aws::String>
725 CustomerProfileAttributes& WithBillingState(BillingStateT&& value) { SetBillingState(std::forward<BillingStateT>(value)); return *this;}
727
729
732 inline const Aws::Map<Aws::String, Aws::String>& GetCustom() const { return m_custom; }
733 inline bool CustomHasBeenSet() const { return m_customHasBeenSet; }
734 template<typename CustomT = Aws::Map<Aws::String, Aws::String>>
735 void SetCustom(CustomT&& value) { m_customHasBeenSet = true; m_custom = std::forward<CustomT>(value); }
736 template<typename CustomT = Aws::Map<Aws::String, Aws::String>>
737 CustomerProfileAttributes& WithCustom(CustomT&& value) { SetCustom(std::forward<CustomT>(value)); return *this;}
738 template<typename CustomKeyT = Aws::String, typename CustomValueT = Aws::String>
739 CustomerProfileAttributes& AddCustom(CustomKeyT&& key, CustomValueT&& value) {
740 m_customHasBeenSet = true; m_custom.emplace(std::forward<CustomKeyT>(key), std::forward<CustomValueT>(value)); return *this;
741 }
743 private:
744
745 Aws::String m_profileId;
746 bool m_profileIdHasBeenSet = false;
747
748 Aws::String m_profileARN;
749 bool m_profileARNHasBeenSet = false;
750
751 Aws::String m_firstName;
752 bool m_firstNameHasBeenSet = false;
753
754 Aws::String m_middleName;
755 bool m_middleNameHasBeenSet = false;
756
757 Aws::String m_lastName;
758 bool m_lastNameHasBeenSet = false;
759
760 Aws::String m_accountNumber;
761 bool m_accountNumberHasBeenSet = false;
762
763 Aws::String m_emailAddress;
764 bool m_emailAddressHasBeenSet = false;
765
766 Aws::String m_phoneNumber;
767 bool m_phoneNumberHasBeenSet = false;
768
769 Aws::String m_additionalInformation;
770 bool m_additionalInformationHasBeenSet = false;
771
772 Aws::String m_partyType;
773 bool m_partyTypeHasBeenSet = false;
774
775 Aws::String m_businessName;
776 bool m_businessNameHasBeenSet = false;
777
778 Aws::String m_birthDate;
779 bool m_birthDateHasBeenSet = false;
780
781 Aws::String m_gender;
782 bool m_genderHasBeenSet = false;
783
784 Aws::String m_mobilePhoneNumber;
785 bool m_mobilePhoneNumberHasBeenSet = false;
786
787 Aws::String m_homePhoneNumber;
788 bool m_homePhoneNumberHasBeenSet = false;
789
790 Aws::String m_businessPhoneNumber;
791 bool m_businessPhoneNumberHasBeenSet = false;
792
793 Aws::String m_businessEmailAddress;
794 bool m_businessEmailAddressHasBeenSet = false;
795
796 Aws::String m_address1;
797 bool m_address1HasBeenSet = false;
798
799 Aws::String m_address2;
800 bool m_address2HasBeenSet = false;
801
802 Aws::String m_address3;
803 bool m_address3HasBeenSet = false;
804
805 Aws::String m_address4;
806 bool m_address4HasBeenSet = false;
807
808 Aws::String m_city;
809 bool m_cityHasBeenSet = false;
810
811 Aws::String m_county;
812 bool m_countyHasBeenSet = false;
813
814 Aws::String m_country;
815 bool m_countryHasBeenSet = false;
816
817 Aws::String m_postalCode;
818 bool m_postalCodeHasBeenSet = false;
819
820 Aws::String m_province;
821 bool m_provinceHasBeenSet = false;
822
823 Aws::String m_state;
824 bool m_stateHasBeenSet = false;
825
826 Aws::String m_shippingAddress1;
827 bool m_shippingAddress1HasBeenSet = false;
828
829 Aws::String m_shippingAddress2;
830 bool m_shippingAddress2HasBeenSet = false;
831
832 Aws::String m_shippingAddress3;
833 bool m_shippingAddress3HasBeenSet = false;
834
835 Aws::String m_shippingAddress4;
836 bool m_shippingAddress4HasBeenSet = false;
837
838 Aws::String m_shippingCity;
839 bool m_shippingCityHasBeenSet = false;
840
841 Aws::String m_shippingCounty;
842 bool m_shippingCountyHasBeenSet = false;
843
844 Aws::String m_shippingCountry;
845 bool m_shippingCountryHasBeenSet = false;
846
847 Aws::String m_shippingPostalCode;
848 bool m_shippingPostalCodeHasBeenSet = false;
849
850 Aws::String m_shippingProvince;
851 bool m_shippingProvinceHasBeenSet = false;
852
853 Aws::String m_shippingState;
854 bool m_shippingStateHasBeenSet = false;
855
856 Aws::String m_mailingAddress1;
857 bool m_mailingAddress1HasBeenSet = false;
858
859 Aws::String m_mailingAddress2;
860 bool m_mailingAddress2HasBeenSet = false;
861
862 Aws::String m_mailingAddress3;
863 bool m_mailingAddress3HasBeenSet = false;
864
865 Aws::String m_mailingAddress4;
866 bool m_mailingAddress4HasBeenSet = false;
867
868 Aws::String m_mailingCity;
869 bool m_mailingCityHasBeenSet = false;
870
871 Aws::String m_mailingCounty;
872 bool m_mailingCountyHasBeenSet = false;
873
874 Aws::String m_mailingCountry;
875 bool m_mailingCountryHasBeenSet = false;
876
877 Aws::String m_mailingPostalCode;
878 bool m_mailingPostalCodeHasBeenSet = false;
879
880 Aws::String m_mailingProvince;
881 bool m_mailingProvinceHasBeenSet = false;
882
883 Aws::String m_mailingState;
884 bool m_mailingStateHasBeenSet = false;
885
886 Aws::String m_billingAddress1;
887 bool m_billingAddress1HasBeenSet = false;
888
889 Aws::String m_billingAddress2;
890 bool m_billingAddress2HasBeenSet = false;
891
892 Aws::String m_billingAddress3;
893 bool m_billingAddress3HasBeenSet = false;
894
895 Aws::String m_billingAddress4;
896 bool m_billingAddress4HasBeenSet = false;
897
898 Aws::String m_billingCity;
899 bool m_billingCityHasBeenSet = false;
900
901 Aws::String m_billingCounty;
902 bool m_billingCountyHasBeenSet = false;
903
904 Aws::String m_billingCountry;
905 bool m_billingCountryHasBeenSet = false;
906
907 Aws::String m_billingPostalCode;
908 bool m_billingPostalCodeHasBeenSet = false;
909
910 Aws::String m_billingProvince;
911 bool m_billingProvinceHasBeenSet = false;
912
913 Aws::String m_billingState;
914 bool m_billingStateHasBeenSet = false;
915
917 bool m_customHasBeenSet = false;
918 };
919
920} // namespace Model
921} // namespace QConnect
922} // namespace Aws
CustomerProfileAttributes & WithBillingState(BillingStateT &&value)
CustomerProfileAttributes & WithFirstName(FirstNameT &&value)
CustomerProfileAttributes & WithBusinessPhoneNumber(BusinessPhoneNumberT &&value)
CustomerProfileAttributes & WithShippingAddress2(ShippingAddress2T &&value)
CustomerProfileAttributes & WithProvince(ProvinceT &&value)
CustomerProfileAttributes & WithPostalCode(PostalCodeT &&value)
CustomerProfileAttributes & WithShippingAddress4(ShippingAddress4T &&value)
CustomerProfileAttributes & WithAddress1(Address1T &&value)
CustomerProfileAttributes & WithBillingCity(BillingCityT &&value)
CustomerProfileAttributes & WithCustom(CustomT &&value)
CustomerProfileAttributes & WithShippingCountry(ShippingCountryT &&value)
CustomerProfileAttributes & WithAccountNumber(AccountNumberT &&value)
CustomerProfileAttributes & WithMailingPostalCode(MailingPostalCodeT &&value)
CustomerProfileAttributes & WithShippingAddress1(ShippingAddress1T &&value)
CustomerProfileAttributes & WithGender(GenderT &&value)
CustomerProfileAttributes & WithProfileId(ProfileIdT &&value)
CustomerProfileAttributes & WithAddress2(Address2T &&value)
CustomerProfileAttributes & WithMailingCity(MailingCityT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
CustomerProfileAttributes & WithProfileARN(ProfileARNT &&value)
CustomerProfileAttributes & WithShippingPostalCode(ShippingPostalCodeT &&value)
CustomerProfileAttributes & WithMailingAddress2(MailingAddress2T &&value)
CustomerProfileAttributes & WithAddress3(Address3T &&value)
CustomerProfileAttributes & WithMailingCounty(MailingCountyT &&value)
CustomerProfileAttributes & WithShippingCounty(ShippingCountyT &&value)
CustomerProfileAttributes & WithEmailAddress(EmailAddressT &&value)
void SetAdditionalInformation(AdditionalInformationT &&value)
CustomerProfileAttributes & WithBillingPostalCode(BillingPostalCodeT &&value)
CustomerProfileAttributes & WithShippingState(ShippingStateT &&value)
CustomerProfileAttributes & WithMailingAddress4(MailingAddress4T &&value)
CustomerProfileAttributes & WithBillingAddress4(BillingAddress4T &&value)
CustomerProfileAttributes & WithState(StateT &&value)
CustomerProfileAttributes & WithBirthDate(BirthDateT &&value)
CustomerProfileAttributes & WithAddress4(Address4T &&value)
AWS_QCONNECT_API CustomerProfileAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBusinessPhoneNumber(BusinessPhoneNumberT &&value)
CustomerProfileAttributes & WithLastName(LastNameT &&value)
CustomerProfileAttributes & WithAdditionalInformation(AdditionalInformationT &&value)
CustomerProfileAttributes & WithMailingProvince(MailingProvinceT &&value)
CustomerProfileAttributes & WithShippingCity(ShippingCityT &&value)
CustomerProfileAttributes & WithMobilePhoneNumber(MobilePhoneNumberT &&value)
CustomerProfileAttributes & WithBillingAddress1(BillingAddress1T &&value)
CustomerProfileAttributes & WithCity(CityT &&value)
CustomerProfileAttributes & WithCountry(CountryT &&value)
CustomerProfileAttributes & WithBillingCounty(BillingCountyT &&value)
AWS_QCONNECT_API CustomerProfileAttributes()=default
CustomerProfileAttributes & WithPhoneNumber(PhoneNumberT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustom() const
AWS_QCONNECT_API CustomerProfileAttributes(Aws::Utils::Json::JsonView jsonValue)
CustomerProfileAttributes & WithShippingAddress3(ShippingAddress3T &&value)
CustomerProfileAttributes & WithBillingCountry(BillingCountryT &&value)
CustomerProfileAttributes & WithMailingAddress3(MailingAddress3T &&value)
CustomerProfileAttributes & WithBillingAddress2(BillingAddress2T &&value)
CustomerProfileAttributes & WithMiddleName(MiddleNameT &&value)
CustomerProfileAttributes & AddCustom(CustomKeyT &&key, CustomValueT &&value)
CustomerProfileAttributes & WithBusinessEmailAddress(BusinessEmailAddressT &&value)
CustomerProfileAttributes & WithMailingCountry(MailingCountryT &&value)
CustomerProfileAttributes & WithBillingProvince(BillingProvinceT &&value)
CustomerProfileAttributes & WithCounty(CountyT &&value)
CustomerProfileAttributes & WithBillingAddress3(BillingAddress3T &&value)
CustomerProfileAttributes & WithHomePhoneNumber(HomePhoneNumberT &&value)
CustomerProfileAttributes & WithMailingState(MailingStateT &&value)
CustomerProfileAttributes & WithPartyType(PartyTypeT &&value)
void SetBusinessEmailAddress(BusinessEmailAddressT &&value)
CustomerProfileAttributes & WithMailingAddress1(MailingAddress1T &&value)
CustomerProfileAttributes & WithBusinessName(BusinessNameT &&value)
CustomerProfileAttributes & WithShippingProvince(ShippingProvinceT &&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
Aws::Utils::Json::JsonValue JsonValue