AWS SDK for C++  1.8.74
AWS SDK for C++
Public Member Functions | List of all members
Aws::PinpointEmail::Model::EmailContent Class Reference

#include <EmailContent.h>

Public Member Functions

 EmailContent ()
 
 EmailContent (Aws::Utils::Json::JsonView jsonValue)
 
EmailContentoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const MessageGetSimple () const
 
bool SimpleHasBeenSet () const
 
void SetSimple (const Message &value)
 
void SetSimple (Message &&value)
 
EmailContentWithSimple (const Message &value)
 
EmailContentWithSimple (Message &&value)
 
const RawMessageGetRaw () const
 
bool RawHasBeenSet () const
 
void SetRaw (const RawMessage &value)
 
void SetRaw (RawMessage &&value)
 
EmailContentWithRaw (const RawMessage &value)
 
EmailContentWithRaw (RawMessage &&value)
 
const TemplateGetTemplate () const
 
bool TemplateHasBeenSet () const
 
void SetTemplate (const Template &value)
 
void SetTemplate (Template &&value)
 
EmailContentWithTemplate (const Template &value)
 
EmailContentWithTemplate (Template &&value)
 

Detailed Description

An object that defines the entire content of the email, including the message headers and the body content. You can create a simple email message, in which you specify the subject and the text and HTML versions of the message body. You can also create raw messages, in which you specify a complete MIME-formatted message. Raw messages can include attachments and custom headers.

See Also:

AWS API Reference

Definition at line 38 of file EmailContent.h.

Constructor & Destructor Documentation

◆ EmailContent() [1/2]

Aws::PinpointEmail::Model::EmailContent::EmailContent ( )

◆ EmailContent() [2/2]

Aws::PinpointEmail::Model::EmailContent::EmailContent ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetRaw()

const RawMessage& Aws::PinpointEmail::Model::EmailContent::GetRaw ( ) const
inline

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.

  • If you include attachments, they 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.

Definition at line 98 of file EmailContent.h.

◆ GetSimple()

const Message& Aws::PinpointEmail::Model::EmailContent::GetSimple ( ) const
inline

The simple email message. The message consists of a subject and a message body.

Definition at line 51 of file EmailContent.h.

◆ GetTemplate()

const Template& Aws::PinpointEmail::Model::EmailContent::GetTemplate ( ) const
inline

The template to use for the email message.

Definition at line 184 of file EmailContent.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::PinpointEmail::Model::EmailContent::Jsonize ( ) const

◆ operator=()

EmailContent& Aws::PinpointEmail::Model::EmailContent::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ RawHasBeenSet()

bool Aws::PinpointEmail::Model::EmailContent::RawHasBeenSet ( ) const
inline

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.

  • If you include attachments, they 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.

Definition at line 114 of file EmailContent.h.

◆ SetRaw() [1/2]

void Aws::PinpointEmail::Model::EmailContent::SetRaw ( const RawMessage value)
inline

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.

  • If you include attachments, they 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.

Definition at line 130 of file EmailContent.h.

◆ SetRaw() [2/2]

void Aws::PinpointEmail::Model::EmailContent::SetRaw ( RawMessage &&  value)
inline

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.

  • If you include attachments, they 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.

Definition at line 146 of file EmailContent.h.

◆ SetSimple() [1/2]

void Aws::PinpointEmail::Model::EmailContent::SetSimple ( const Message value)
inline

The simple email message. The message consists of a subject and a message body.

Definition at line 63 of file EmailContent.h.

◆ SetSimple() [2/2]

void Aws::PinpointEmail::Model::EmailContent::SetSimple ( Message &&  value)
inline

The simple email message. The message consists of a subject and a message body.

Definition at line 69 of file EmailContent.h.

◆ SetTemplate() [1/2]

void Aws::PinpointEmail::Model::EmailContent::SetTemplate ( const Template value)
inline

The template to use for the email message.

Definition at line 194 of file EmailContent.h.

◆ SetTemplate() [2/2]

void Aws::PinpointEmail::Model::EmailContent::SetTemplate ( Template &&  value)
inline

The template to use for the email message.

Definition at line 199 of file EmailContent.h.

◆ SimpleHasBeenSet()

bool Aws::PinpointEmail::Model::EmailContent::SimpleHasBeenSet ( ) const
inline

The simple email message. The message consists of a subject and a message body.

Definition at line 57 of file EmailContent.h.

◆ TemplateHasBeenSet()

bool Aws::PinpointEmail::Model::EmailContent::TemplateHasBeenSet ( ) const
inline

The template to use for the email message.

Definition at line 189 of file EmailContent.h.

◆ WithRaw() [1/2]

EmailContent& Aws::PinpointEmail::Model::EmailContent::WithRaw ( const RawMessage value)
inline

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.

  • If you include attachments, they 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.

Definition at line 162 of file EmailContent.h.

◆ WithRaw() [2/2]

EmailContent& Aws::PinpointEmail::Model::EmailContent::WithRaw ( RawMessage &&  value)
inline

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.

  • If you include attachments, they 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.

Definition at line 178 of file EmailContent.h.

◆ WithSimple() [1/2]

EmailContent& Aws::PinpointEmail::Model::EmailContent::WithSimple ( const Message value)
inline

The simple email message. The message consists of a subject and a message body.

Definition at line 75 of file EmailContent.h.

◆ WithSimple() [2/2]

EmailContent& Aws::PinpointEmail::Model::EmailContent::WithSimple ( Message &&  value)
inline

The simple email message. The message consists of a subject and a message body.

Definition at line 81 of file EmailContent.h.

◆ WithTemplate() [1/2]

EmailContent& Aws::PinpointEmail::Model::EmailContent::WithTemplate ( const Template value)
inline

The template to use for the email message.

Definition at line 204 of file EmailContent.h.

◆ WithTemplate() [2/2]

EmailContent& Aws::PinpointEmail::Model::EmailContent::WithTemplate ( Template &&  value)
inline

The template to use for the email message.

Definition at line 209 of file EmailContent.h.


The documentation for this class was generated from the following file: