AWS SDK for C++

AWS SDK for C++ Version 1.11.643

Loading...
Searching...
No Matches
ProfileAttributes.h
1
6#pragma once
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>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace CustomerProfiles
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_CUSTOMERPROFILES_API ProfileAttributes() = default;
43 AWS_CUSTOMERPROFILES_API ProfileAttributes(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CUSTOMERPROFILES_API ProfileAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const ProfileDimension& GetAccountNumber() const { return m_accountNumber; }
53 inline bool AccountNumberHasBeenSet() const { return m_accountNumberHasBeenSet; }
54 template<typename AccountNumberT = ProfileDimension>
55 void SetAccountNumber(AccountNumberT&& value) { m_accountNumberHasBeenSet = true; m_accountNumber = std::forward<AccountNumberT>(value); }
56 template<typename AccountNumberT = ProfileDimension>
57 ProfileAttributes& WithAccountNumber(AccountNumberT&& value) { SetAccountNumber(std::forward<AccountNumberT>(value)); return *this;}
59
61
64 inline const ExtraLengthValueProfileDimension& GetAdditionalInformation() const { return m_additionalInformation; }
65 inline bool AdditionalInformationHasBeenSet() const { return m_additionalInformationHasBeenSet; }
66 template<typename AdditionalInformationT = ExtraLengthValueProfileDimension>
67 void SetAdditionalInformation(AdditionalInformationT&& value) { m_additionalInformationHasBeenSet = true; m_additionalInformation = std::forward<AdditionalInformationT>(value); }
68 template<typename AdditionalInformationT = ExtraLengthValueProfileDimension>
69 ProfileAttributes& WithAdditionalInformation(AdditionalInformationT&& value) { SetAdditionalInformation(std::forward<AdditionalInformationT>(value)); return *this;}
71
73
76 inline const ProfileDimension& GetFirstName() const { return m_firstName; }
77 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
78 template<typename FirstNameT = ProfileDimension>
79 void SetFirstName(FirstNameT&& value) { m_firstNameHasBeenSet = true; m_firstName = std::forward<FirstNameT>(value); }
80 template<typename FirstNameT = ProfileDimension>
81 ProfileAttributes& WithFirstName(FirstNameT&& value) { SetFirstName(std::forward<FirstNameT>(value)); return *this;}
83
85
88 inline const ProfileDimension& GetLastName() const { return m_lastName; }
89 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
90 template<typename LastNameT = ProfileDimension>
91 void SetLastName(LastNameT&& value) { m_lastNameHasBeenSet = true; m_lastName = std::forward<LastNameT>(value); }
92 template<typename LastNameT = ProfileDimension>
93 ProfileAttributes& WithLastName(LastNameT&& value) { SetLastName(std::forward<LastNameT>(value)); return *this;}
95
97
100 inline const ProfileDimension& GetMiddleName() const { return m_middleName; }
101 inline bool MiddleNameHasBeenSet() const { return m_middleNameHasBeenSet; }
102 template<typename MiddleNameT = ProfileDimension>
103 void SetMiddleName(MiddleNameT&& value) { m_middleNameHasBeenSet = true; m_middleName = std::forward<MiddleNameT>(value); }
104 template<typename MiddleNameT = ProfileDimension>
105 ProfileAttributes& WithMiddleName(MiddleNameT&& value) { SetMiddleName(std::forward<MiddleNameT>(value)); return *this;}
107
109
112 inline const ProfileDimension& GetGenderString() const { return m_genderString; }
113 inline bool GenderStringHasBeenSet() const { return m_genderStringHasBeenSet; }
114 template<typename GenderStringT = ProfileDimension>
115 void SetGenderString(GenderStringT&& value) { m_genderStringHasBeenSet = true; m_genderString = std::forward<GenderStringT>(value); }
116 template<typename GenderStringT = ProfileDimension>
117 ProfileAttributes& WithGenderString(GenderStringT&& value) { SetGenderString(std::forward<GenderStringT>(value)); return *this;}
119
121
124 inline const ProfileDimension& GetPartyTypeString() const { return m_partyTypeString; }
125 inline bool PartyTypeStringHasBeenSet() const { return m_partyTypeStringHasBeenSet; }
126 template<typename PartyTypeStringT = ProfileDimension>
127 void SetPartyTypeString(PartyTypeStringT&& value) { m_partyTypeStringHasBeenSet = true; m_partyTypeString = std::forward<PartyTypeStringT>(value); }
128 template<typename PartyTypeStringT = ProfileDimension>
129 ProfileAttributes& WithPartyTypeString(PartyTypeStringT&& value) { SetPartyTypeString(std::forward<PartyTypeStringT>(value)); return *this;}
131
133
136 inline const DateDimension& GetBirthDate() const { return m_birthDate; }
137 inline bool BirthDateHasBeenSet() const { return m_birthDateHasBeenSet; }
138 template<typename BirthDateT = DateDimension>
139 void SetBirthDate(BirthDateT&& value) { m_birthDateHasBeenSet = true; m_birthDate = std::forward<BirthDateT>(value); }
140 template<typename BirthDateT = DateDimension>
141 ProfileAttributes& WithBirthDate(BirthDateT&& value) { SetBirthDate(std::forward<BirthDateT>(value)); return *this;}
143
145
148 inline const ProfileDimension& GetPhoneNumber() const { return m_phoneNumber; }
149 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
150 template<typename PhoneNumberT = ProfileDimension>
151 void SetPhoneNumber(PhoneNumberT&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::forward<PhoneNumberT>(value); }
152 template<typename PhoneNumberT = ProfileDimension>
153 ProfileAttributes& WithPhoneNumber(PhoneNumberT&& value) { SetPhoneNumber(std::forward<PhoneNumberT>(value)); return *this;}
155
157
160 inline const ProfileDimension& GetBusinessName() const { return m_businessName; }
161 inline bool BusinessNameHasBeenSet() const { return m_businessNameHasBeenSet; }
162 template<typename BusinessNameT = ProfileDimension>
163 void SetBusinessName(BusinessNameT&& value) { m_businessNameHasBeenSet = true; m_businessName = std::forward<BusinessNameT>(value); }
164 template<typename BusinessNameT = ProfileDimension>
165 ProfileAttributes& WithBusinessName(BusinessNameT&& value) { SetBusinessName(std::forward<BusinessNameT>(value)); return *this;}
167
169
172 inline const ProfileDimension& GetBusinessPhoneNumber() const { return m_businessPhoneNumber; }
173 inline bool BusinessPhoneNumberHasBeenSet() const { return m_businessPhoneNumberHasBeenSet; }
174 template<typename BusinessPhoneNumberT = ProfileDimension>
175 void SetBusinessPhoneNumber(BusinessPhoneNumberT&& value) { m_businessPhoneNumberHasBeenSet = true; m_businessPhoneNumber = std::forward<BusinessPhoneNumberT>(value); }
176 template<typename BusinessPhoneNumberT = ProfileDimension>
177 ProfileAttributes& WithBusinessPhoneNumber(BusinessPhoneNumberT&& value) { SetBusinessPhoneNumber(std::forward<BusinessPhoneNumberT>(value)); return *this;}
179
181
184 inline const ProfileDimension& GetHomePhoneNumber() const { return m_homePhoneNumber; }
185 inline bool HomePhoneNumberHasBeenSet() const { return m_homePhoneNumberHasBeenSet; }
186 template<typename HomePhoneNumberT = ProfileDimension>
187 void SetHomePhoneNumber(HomePhoneNumberT&& value) { m_homePhoneNumberHasBeenSet = true; m_homePhoneNumber = std::forward<HomePhoneNumberT>(value); }
188 template<typename HomePhoneNumberT = ProfileDimension>
189 ProfileAttributes& WithHomePhoneNumber(HomePhoneNumberT&& value) { SetHomePhoneNumber(std::forward<HomePhoneNumberT>(value)); return *this;}
191
193
196 inline const ProfileDimension& GetMobilePhoneNumber() const { return m_mobilePhoneNumber; }
197 inline bool MobilePhoneNumberHasBeenSet() const { return m_mobilePhoneNumberHasBeenSet; }
198 template<typename MobilePhoneNumberT = ProfileDimension>
199 void SetMobilePhoneNumber(MobilePhoneNumberT&& value) { m_mobilePhoneNumberHasBeenSet = true; m_mobilePhoneNumber = std::forward<MobilePhoneNumberT>(value); }
200 template<typename MobilePhoneNumberT = ProfileDimension>
201 ProfileAttributes& WithMobilePhoneNumber(MobilePhoneNumberT&& value) { SetMobilePhoneNumber(std::forward<MobilePhoneNumberT>(value)); return *this;}
203
205
208 inline const ProfileDimension& GetEmailAddress() const { return m_emailAddress; }
209 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
210 template<typename EmailAddressT = ProfileDimension>
211 void SetEmailAddress(EmailAddressT&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::forward<EmailAddressT>(value); }
212 template<typename EmailAddressT = ProfileDimension>
213 ProfileAttributes& WithEmailAddress(EmailAddressT&& value) { SetEmailAddress(std::forward<EmailAddressT>(value)); return *this;}
215
217
220 inline const ProfileDimension& GetPersonalEmailAddress() const { return m_personalEmailAddress; }
221 inline bool PersonalEmailAddressHasBeenSet() const { return m_personalEmailAddressHasBeenSet; }
222 template<typename PersonalEmailAddressT = ProfileDimension>
223 void SetPersonalEmailAddress(PersonalEmailAddressT&& value) { m_personalEmailAddressHasBeenSet = true; m_personalEmailAddress = std::forward<PersonalEmailAddressT>(value); }
224 template<typename PersonalEmailAddressT = ProfileDimension>
225 ProfileAttributes& WithPersonalEmailAddress(PersonalEmailAddressT&& value) { SetPersonalEmailAddress(std::forward<PersonalEmailAddressT>(value)); return *this;}
227
229
232 inline const ProfileDimension& GetBusinessEmailAddress() const { return m_businessEmailAddress; }
233 inline bool BusinessEmailAddressHasBeenSet() const { return m_businessEmailAddressHasBeenSet; }
234 template<typename BusinessEmailAddressT = ProfileDimension>
235 void SetBusinessEmailAddress(BusinessEmailAddressT&& value) { m_businessEmailAddressHasBeenSet = true; m_businessEmailAddress = std::forward<BusinessEmailAddressT>(value); }
236 template<typename BusinessEmailAddressT = ProfileDimension>
237 ProfileAttributes& WithBusinessEmailAddress(BusinessEmailAddressT&& value) { SetBusinessEmailAddress(std::forward<BusinessEmailAddressT>(value)); return *this;}
239
241
244 inline const AddressDimension& GetAddress() const { return m_address; }
245 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
246 template<typename AddressT = AddressDimension>
247 void SetAddress(AddressT&& value) { m_addressHasBeenSet = true; m_address = std::forward<AddressT>(value); }
248 template<typename AddressT = AddressDimension>
249 ProfileAttributes& WithAddress(AddressT&& value) { SetAddress(std::forward<AddressT>(value)); return *this;}
251
253
256 inline const AddressDimension& GetShippingAddress() const { return m_shippingAddress; }
257 inline bool ShippingAddressHasBeenSet() const { return m_shippingAddressHasBeenSet; }
258 template<typename ShippingAddressT = AddressDimension>
259 void SetShippingAddress(ShippingAddressT&& value) { m_shippingAddressHasBeenSet = true; m_shippingAddress = std::forward<ShippingAddressT>(value); }
260 template<typename ShippingAddressT = AddressDimension>
261 ProfileAttributes& WithShippingAddress(ShippingAddressT&& value) { SetShippingAddress(std::forward<ShippingAddressT>(value)); return *this;}
263
265
268 inline const AddressDimension& GetMailingAddress() const { return m_mailingAddress; }
269 inline bool MailingAddressHasBeenSet() const { return m_mailingAddressHasBeenSet; }
270 template<typename MailingAddressT = AddressDimension>
271 void SetMailingAddress(MailingAddressT&& value) { m_mailingAddressHasBeenSet = true; m_mailingAddress = std::forward<MailingAddressT>(value); }
272 template<typename MailingAddressT = AddressDimension>
273 ProfileAttributes& WithMailingAddress(MailingAddressT&& value) { SetMailingAddress(std::forward<MailingAddressT>(value)); return *this;}
275
277
280 inline const AddressDimension& GetBillingAddress() const { return m_billingAddress; }
281 inline bool BillingAddressHasBeenSet() const { return m_billingAddressHasBeenSet; }
282 template<typename BillingAddressT = AddressDimension>
283 void SetBillingAddress(BillingAddressT&& value) { m_billingAddressHasBeenSet = true; m_billingAddress = std::forward<BillingAddressT>(value); }
284 template<typename BillingAddressT = AddressDimension>
285 ProfileAttributes& WithBillingAddress(BillingAddressT&& value) { SetBillingAddress(std::forward<BillingAddressT>(value)); return *this;}
287
289
292 inline const Aws::Map<Aws::String, AttributeDimension>& GetAttributes() const { return m_attributes; }
293 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
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>>
297 ProfileAttributes& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
298 template<typename AttributesKeyT = Aws::String, typename AttributesValueT = AttributeDimension>
299 ProfileAttributes& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
300 m_attributesHasBeenSet = true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value)); return *this;
301 }
303
305
308 inline const ProfileTypeDimension& GetProfileType() const { return m_profileType; }
309 inline bool ProfileTypeHasBeenSet() const { return m_profileTypeHasBeenSet; }
310 template<typename ProfileTypeT = ProfileTypeDimension>
311 void SetProfileType(ProfileTypeT&& value) { m_profileTypeHasBeenSet = true; m_profileType = std::forward<ProfileTypeT>(value); }
312 template<typename ProfileTypeT = ProfileTypeDimension>
313 ProfileAttributes& WithProfileType(ProfileTypeT&& value) { SetProfileType(std::forward<ProfileTypeT>(value)); return *this;}
315 private:
316
317 ProfileDimension m_accountNumber;
318 bool m_accountNumberHasBeenSet = false;
319
320 ExtraLengthValueProfileDimension m_additionalInformation;
321 bool m_additionalInformationHasBeenSet = false;
322
323 ProfileDimension m_firstName;
324 bool m_firstNameHasBeenSet = false;
325
326 ProfileDimension m_lastName;
327 bool m_lastNameHasBeenSet = false;
328
329 ProfileDimension m_middleName;
330 bool m_middleNameHasBeenSet = false;
331
332 ProfileDimension m_genderString;
333 bool m_genderStringHasBeenSet = false;
334
335 ProfileDimension m_partyTypeString;
336 bool m_partyTypeStringHasBeenSet = false;
337
338 DateDimension m_birthDate;
339 bool m_birthDateHasBeenSet = false;
340
341 ProfileDimension m_phoneNumber;
342 bool m_phoneNumberHasBeenSet = false;
343
344 ProfileDimension m_businessName;
345 bool m_businessNameHasBeenSet = false;
346
347 ProfileDimension m_businessPhoneNumber;
348 bool m_businessPhoneNumberHasBeenSet = false;
349
350 ProfileDimension m_homePhoneNumber;
351 bool m_homePhoneNumberHasBeenSet = false;
352
353 ProfileDimension m_mobilePhoneNumber;
354 bool m_mobilePhoneNumberHasBeenSet = false;
355
356 ProfileDimension m_emailAddress;
357 bool m_emailAddressHasBeenSet = false;
358
359 ProfileDimension m_personalEmailAddress;
360 bool m_personalEmailAddressHasBeenSet = false;
361
362 ProfileDimension m_businessEmailAddress;
363 bool m_businessEmailAddressHasBeenSet = false;
364
365 AddressDimension m_address;
366 bool m_addressHasBeenSet = false;
367
368 AddressDimension m_shippingAddress;
369 bool m_shippingAddressHasBeenSet = false;
370
371 AddressDimension m_mailingAddress;
372 bool m_mailingAddressHasBeenSet = false;
373
374 AddressDimension m_billingAddress;
375 bool m_billingAddressHasBeenSet = false;
376
378 bool m_attributesHasBeenSet = false;
379
380 ProfileTypeDimension m_profileType;
381 bool m_profileTypeHasBeenSet = false;
382 };
383
384} // namespace Model
385} // namespace CustomerProfiles
386} // namespace Aws
const ProfileDimension & GetHomePhoneNumber() const
const ProfileDimension & GetLastName() const
const ProfileDimension & GetBusinessPhoneNumber() const
const ProfileTypeDimension & GetProfileType() const
const ProfileDimension & GetPartyTypeString() const
AWS_CUSTOMERPROFILES_API ProfileAttributes()=default
const AddressDimension & GetBillingAddress() const
const ProfileDimension & GetAccountNumber() const
ProfileAttributes & WithMobilePhoneNumber(MobilePhoneNumberT &&value)
const ProfileDimension & GetFirstName() const
ProfileAttributes & WithEmailAddress(EmailAddressT &&value)
void SetAdditionalInformation(AdditionalInformationT &&value)
ProfileAttributes & WithBillingAddress(BillingAddressT &&value)
const AddressDimension & GetMailingAddress() const
const ProfileDimension & GetPersonalEmailAddress() const
ProfileAttributes & WithAttributes(AttributesT &&value)
const ProfileDimension & GetGenderString() const
ProfileAttributes & WithPhoneNumber(PhoneNumberT &&value)
const ProfileDimension & GetMiddleName() const
ProfileAttributes & WithAccountNumber(AccountNumberT &&value)
AWS_CUSTOMERPROFILES_API ProfileAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
const AddressDimension & GetShippingAddress() const
const Aws::Map< Aws::String, AttributeDimension > & GetAttributes() const
ProfileAttributes & WithAdditionalInformation(AdditionalInformationT &&value)
const ProfileDimension & GetEmailAddress() const
void SetShippingAddress(ShippingAddressT &&value)
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)
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)
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)
ProfileAttributes & WithMiddleName(MiddleNameT &&value)
const ProfileDimension & GetBusinessName() const
void SetMobilePhoneNumber(MobilePhoneNumberT &&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