7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/RawEmail.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/pinpoint/model/SimpleEmail.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
53 inline void SetBody(
const char* value) { m_bodyHasBeenSet =
true; m_body.assign(value); }
68 inline void SetFeedbackForwardingAddress(
const char* value) { m_feedbackForwardingAddressHasBeenSet =
true; m_feedbackForwardingAddress.assign(value); }
83 inline void SetFromAddress(
const char* value) { m_fromAddressHasBeenSet =
true; m_fromAddress.assign(value); }
96 inline void SetRawEmail(
RawEmail&& value) { m_rawEmailHasBeenSet =
true; m_rawEmail = std::move(value); }
150 bool m_bodyHasBeenSet =
false;
153 bool m_feedbackForwardingAddressHasBeenSet =
false;
156 bool m_fromAddressHasBeenSet =
false;
159 bool m_rawEmailHasBeenSet =
false;
162 bool m_replyToAddressesHasBeenSet =
false;
165 bool m_simpleEmailHasBeenSet =
false;
168 bool m_substitutionsHasBeenSet =
false;
bool SubstitutionsHasBeenSet() const
EmailMessage & AddReplyToAddresses(const char *value)
EmailMessage & AddSubstitutions(const char *key, Aws::Vector< Aws::String > &&value)
void SetSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
EmailMessage & WithFromAddress(const Aws::String &value)
EmailMessage & WithFeedbackForwardingAddress(Aws::String &&value)
EmailMessage & WithSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
EmailMessage & WithSimpleEmail(SimpleEmail &&value)
EmailMessage & WithSimpleEmail(const SimpleEmail &value)
EmailMessage & WithBody(Aws::String &&value)
void SetBody(const Aws::String &value)
AWS_PINPOINT_API EmailMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
EmailMessage & WithSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::String & GetFromAddress() const
EmailMessage & WithFeedbackForwardingAddress(const Aws::String &value)
void SetReplyToAddresses(const Aws::Vector< Aws::String > &value)
bool BodyHasBeenSet() const
void SetFromAddress(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFeedbackForwardingAddress(const char *value)
EmailMessage & WithBody(const Aws::String &value)
void SetRawEmail(const RawEmail &value)
AWS_PINPOINT_API EmailMessage()
EmailMessage & WithFromAddress(const char *value)
void SetSimpleEmail(SimpleEmail &&value)
EmailMessage & WithReplyToAddresses(Aws::Vector< Aws::String > &&value)
void SetFeedbackForwardingAddress(const Aws::String &value)
bool FeedbackForwardingAddressHasBeenSet() const
const RawEmail & GetRawEmail() const
void SetRawEmail(RawEmail &&value)
EmailMessage & AddSubstitutions(const Aws::String &key, const Aws::Vector< Aws::String > &value)
EmailMessage & WithBody(const char *value)
bool RawEmailHasBeenSet() const
void SetFromAddress(Aws::String &&value)
void SetReplyToAddresses(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetReplyToAddresses() const
void SetFromAddress(const char *value)
bool FromAddressHasBeenSet() const
EmailMessage & WithRawEmail(const RawEmail &value)
EmailMessage & WithFeedbackForwardingAddress(const char *value)
EmailMessage & AddReplyToAddresses(Aws::String &&value)
const SimpleEmail & GetSimpleEmail() const
EmailMessage & WithFromAddress(Aws::String &&value)
bool ReplyToAddressesHasBeenSet() const
EmailMessage & AddSubstitutions(Aws::String &&key, Aws::Vector< Aws::String > &&value)
EmailMessage & WithRawEmail(RawEmail &&value)
const Aws::String & GetBody() const
bool SimpleEmailHasBeenSet() const
EmailMessage & AddSubstitutions(const Aws::String &key, Aws::Vector< Aws::String > &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
void SetSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
EmailMessage & AddSubstitutions(Aws::String &&key, const Aws::Vector< Aws::String > &value)
void SetBody(const char *value)
AWS_PINPOINT_API EmailMessage(Aws::Utils::Json::JsonView jsonValue)
EmailMessage & WithReplyToAddresses(const Aws::Vector< Aws::String > &value)
void SetBody(Aws::String &&value)
EmailMessage & AddReplyToAddresses(const Aws::String &value)
void SetFeedbackForwardingAddress(Aws::String &&value)
const Aws::String & GetFeedbackForwardingAddress() const
void SetSimpleEmail(const SimpleEmail &value)
EmailMessage & AddSubstitutions(const char *key, const Aws::Vector< Aws::String > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue