AWS SDK for C++  1.9.21
AWS SDK for C++
Public Member Functions | List of all members
Aws::SES::Model::Body Class Reference

#include <Body.h>

Public Member Functions

 Body ()
 
 Body (const Aws::Utils::Xml::XmlNode &xmlNode)
 
Bodyoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const ContentGetText () const
 
bool TextHasBeenSet () const
 
void SetText (const Content &value)
 
void SetText (Content &&value)
 
BodyWithText (const Content &value)
 
BodyWithText (Content &&value)
 
const ContentGetHtml () const
 
bool HtmlHasBeenSet () const
 
void SetHtml (const Content &value)
 
void SetHtml (Content &&value)
 
BodyWithHtml (const Content &value)
 
BodyWithHtml (Content &&value)
 

Detailed Description

Represents the body of the message. You can specify text, HTML, or both. If you use both, then the message should display correctly in the widest variety of email clients.

See Also:

AWS API Reference

Definition at line 33 of file Body.h.

Constructor & Destructor Documentation

◆ Body() [1/2]

Aws::SES::Model::Body::Body ( )

◆ Body() [2/2]

Aws::SES::Model::Body::Body ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ GetHtml()

const Content& Aws::SES::Model::Body::GetHtml ( ) const
inline

The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.

Definition at line 86 of file Body.h.

◆ GetText()

const Content& Aws::SES::Model::Body::GetText ( ) const
inline

The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).

Definition at line 48 of file Body.h.

◆ HtmlHasBeenSet()

bool Aws::SES::Model::Body::HtmlHasBeenSet ( ) const
inline

The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.

Definition at line 93 of file Body.h.

◆ operator=()

Body& Aws::SES::Model::Body::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::SES::Model::Body::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::SES::Model::Body::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ SetHtml() [1/2]

void Aws::SES::Model::Body::SetHtml ( const Content value)
inline

The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.

Definition at line 100 of file Body.h.

◆ SetHtml() [2/2]

void Aws::SES::Model::Body::SetHtml ( Content &&  value)
inline

The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.

Definition at line 107 of file Body.h.

◆ SetText() [1/2]

void Aws::SES::Model::Body::SetText ( const Content value)
inline

The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).

Definition at line 60 of file Body.h.

◆ SetText() [2/2]

void Aws::SES::Model::Body::SetText ( Content &&  value)
inline

The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).

Definition at line 66 of file Body.h.

◆ TextHasBeenSet()

bool Aws::SES::Model::Body::TextHasBeenSet ( ) const
inline

The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).

Definition at line 54 of file Body.h.

◆ WithHtml() [1/2]

Body& Aws::SES::Model::Body::WithHtml ( const Content value)
inline

The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.

Definition at line 114 of file Body.h.

◆ WithHtml() [2/2]

Body& Aws::SES::Model::Body::WithHtml ( Content &&  value)
inline

The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.

Definition at line 121 of file Body.h.

◆ WithText() [1/2]

Body& Aws::SES::Model::Body::WithText ( const Content value)
inline

The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).

Definition at line 72 of file Body.h.

◆ WithText() [2/2]

Body& Aws::SES::Model::Body::WithText ( Content &&  value)
inline

The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).

Definition at line 78 of file Body.h.


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