/* * 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 sesv2-2019-09-27.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.SimpleEmailV2.Model { /// /// Container for the parameters to the SendBulkEmail operation. /// Composes an email message to multiple destinations. /// public partial class SendBulkEmailRequest : AmazonSimpleEmailServiceV2Request { private List _bulkEmailEntries = new List(); private string _configurationSetName; private BulkEmailContent _defaultContent; private List _defaultEmailTags = new List(); private string _feedbackForwardingEmailAddress; private string _feedbackForwardingEmailAddressIdentityArn; private string _fromEmailAddress; private string _fromEmailAddressIdentityArn; private List _replyToAddresses = new List(); /// /// Gets and sets the property BulkEmailEntries. /// /// The list of bulk email entry objects. /// /// [AWSProperty(Required=true)] public List BulkEmailEntries { get { return this._bulkEmailEntries; } set { this._bulkEmailEntries = value; } } // Check to see if BulkEmailEntries property is set internal bool IsSetBulkEmailEntries() { return this._bulkEmailEntries != null && this._bulkEmailEntries.Count > 0; } /// /// Gets and sets the property ConfigurationSetName. /// /// The name of the configuration set to use when sending the email. /// /// public string ConfigurationSetName { get { return this._configurationSetName; } set { this._configurationSetName = value; } } // Check to see if ConfigurationSetName property is set internal bool IsSetConfigurationSetName() { return this._configurationSetName != null; } /// /// Gets and sets the property DefaultContent. /// /// An object that contains the body of the message. You can specify a template message. /// /// [AWSProperty(Required=true)] public BulkEmailContent DefaultContent { get { return this._defaultContent; } set { this._defaultContent = value; } } // Check to see if DefaultContent property is set internal bool IsSetDefaultContent() { return this._defaultContent != null; } /// /// Gets and sets the property DefaultEmailTags. /// /// A list of tags, in the form of name/value pairs, to apply to an email that you send /// using the SendEmail operation. Tags correspond to characteristics of /// the email that you define, so that you can publish email sending events. /// /// public List DefaultEmailTags { get { return this._defaultEmailTags; } set { this._defaultEmailTags = value; } } // Check to see if DefaultEmailTags property is set internal bool IsSetDefaultEmailTags() { return this._defaultEmailTags != null && this._defaultEmailTags.Count > 0; } /// /// Gets and sets the property FeedbackForwardingEmailAddress. /// /// The address that you want bounce and complaint notifications to be sent to. /// /// public string FeedbackForwardingEmailAddress { get { return this._feedbackForwardingEmailAddress; } set { this._feedbackForwardingEmailAddress = value; } } // Check to see if FeedbackForwardingEmailAddress property is set internal bool IsSetFeedbackForwardingEmailAddress() { return this._feedbackForwardingEmailAddress != null; } /// /// Gets and sets the property FeedbackForwardingEmailAddressIdentityArn. /// /// This parameter is used only for sending authorization. It is the ARN of the identity /// that is associated with the sending authorization policy that permits you to use the /// email address specified in the FeedbackForwardingEmailAddress parameter. /// /// /// /// For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) /// attaches a policy to it that authorizes you to use feedback@example.com, then you /// would specify the FeedbackForwardingEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, /// and the FeedbackForwardingEmailAddress to be feedback@example.com. /// /// /// /// For more information about sending authorization, see the Amazon /// SES Developer Guide. /// /// public string FeedbackForwardingEmailAddressIdentityArn { get { return this._feedbackForwardingEmailAddressIdentityArn; } set { this._feedbackForwardingEmailAddressIdentityArn = value; } } // Check to see if FeedbackForwardingEmailAddressIdentityArn property is set internal bool IsSetFeedbackForwardingEmailAddressIdentityArn() { return this._feedbackForwardingEmailAddressIdentityArn != null; } /// /// Gets and sets the property FromEmailAddress. /// /// The email address to use as the "From" address for the email. The address that you /// specify has to be verified. /// /// public string FromEmailAddress { get { return this._fromEmailAddress; } set { this._fromEmailAddress = value; } } // Check to see if FromEmailAddress property is set internal bool IsSetFromEmailAddress() { return this._fromEmailAddress != null; } /// /// Gets and sets the property FromEmailAddressIdentityArn. /// /// This parameter is used only for sending authorization. It is the ARN of the identity /// that is associated with the sending authorization policy that permits you to use the /// email address specified in the FromEmailAddress parameter. /// /// /// /// For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) /// attaches a policy to it that authorizes you to use sender@example.com, then you would /// specify the FromEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, /// and the FromEmailAddress to be sender@example.com. /// /// /// /// For more information about sending authorization, see the Amazon /// SES Developer Guide. /// /// public string FromEmailAddressIdentityArn { get { return this._fromEmailAddressIdentityArn; } set { this._fromEmailAddressIdentityArn = value; } } // Check to see if FromEmailAddressIdentityArn property is set internal bool IsSetFromEmailAddressIdentityArn() { return this._fromEmailAddressIdentityArn != null; } /// /// Gets and sets the property ReplyToAddresses. /// /// The "Reply-to" email addresses for the message. When the recipient replies to the /// message, each Reply-to address receives the reply. /// /// public List ReplyToAddresses { get { return this._replyToAddresses; } set { this._replyToAddresses = value; } } // Check to see if ReplyToAddresses property is set internal bool IsSetReplyToAddresses() { return this._replyToAddresses != null && this._replyToAddresses.Count > 0; } } }