/* * 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 pinpoint-email-2018-07-26.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.PinpointEmail.Model { /// /// An object that describes the recipients for an email. /// public partial class Destination { private List _bccAddresses = new List(); private List _ccAddresses = new List(); private List _toAddresses = new List(); /// /// Gets and sets the property BccAddresses. /// /// An array that contains the email addresses of the "BCC" (blind carbon copy) recipients /// for the email. /// /// public List BccAddresses { get { return this._bccAddresses; } set { this._bccAddresses = value; } } // Check to see if BccAddresses property is set internal bool IsSetBccAddresses() { return this._bccAddresses != null && this._bccAddresses.Count > 0; } /// /// Gets and sets the property CcAddresses. /// /// An array that contains the email addresses of the "CC" (carbon copy) recipients for /// the email. /// /// public List CcAddresses { get { return this._ccAddresses; } set { this._ccAddresses = value; } } // Check to see if CcAddresses property is set internal bool IsSetCcAddresses() { return this._ccAddresses != null && this._ccAddresses.Count > 0; } /// /// Gets and sets the property ToAddresses. /// /// An array that contains the email addresses of the "To" recipients for the email. /// /// public List ToAddresses { get { return this._toAddresses; } set { this._toAddresses = value; } } // Check to see if ToAddresses property is set internal bool IsSetToAddresses() { return this._toAddresses != null && this._toAddresses.Count > 0; } } }