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>
27namespace CustomerProfiles
54 inline void SetProfileId(
const char* value) { m_profileIdHasBeenSet =
true; m_profileId.assign(value); }
68 inline void SetAccountNumber(
const char* value) { m_accountNumberHasBeenSet =
true; m_accountNumber.assign(value); }
82 inline void SetAdditionalInformation(
const char* value) { m_additionalInformationHasBeenSet =
true; m_additionalInformation.assign(value); }
108 inline void SetBusinessName(
const char* value) { m_businessNameHasBeenSet =
true; m_businessName.assign(value); }
122 inline void SetFirstName(
const char* value) { m_firstNameHasBeenSet =
true; m_firstName.assign(value); }
136 inline void SetMiddleName(
const char* value) { m_middleNameHasBeenSet =
true; m_middleName.assign(value); }
150 inline void SetLastName(
const char* value) { m_lastNameHasBeenSet =
true; m_lastName.assign(value); }
164 inline void SetBirthDate(
const char* value) { m_birthDateHasBeenSet =
true; m_birthDate.assign(value); }
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); }
191 inline void SetPhoneNumber(
const char* value) { m_phoneNumberHasBeenSet =
true; m_phoneNumber.assign(value); }
205 inline void SetMobilePhoneNumber(
const char* value) { m_mobilePhoneNumberHasBeenSet =
true; m_mobilePhoneNumber.assign(value); }
219 inline void SetHomePhoneNumber(
const char* value) { m_homePhoneNumberHasBeenSet =
true; m_homePhoneNumber.assign(value); }
233 inline void SetBusinessPhoneNumber(
const char* value) { m_businessPhoneNumberHasBeenSet =
true; m_businessPhoneNumber.assign(value); }
248 inline void SetEmailAddress(
const char* value) { m_emailAddressHasBeenSet =
true; m_emailAddress.assign(value); }
262 inline void SetPersonalEmailAddress(
const char* value) { m_personalEmailAddressHasBeenSet =
true; m_personalEmailAddress.assign(value); }
276 inline void SetBusinessEmailAddress(
const char* value) { m_businessEmailAddressHasBeenSet =
true; m_businessEmailAddress.assign(value); }
290 inline void SetAddress(
Address&& value) { m_addressHasBeenSet =
true; m_address = std::move(value); }
347 inline Profile&
AddAttributes(
const char* key,
const char* value) { m_attributesHasBeenSet =
true; m_attributes.emplace(key, value);
return *
this; }
390 inline void SetPartyTypeString(
const char* value) { m_partyTypeStringHasBeenSet =
true; m_partyTypeString.assign(value); }
404 inline void SetGenderString(
const char* value) { m_genderStringHasBeenSet =
true; m_genderString.assign(value); }
412 bool m_profileIdHasBeenSet =
false;
415 bool m_accountNumberHasBeenSet =
false;
418 bool m_additionalInformationHasBeenSet =
false;
421 bool m_partyTypeHasBeenSet =
false;
424 bool m_businessNameHasBeenSet =
false;
427 bool m_firstNameHasBeenSet =
false;
430 bool m_middleNameHasBeenSet =
false;
433 bool m_lastNameHasBeenSet =
false;
436 bool m_birthDateHasBeenSet =
false;
439 bool m_genderHasBeenSet =
false;
442 bool m_phoneNumberHasBeenSet =
false;
445 bool m_mobilePhoneNumberHasBeenSet =
false;
448 bool m_homePhoneNumberHasBeenSet =
false;
451 bool m_businessPhoneNumberHasBeenSet =
false;
454 bool m_emailAddressHasBeenSet =
false;
457 bool m_personalEmailAddressHasBeenSet =
false;
460 bool m_businessEmailAddressHasBeenSet =
false;
463 bool m_addressHasBeenSet =
false;
466 bool m_shippingAddressHasBeenSet =
false;
469 bool m_mailingAddressHasBeenSet =
false;
472 bool m_billingAddressHasBeenSet =
false;
475 bool m_attributesHasBeenSet =
false;
478 bool m_foundByItemsHasBeenSet =
false;
481 bool m_partyTypeStringHasBeenSet =
false;
484 bool m_genderStringHasBeenSet =
false;
const Gender & GetGender() const
void SetBusinessEmailAddress(Aws::String &&value)
void SetLastName(const char *value)
const PartyType & GetPartyType() const
void SetPhoneNumber(const char *value)
bool ShippingAddressHasBeenSet() const
Profile & AddAttributes(Aws::String &&key, Aws::String &&value)
const Aws::String & GetMiddleName() const
Profile & WithBirthDate(const char *value)
Profile & WithGenderString(const Aws::String &value)
Profile & WithFirstName(const char *value)
Profile & WithLastName(Aws::String &&value)
Profile & WithGenderString(Aws::String &&value)
const Aws::String & GetGenderString() const
void SetBusinessEmailAddress(const char *value)
const Aws::String & GetPartyTypeString() const
Profile & WithBillingAddress(Address &&value)
Profile & WithPartyType(PartyType &&value)
AWS_CUSTOMERPROFILES_API Profile()
const Aws::String & GetBusinessPhoneNumber() const
void SetBusinessPhoneNumber(Aws::String &&value)
Profile & WithAccountNumber(const char *value)
void SetMailingAddress(const Address &value)
void SetProfileId(Aws::String &&value)
bool AddressHasBeenSet() const
void SetAdditionalInformation(Aws::String &&value)
void SetAddress(Address &&value)
void SetShippingAddress(Address &&value)
bool BirthDateHasBeenSet() const
bool MiddleNameHasBeenSet() const
void SetBusinessName(const Aws::String &value)
void SetMobilePhoneNumber(const Aws::String &value)
bool GenderHasBeenSet() const
const Aws::String & GetAdditionalInformation() const
void SetGenderString(const char *value)
Profile & WithHomePhoneNumber(Aws::String &&value)
const Aws::String & GetPhoneNumber() const
const Aws::String & GetHomePhoneNumber() const
Profile & WithAdditionalInformation(const char *value)
bool BusinessEmailAddressHasBeenSet() const
void SetMobilePhoneNumber(Aws::String &&value)
const Aws::String & GetBusinessEmailAddress() const
const Address & GetAddress() const
Profile & WithMailingAddress(const Address &value)
void SetGenderString(const Aws::String &value)
bool BusinessNameHasBeenSet() const
void SetBillingAddress(const Address &value)
bool BusinessPhoneNumberHasBeenSet() const
Profile & WithAccountNumber(const Aws::String &value)
void SetLastName(const Aws::String &value)
void SetFirstName(Aws::String &&value)
void SetHomePhoneNumber(Aws::String &&value)
bool ProfileIdHasBeenSet() const
void SetFoundByItems(const Aws::Vector< FoundByKeyValue > &value)
Profile & AddAttributes(Aws::String &&key, const Aws::String &value)
void SetAccountNumber(Aws::String &&value)
Profile & AddAttributes(const Aws::String &key, const Aws::String &value)
const Aws::String & GetAccountNumber() const
Profile & AddAttributes(Aws::String &&key, const char *value)
void SetProfileId(const Aws::String &value)
Profile & WithPartyTypeString(const char *value)
bool FirstNameHasBeenSet() const
void SetFirstName(const Aws::String &value)
void SetBusinessPhoneNumber(const char *value)
Profile & WithProfileId(const char *value)
Profile & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Profile & WithGender(Gender &&value)
void SetAccountNumber(const Aws::String &value)
Profile & WithShippingAddress(Address &&value)
Profile & WithProfileId(Aws::String &&value)
Profile & WithFirstName(Aws::String &&value)
bool HomePhoneNumberHasBeenSet() const
Profile & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
bool FoundByItemsHasBeenSet() const
Profile & WithBusinessEmailAddress(Aws::String &&value)
const Aws::String & GetBirthDate() const
void SetAddress(const Address &value)
Profile & WithMobilePhoneNumber(Aws::String &&value)
void SetPartyType(const PartyType &value)
bool EmailAddressHasBeenSet() const
Profile & AddAttributes(const Aws::String &key, Aws::String &&value)
const Address & GetBillingAddress() const
bool AccountNumberHasBeenSet() const
Profile & WithBusinessEmailAddress(const Aws::String &value)
void SetGender(Gender &&value)
Profile & WithAccountNumber(Aws::String &&value)
Profile & WithBusinessName(const Aws::String &value)
Profile & WithBusinessPhoneNumber(Aws::String &&value)
void SetHomePhoneNumber(const Aws::String &value)
const Aws::String & GetPersonalEmailAddress() const
AWS_CUSTOMERPROFILES_API Profile(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProfileId() const
AWS_CUSTOMERPROFILES_API Profile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBusinessPhoneNumber(const Aws::String &value)
void SetEmailAddress(Aws::String &&value)
Profile & WithBirthDate(const Aws::String &value)
Profile & WithEmailAddress(const Aws::String &value)
Profile & WithProfileId(const Aws::String &value)
void SetPartyTypeString(const Aws::String &value)
bool PartyTypeHasBeenSet() const
void SetProfileId(const char *value)
bool AttributesHasBeenSet() const
bool PhoneNumberHasBeenSet() const
const Aws::String & GetLastName() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetMiddleName(const char *value)
void SetMiddleName(const Aws::String &value)
void SetPersonalEmailAddress(const Aws::String &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetFirstName(const char *value)
void SetMailingAddress(Address &&value)
void SetPartyType(PartyType &&value)
Profile & WithPhoneNumber(const Aws::String &value)
Profile & WithFoundByItems(const Aws::Vector< FoundByKeyValue > &value)
Profile & WithBirthDate(Aws::String &&value)
Profile & AddFoundByItems(FoundByKeyValue &&value)
Profile & WithAddress(Address &&value)
void SetPhoneNumber(const Aws::String &value)
Profile & WithAddress(const Address &value)
Profile & WithEmailAddress(const char *value)
void SetAdditionalInformation(const char *value)
const Address & GetShippingAddress() const
void SetAdditionalInformation(const Aws::String &value)
Profile & WithHomePhoneNumber(const Aws::String &value)
Profile & WithShippingAddress(const Address &value)
bool GenderStringHasBeenSet() const
void SetGenderString(Aws::String &&value)
bool MobilePhoneNumberHasBeenSet() const
void SetShippingAddress(const Address &value)
void SetGender(const Gender &value)
Profile & WithPersonalEmailAddress(Aws::String &&value)
void SetPersonalEmailAddress(Aws::String &&value)
Profile & WithMobilePhoneNumber(const char *value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetBirthDate(const char *value)
Profile & WithMailingAddress(Address &&value)
Profile & WithMiddleName(Aws::String &&value)
void SetEmailAddress(const char *value)
Profile & AddAttributes(const char *key, Aws::String &&value)
Profile & WithBillingAddress(const Address &value)
const Aws::String & GetFirstName() const
Profile & WithBusinessName(Aws::String &&value)
bool PartyTypeStringHasBeenSet() const
void SetPartyTypeString(Aws::String &&value)
Profile & WithAdditionalInformation(Aws::String &&value)
Profile & AddAttributes(const char *key, const char *value)
Profile & WithLastName(const char *value)
void SetLastName(Aws::String &&value)
void SetHomePhoneNumber(const char *value)
Profile & WithBusinessPhoneNumber(const Aws::String &value)
void SetBusinessName(Aws::String &&value)
const Address & GetMailingAddress() const
void SetBirthDate(const Aws::String &value)
Profile & WithGender(const Gender &value)
void SetMobilePhoneNumber(const char *value)
Profile & WithPhoneNumber(const char *value)
Profile & WithGenderString(const char *value)
void SetMiddleName(Aws::String &&value)
Profile & WithPersonalEmailAddress(const Aws::String &value)
Profile & WithAdditionalInformation(const Aws::String &value)
const Aws::String & GetEmailAddress() const
void SetBillingAddress(Address &&value)
const Aws::String & GetMobilePhoneNumber() const
Profile & WithFirstName(const Aws::String &value)
Profile & AddFoundByItems(const FoundByKeyValue &value)
bool BillingAddressHasBeenSet() const
void SetPartyTypeString(const char *value)
void SetFoundByItems(Aws::Vector< FoundByKeyValue > &&value)
Profile & WithPartyType(const PartyType &value)
Profile & WithEmailAddress(Aws::String &&value)
void SetPersonalEmailAddress(const char *value)
void SetAccountNumber(const char *value)
bool AdditionalInformationHasBeenSet() const
bool MailingAddressHasBeenSet() const
Profile & WithHomePhoneNumber(const char *value)
Profile & WithMiddleName(const Aws::String &value)
void SetPhoneNumber(Aws::String &&value)
const Aws::Vector< FoundByKeyValue > & GetFoundByItems() const
void SetBusinessEmailAddress(const Aws::String &value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
Profile & WithPersonalEmailAddress(const char *value)
bool PersonalEmailAddressHasBeenSet() const
Profile & WithBusinessPhoneNumber(const char *value)
Profile & WithLastName(const Aws::String &value)
Profile & WithMiddleName(const char *value)
void SetBirthDate(Aws::String &&value)
Profile & WithPartyTypeString(const Aws::String &value)
void SetEmailAddress(const Aws::String &value)
Profile & WithFoundByItems(Aws::Vector< FoundByKeyValue > &&value)
Profile & WithBusinessEmailAddress(const char *value)
Profile & WithPartyTypeString(Aws::String &&value)
const Aws::String & GetBusinessName() const
bool LastNameHasBeenSet() const
void SetBusinessName(const char *value)
Profile & WithBusinessName(const char *value)
Profile & WithMobilePhoneNumber(const Aws::String &value)
Profile & WithPhoneNumber(Aws::String &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue