24#ifndef NAWA_MIMEEMAIL_H
25#define NAWA_MIMEEMAIL_H
29#include <unordered_map>
241 [[nodiscard]] std::string
getRaw(std::shared_ptr<ReplacementRules>
const& replacementRules)
const override;
Base structure for emails.
std::unordered_map< std::string, std::string > HeadersMap
std::vector< MimePartOrList > & mimeParts() noexcept
MultipartType & multipartType() noexcept
MimePartOrList(MimePart const &_mimePart)
std::unique_ptr< MimePartList > & mimePartList() noexcept
MimePartOrList(MimePartList const &_mimePartList)
MimePartOrList & operator=(MimePartList const &otherMimePartList)
std::unique_ptr< MimePart > & mimePart() noexcept
MimePartOrList & operator=(MimePart const &otherMimePart)
std::string & contentDisposition() noexcept
std::string & partData() noexcept
HeadersMap & partHeaders() noexcept
bool & allowReplacements() noexcept
std::string & contentType() noexcept
ApplyEncoding & applyEncoding() noexcept
MimePartList & mimePartList() noexcept
std::string getRaw(std::shared_ptr< ReplacementRules > const &replacementRules) const override
#define NAWA_COMPLEX_DATA_ACCESSORS_DEF(Class, Member, Type)
#define NAWA_DEFAULT_DESTRUCTOR_DEF(Class)
#define NAWA_DEFAULT_DESTRUCTOR_OVERRIDE_DEF(Class)
#define NAWA_DEFAULT_CONSTRUCTOR_DEF(Class)
#define NAWA_MOVE_CONSTRUCTOR_DEF(Class)
#define NAWA_PRIMITIVE_DATA_ACCESSORS_DEF(Class, Member, Type)
#define NAWA_COPY_ASSIGNMENT_OPERATOR_DEF(Class)
#define NAWA_PRIVATE_DATA()
#define NAWA_MOVE_ASSIGNMENT_OPERATOR_DEF(Class)
#define NAWA_COPY_CONSTRUCTOR_DEF(Class)