/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the customer-profiles-2020-08-15.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CustomerProfiles.Model { /// /// A duplicate customer profile that is to be merged into a main profile. /// public partial class FieldSourceProfileIds { private string _accountNumber; private string _additionalInformation; private string _address; private Dictionary _attributes = new Dictionary(); private string _billingAddress; private string _birthDate; private string _businessEmailAddress; private string _businessName; private string _businessPhoneNumber; private string _emailAddress; private string _firstName; private string _gender; private string _homePhoneNumber; private string _lastName; private string _mailingAddress; private string _middleName; private string _mobilePhoneNumber; private string _partyType; private string _personalEmailAddress; private string _phoneNumber; private string _shippingAddress; /// /// Gets and sets the property AccountNumber. /// /// A unique identifier for the account number field to be merged. /// /// public string AccountNumber { get { return this._accountNumber; } set { this._accountNumber = value; } } // Check to see if AccountNumber property is set internal bool IsSetAccountNumber() { return this._accountNumber != null; } /// /// Gets and sets the property AdditionalInformation. /// /// A unique identifier for the additional information field to be merged. /// /// public string AdditionalInformation { get { return this._additionalInformation; } set { this._additionalInformation = value; } } // Check to see if AdditionalInformation property is set internal bool IsSetAdditionalInformation() { return this._additionalInformation != null; } /// /// Gets and sets the property Address. /// /// A unique identifier for the party type field to be merged. /// /// public string Address { get { return this._address; } set { this._address = value; } } // Check to see if Address property is set internal bool IsSetAddress() { return this._address != null; } /// /// Gets and sets the property Attributes. /// /// A unique identifier for the attributes field to be merged. /// /// public Dictionary Attributes { get { return this._attributes; } set { this._attributes = value; } } // Check to see if Attributes property is set internal bool IsSetAttributes() { return this._attributes != null && this._attributes.Count > 0; } /// /// Gets and sets the property BillingAddress. /// /// A unique identifier for the billing type field to be merged. /// /// public string BillingAddress { get { return this._billingAddress; } set { this._billingAddress = value; } } // Check to see if BillingAddress property is set internal bool IsSetBillingAddress() { return this._billingAddress != null; } /// /// Gets and sets the property BirthDate. /// /// A unique identifier for the birthdate field to be merged. /// /// public string BirthDate { get { return this._birthDate; } set { this._birthDate = value; } } // Check to see if BirthDate property is set internal bool IsSetBirthDate() { return this._birthDate != null; } /// /// Gets and sets the property BusinessEmailAddress. /// /// A unique identifier for the party type field to be merged. /// /// public string BusinessEmailAddress { get { return this._businessEmailAddress; } set { this._businessEmailAddress = value; } } // Check to see if BusinessEmailAddress property is set internal bool IsSetBusinessEmailAddress() { return this._businessEmailAddress != null; } /// /// Gets and sets the property BusinessName. /// /// A unique identifier for the business name field to be merged. /// /// public string BusinessName { get { return this._businessName; } set { this._businessName = value; } } // Check to see if BusinessName property is set internal bool IsSetBusinessName() { return this._businessName != null; } /// /// Gets and sets the property BusinessPhoneNumber. /// /// A unique identifier for the business phone number field to be merged. /// /// public string BusinessPhoneNumber { get { return this._businessPhoneNumber; } set { this._businessPhoneNumber = value; } } // Check to see if BusinessPhoneNumber property is set internal bool IsSetBusinessPhoneNumber() { return this._businessPhoneNumber != null; } /// /// Gets and sets the property EmailAddress. /// /// A unique identifier for the email address field to be merged. /// /// public string EmailAddress { get { return this._emailAddress; } set { this._emailAddress = value; } } // Check to see if EmailAddress property is set internal bool IsSetEmailAddress() { return this._emailAddress != null; } /// /// Gets and sets the property FirstName. /// /// A unique identifier for the first name field to be merged. /// /// public string FirstName { get { return this._firstName; } set { this._firstName = value; } } // Check to see if FirstName property is set internal bool IsSetFirstName() { return this._firstName != null; } /// /// Gets and sets the property Gender. /// /// A unique identifier for the gender field to be merged. /// /// public string Gender { get { return this._gender; } set { this._gender = value; } } // Check to see if Gender property is set internal bool IsSetGender() { return this._gender != null; } /// /// Gets and sets the property HomePhoneNumber. /// /// A unique identifier for the home phone number field to be merged. /// /// public string HomePhoneNumber { get { return this._homePhoneNumber; } set { this._homePhoneNumber = value; } } // Check to see if HomePhoneNumber property is set internal bool IsSetHomePhoneNumber() { return this._homePhoneNumber != null; } /// /// Gets and sets the property LastName. /// /// A unique identifier for the last name field to be merged. /// /// public string LastName { get { return this._lastName; } set { this._lastName = value; } } // Check to see if LastName property is set internal bool IsSetLastName() { return this._lastName != null; } /// /// Gets and sets the property MailingAddress. /// /// A unique identifier for the mailing address field to be merged. /// /// public string MailingAddress { get { return this._mailingAddress; } set { this._mailingAddress = value; } } // Check to see if MailingAddress property is set internal bool IsSetMailingAddress() { return this._mailingAddress != null; } /// /// Gets and sets the property MiddleName. /// /// A unique identifier for the middle name field to be merged. /// /// public string MiddleName { get { return this._middleName; } set { this._middleName = value; } } // Check to see if MiddleName property is set internal bool IsSetMiddleName() { return this._middleName != null; } /// /// Gets and sets the property MobilePhoneNumber. /// /// A unique identifier for the mobile phone number field to be merged. /// /// public string MobilePhoneNumber { get { return this._mobilePhoneNumber; } set { this._mobilePhoneNumber = value; } } // Check to see if MobilePhoneNumber property is set internal bool IsSetMobilePhoneNumber() { return this._mobilePhoneNumber != null; } /// /// Gets and sets the property PartyType. /// /// A unique identifier for the party type field to be merged. /// /// public string PartyType { get { return this._partyType; } set { this._partyType = value; } } // Check to see if PartyType property is set internal bool IsSetPartyType() { return this._partyType != null; } /// /// Gets and sets the property PersonalEmailAddress. /// /// A unique identifier for the personal email address field to be merged. /// /// public string PersonalEmailAddress { get { return this._personalEmailAddress; } set { this._personalEmailAddress = value; } } // Check to see if PersonalEmailAddress property is set internal bool IsSetPersonalEmailAddress() { return this._personalEmailAddress != null; } /// /// Gets and sets the property PhoneNumber. /// /// A unique identifier for the phone number field to be merged. /// /// public string PhoneNumber { get { return this._phoneNumber; } set { this._phoneNumber = value; } } // Check to see if PhoneNumber property is set internal bool IsSetPhoneNumber() { return this._phoneNumber != null; } /// /// Gets and sets the property ShippingAddress. /// /// A unique identifier for the shipping address field to be merged. /// /// public string ShippingAddress { get { return this._shippingAddress; } set { this._shippingAddress = value; } } // Check to see if ShippingAddress property is set internal bool IsSetShippingAddress() { return this._shippingAddress != null; } } }