/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace WorkMailMessageFlow { namespace Model { /** *

Provides the MIME content of the updated email message as an S3 object. All * MIME content must meet the following criteria:

  • Each part of a * multipart MIME message must be formatted properly.

  • Attachments * must be of a content type that Amazon SES supports. For more information, see Unsupported * Attachment Types.

  • If any of the MIME parts in a message * contain content that is outside of the 7-bit ASCII character range, we recommend * encoding that content.

  • Per RFC 5321, the * maximum length of each line of text, including the <CRLF>, must not exceed * 1,000 characters.

  • The message must contain all the required * header fields. Check the returned error message for more information.

  • *
  • The value of immutable headers must remain unchanged. Check the returned * error message for more information.

  • Certain unique headers can * only appear once. Check the returned error message for more information.

    *

See Also:

AWS * API Reference

*/ class RawMessageContent { public: AWS_WORKMAILMESSAGEFLOW_API RawMessageContent(); AWS_WORKMAILMESSAGEFLOW_API RawMessageContent(Aws::Utils::Json::JsonView jsonValue); AWS_WORKMAILMESSAGEFLOW_API RawMessageContent& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_WORKMAILMESSAGEFLOW_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The S3 reference of an email message.

*/ inline const S3Reference& GetS3Reference() const{ return m_s3Reference; } /** *

The S3 reference of an email message.

*/ inline bool S3ReferenceHasBeenSet() const { return m_s3ReferenceHasBeenSet; } /** *

The S3 reference of an email message.

*/ inline void SetS3Reference(const S3Reference& value) { m_s3ReferenceHasBeenSet = true; m_s3Reference = value; } /** *

The S3 reference of an email message.

*/ inline void SetS3Reference(S3Reference&& value) { m_s3ReferenceHasBeenSet = true; m_s3Reference = std::move(value); } /** *

The S3 reference of an email message.

*/ inline RawMessageContent& WithS3Reference(const S3Reference& value) { SetS3Reference(value); return *this;} /** *

The S3 reference of an email message.

*/ inline RawMessageContent& WithS3Reference(S3Reference&& value) { SetS3Reference(std::move(value)); return *this;} private: S3Reference m_s3Reference; bool m_s3ReferenceHasBeenSet = false; }; } // namespace Model } // namespace WorkMailMessageFlow } // namespace Aws