/*
* 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
{
///
/// The raw email message.
///
public partial class RawMessage
{
private MemoryStream _data;
///
/// Gets and sets the property Data.
///
/// The raw email message. The message has to meet the following criteria:
///
/// -
///
/// The message has to contain a header and a body, separated by one blank line.
///
///
-
///
/// All of the required header fields must be present in the message.
///
///
-
///
/// Each part of a multipart MIME message must be formatted properly.
///
///
-
///
/// Attachments must be in a file format that Amazon Pinpoint supports.
///
///
-
///
/// The entire message must be Base64 encoded.
///
///
-
///
/// If any of the MIME parts in your message contain content that is outside of the 7-bit
/// ASCII character range, you should encode that content to ensure that recipients' email
/// clients render the message properly.
///
///
-
///
/// The length of any single line of text in the message can't exceed 1,000 characters.
/// This restriction is defined in RFC 5321.
///
///
///
[AWSProperty(Required=true)]
public MemoryStream Data
{
get { return this._data; }
set { this._data = value; }
}
// Check to see if Data property is set
internal bool IsSetData()
{
return this._data != null;
}
}
}