7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/ProfileDimension.h>
9#include <aws/customer-profiles/model/ExtraLengthValueProfileDimension.h>
10#include <aws/customer-profiles/model/DateDimension.h>
11#include <aws/customer-profiles/model/AddressDimension.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/customer-profiles/model/ProfileTypeDimension.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/customer-profiles/model/AttributeDimension.h>
28namespace CustomerProfiles
54 template<
typename AccountNumberT = ProfileDimension>
55 void SetAccountNumber(AccountNumberT&& value) { m_accountNumberHasBeenSet =
true; m_accountNumber = std::forward<AccountNumberT>(value); }
56 template<
typename AccountNumberT = ProfileDimension>
66 template<
typename AdditionalInformationT = ExtraLengthValueProfileDimension>
67 void SetAdditionalInformation(AdditionalInformationT&& value) { m_additionalInformationHasBeenSet =
true; m_additionalInformation = std::forward<AdditionalInformationT>(value); }
68 template<
typename AdditionalInformationT = ExtraLengthValueProfileDimension>
78 template<
typename FirstNameT = ProfileDimension>
79 void SetFirstName(FirstNameT&& value) { m_firstNameHasBeenSet =
true; m_firstName = std::forward<FirstNameT>(value); }
80 template<
typename FirstNameT = ProfileDimension>
90 template<
typename LastNameT = ProfileDimension>
91 void SetLastName(LastNameT&& value) { m_lastNameHasBeenSet =
true; m_lastName = std::forward<LastNameT>(value); }
92 template<
typename LastNameT = ProfileDimension>
102 template<
typename M
iddleNameT = ProfileDimension>
103 void SetMiddleName(MiddleNameT&& value) { m_middleNameHasBeenSet =
true; m_middleName = std::forward<MiddleNameT>(value); }
104 template<
typename M
iddleNameT = ProfileDimension>
114 template<
typename GenderStringT = ProfileDimension>
115 void SetGenderString(GenderStringT&& value) { m_genderStringHasBeenSet =
true; m_genderString = std::forward<GenderStringT>(value); }
116 template<
typename GenderStringT = ProfileDimension>
126 template<
typename PartyTypeStringT = ProfileDimension>
127 void SetPartyTypeString(PartyTypeStringT&& value) { m_partyTypeStringHasBeenSet =
true; m_partyTypeString = std::forward<PartyTypeStringT>(value); }
128 template<
typename PartyTypeStringT = ProfileDimension>
138 template<
typename BirthDateT = DateDimension>
139 void SetBirthDate(BirthDateT&& value) { m_birthDateHasBeenSet =
true; m_birthDate = std::forward<BirthDateT>(value); }
140 template<
typename BirthDateT = DateDimension>
150 template<
typename PhoneNumberT = ProfileDimension>
151 void SetPhoneNumber(PhoneNumberT&& value) { m_phoneNumberHasBeenSet =
true; m_phoneNumber = std::forward<PhoneNumberT>(value); }
152 template<
typename PhoneNumberT = ProfileDimension>
162 template<
typename BusinessNameT = ProfileDimension>
163 void SetBusinessName(BusinessNameT&& value) { m_businessNameHasBeenSet =
true; m_businessName = std::forward<BusinessNameT>(value); }
164 template<
typename BusinessNameT = ProfileDimension>
174 template<
typename BusinessPhoneNumberT = ProfileDimension>
175 void SetBusinessPhoneNumber(BusinessPhoneNumberT&& value) { m_businessPhoneNumberHasBeenSet =
true; m_businessPhoneNumber = std::forward<BusinessPhoneNumberT>(value); }
176 template<
typename BusinessPhoneNumberT = ProfileDimension>
186 template<
typename HomePhoneNumberT = ProfileDimension>
187 void SetHomePhoneNumber(HomePhoneNumberT&& value) { m_homePhoneNumberHasBeenSet =
true; m_homePhoneNumber = std::forward<HomePhoneNumberT>(value); }
188 template<
typename HomePhoneNumberT = ProfileDimension>
198 template<
typename MobilePhoneNumberT = ProfileDimension>
199 void SetMobilePhoneNumber(MobilePhoneNumberT&& value) { m_mobilePhoneNumberHasBeenSet =
true; m_mobilePhoneNumber = std::forward<MobilePhoneNumberT>(value); }
200 template<
typename MobilePhoneNumberT = ProfileDimension>
210 template<
typename EmailAddressT = ProfileDimension>
211 void SetEmailAddress(EmailAddressT&& value) { m_emailAddressHasBeenSet =
true; m_emailAddress = std::forward<EmailAddressT>(value); }
212 template<
typename EmailAddressT = ProfileDimension>
222 template<
typename PersonalEmailAddressT = ProfileDimension>
223 void SetPersonalEmailAddress(PersonalEmailAddressT&& value) { m_personalEmailAddressHasBeenSet =
true; m_personalEmailAddress = std::forward<PersonalEmailAddressT>(value); }
224 template<
typename PersonalEmailAddressT = ProfileDimension>
234 template<
typename BusinessEmailAddressT = ProfileDimension>
235 void SetBusinessEmailAddress(BusinessEmailAddressT&& value) { m_businessEmailAddressHasBeenSet =
true; m_businessEmailAddress = std::forward<BusinessEmailAddressT>(value); }
236 template<
typename BusinessEmailAddressT = ProfileDimension>
246 template<
typename AddressT = AddressDimension>
247 void SetAddress(AddressT&& value) { m_addressHasBeenSet =
true; m_address = std::forward<AddressT>(value); }
248 template<
typename AddressT = AddressDimension>
258 template<
typename ShippingAddressT = AddressDimension>
259 void SetShippingAddress(ShippingAddressT&& value) { m_shippingAddressHasBeenSet =
true; m_shippingAddress = std::forward<ShippingAddressT>(value); }
260 template<
typename ShippingAddressT = AddressDimension>
270 template<
typename MailingAddressT = AddressDimension>
271 void SetMailingAddress(MailingAddressT&& value) { m_mailingAddressHasBeenSet =
true; m_mailingAddress = std::forward<MailingAddressT>(value); }
272 template<
typename MailingAddressT = AddressDimension>
282 template<
typename BillingAddressT = AddressDimension>
283 void SetBillingAddress(BillingAddressT&& value) { m_billingAddressHasBeenSet =
true; m_billingAddress = std::forward<BillingAddressT>(value); }
284 template<
typename BillingAddressT = AddressDimension>
294 template<
typename AttributesT = Aws::Map<Aws::String, AttributeDimension>>
295 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
296 template<
typename AttributesT = Aws::Map<Aws::String, AttributeDimension>>
298 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = AttributeDimension>
300 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
310 template<
typename ProfileTypeT = ProfileTypeDimension>
311 void SetProfileType(ProfileTypeT&& value) { m_profileTypeHasBeenSet =
true; m_profileType = std::forward<ProfileTypeT>(value); }
312 template<
typename ProfileTypeT = ProfileTypeDimension>
318 bool m_accountNumberHasBeenSet =
false;
321 bool m_additionalInformationHasBeenSet =
false;
324 bool m_firstNameHasBeenSet =
false;
327 bool m_lastNameHasBeenSet =
false;
330 bool m_middleNameHasBeenSet =
false;
333 bool m_genderStringHasBeenSet =
false;
336 bool m_partyTypeStringHasBeenSet =
false;
339 bool m_birthDateHasBeenSet =
false;
342 bool m_phoneNumberHasBeenSet =
false;
345 bool m_businessNameHasBeenSet =
false;
348 bool m_businessPhoneNumberHasBeenSet =
false;
351 bool m_homePhoneNumberHasBeenSet =
false;
354 bool m_mobilePhoneNumberHasBeenSet =
false;
357 bool m_emailAddressHasBeenSet =
false;
360 bool m_personalEmailAddressHasBeenSet =
false;
363 bool m_businessEmailAddressHasBeenSet =
false;
366 bool m_addressHasBeenSet =
false;
369 bool m_shippingAddressHasBeenSet =
false;
372 bool m_mailingAddressHasBeenSet =
false;
375 bool m_billingAddressHasBeenSet =
false;
378 bool m_attributesHasBeenSet =
false;
381 bool m_profileTypeHasBeenSet =
false;
const AddressDimension & GetAddress() const
void SetEmailAddress(EmailAddressT &&value)
const ProfileDimension & GetHomePhoneNumber() const
const ProfileDimension & GetLastName() const
bool HomePhoneNumberHasBeenSet() const
bool GenderStringHasBeenSet() const
void SetMailingAddress(MailingAddressT &&value)
void SetLastName(LastNameT &&value)
const ProfileDimension & GetBusinessPhoneNumber() const
void SetBillingAddress(BillingAddressT &&value)
const ProfileTypeDimension & GetProfileType() const
const ProfileDimension & GetPartyTypeString() const
AWS_CUSTOMERPROFILES_API ProfileAttributes()=default
const AddressDimension & GetBillingAddress() const
const ProfileDimension & GetAccountNumber() const
void SetAccountNumber(AccountNumberT &&value)
bool FirstNameHasBeenSet() const
ProfileAttributes & WithMobilePhoneNumber(MobilePhoneNumberT &&value)
const ProfileDimension & GetFirstName() const
bool MailingAddressHasBeenSet() const
ProfileAttributes & WithEmailAddress(EmailAddressT &&value)
void SetAdditionalInformation(AdditionalInformationT &&value)
bool ShippingAddressHasBeenSet() const
ProfileAttributes & WithBillingAddress(BillingAddressT &&value)
const AddressDimension & GetMailingAddress() const
const ProfileDimension & GetPersonalEmailAddress() const
void SetMiddleName(MiddleNameT &&value)
ProfileAttributes & WithAttributes(AttributesT &&value)
const ProfileDimension & GetGenderString() const
bool BusinessNameHasBeenSet() const
ProfileAttributes & WithPhoneNumber(PhoneNumberT &&value)
const ProfileDimension & GetMiddleName() const
ProfileAttributes & WithAccountNumber(AccountNumberT &&value)
AWS_CUSTOMERPROFILES_API ProfileAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PersonalEmailAddressHasBeenSet() const
bool MiddleNameHasBeenSet() const
bool AccountNumberHasBeenSet() const
const AddressDimension & GetShippingAddress() const
void SetGenderString(GenderStringT &&value)
void SetBusinessName(BusinessNameT &&value)
bool MobilePhoneNumberHasBeenSet() const
bool EmailAddressHasBeenSet() const
const Aws::Map< Aws::String, AttributeDimension > & GetAttributes() const
ProfileAttributes & WithAdditionalInformation(AdditionalInformationT &&value)
void SetAddress(AddressT &&value)
const ProfileDimension & GetEmailAddress() const
bool BusinessPhoneNumberHasBeenSet() const
void SetShippingAddress(ShippingAddressT &&value)
bool PartyTypeStringHasBeenSet() const
bool BillingAddressHasBeenSet() const
void SetAttributes(AttributesT &&value)
bool AttributesHasBeenSet() const
const ProfileDimension & GetMobilePhoneNumber() const
void SetPartyTypeString(PartyTypeStringT &&value)
ProfileAttributes & WithGenderString(GenderStringT &&value)
void SetBusinessEmailAddress(BusinessEmailAddressT &&value)
ProfileAttributes & WithHomePhoneNumber(HomePhoneNumberT &&value)
ProfileAttributes & WithAddress(AddressT &&value)
ProfileAttributes & WithMailingAddress(MailingAddressT &&value)
ProfileAttributes & WithLastName(LastNameT &&value)
void SetHomePhoneNumber(HomePhoneNumberT &&value)
bool ProfileTypeHasBeenSet() const
void SetProfileType(ProfileTypeT &&value)
bool PhoneNumberHasBeenSet() const
bool AddressHasBeenSet() const
const ExtraLengthValueProfileDimension & GetAdditionalInformation() const
const ProfileDimension & GetPhoneNumber() const
ProfileAttributes & WithShippingAddress(ShippingAddressT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
ProfileAttributes & WithPartyTypeString(PartyTypeStringT &&value)
AWS_CUSTOMERPROFILES_API ProfileAttributes(Aws::Utils::Json::JsonView jsonValue)
bool BusinessEmailAddressHasBeenSet() const
bool AdditionalInformationHasBeenSet() const
bool BirthDateHasBeenSet() const
void SetBirthDate(BirthDateT &&value)
void SetBusinessPhoneNumber(BusinessPhoneNumberT &&value)
ProfileAttributes & WithBusinessName(BusinessNameT &&value)
ProfileAttributes & WithPersonalEmailAddress(PersonalEmailAddressT &&value)
ProfileAttributes & WithBusinessPhoneNumber(BusinessPhoneNumberT &&value)
ProfileAttributes & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
ProfileAttributes & WithProfileType(ProfileTypeT &&value)
ProfileAttributes & WithBirthDate(BirthDateT &&value)
ProfileAttributes & WithFirstName(FirstNameT &&value)
ProfileAttributes & WithBusinessEmailAddress(BusinessEmailAddressT &&value)
void SetPersonalEmailAddress(PersonalEmailAddressT &&value)
bool LastNameHasBeenSet() const
void SetPhoneNumber(PhoneNumberT &&value)
ProfileAttributes & WithMiddleName(MiddleNameT &&value)
const DateDimension & GetBirthDate() const
const ProfileDimension & GetBusinessName() const
void SetMobilePhoneNumber(MobilePhoneNumberT &&value)
void SetFirstName(FirstNameT &&value)
const ProfileDimension & GetBusinessEmailAddress() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue