/*
* 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
{
///
///
///
public partial class BulkEmailEntry
{
private Destination _destination;
private ReplacementEmailContent _replacementEmailContent;
private List _replacementTags = new List();
///
/// Gets and sets the property Destination.
///
/// Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
///
///
///
/// Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531.
/// For this reason, the local part of a destination email address (the part of the email
/// address that precedes the @ sign) may only contain 7-bit
/// ASCII characters. If the domain part of an address (the part after the @ sign)
/// contains non-ASCII characters, they must be encoded using Punycode, as described in
/// RFC3492.
///
///
///
[AWSProperty(Required=true)]
public Destination Destination
{
get { return this._destination; }
set { this._destination = value; }
}
// Check to see if Destination property is set
internal bool IsSetDestination()
{
return this._destination != null;
}
///
/// Gets and sets the property ReplacementEmailContent.
///
/// The ReplacementEmailContent
associated with a BulkEmailEntry
.
///
///
public ReplacementEmailContent ReplacementEmailContent
{
get { return this._replacementEmailContent; }
set { this._replacementEmailContent = value; }
}
// Check to see if ReplacementEmailContent property is set
internal bool IsSetReplacementEmailContent()
{
return this._replacementEmailContent != null;
}
///
/// Gets and sets the property ReplacementTags.
///
/// A list of tags, in the form of name/value pairs, to apply to an email that you send
/// using the SendBulkTemplatedEmail
operation. Tags correspond to characteristics
/// of the email that you define, so that you can publish email sending events.
///
///
public List ReplacementTags
{
get { return this._replacementTags; }
set { this._replacementTags = value; }
}
// Check to see if ReplacementTags property is set
internal bool IsSetReplacementTags()
{
return this._replacementTags != null && this._replacementTags.Count > 0;
}
}
}