7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/PinpointEmailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint-email/model/Destination.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/pinpoint-email/model/EmailContent.h>
13#include <aws/pinpoint-email/model/MessageTag.h>
18namespace PinpointEmail
49 template<
typename FromEmailAddressT = Aws::String>
50 void SetFromEmailAddress(FromEmailAddressT&& value) { m_fromEmailAddressHasBeenSet =
true; m_fromEmailAddress = std::forward<FromEmailAddressT>(value); }
51 template<
typename FromEmailAddressT = Aws::String>
61 template<
typename DestinationT = Destination>
62 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
63 template<
typename DestinationT = Destination>
74 template<
typename ReplyToAddressesT = Aws::Vector<Aws::String>>
75 void SetReplyToAddresses(ReplyToAddressesT&& value) { m_replyToAddressesHasBeenSet =
true; m_replyToAddresses = std::forward<ReplyToAddressesT>(value); }
76 template<
typename ReplyToAddressesT = Aws::Vector<Aws::String>>
78 template<
typename ReplyToAddressesT = Aws::String>
79 SendEmailRequest&
AddReplyToAddresses(ReplyToAddressesT&& value) { m_replyToAddressesHasBeenSet =
true; m_replyToAddresses.emplace_back(std::forward<ReplyToAddressesT>(value));
return *
this; }
89 template<
typename FeedbackForwardingEmailAddressT = Aws::String>
90 void SetFeedbackForwardingEmailAddress(FeedbackForwardingEmailAddressT&& value) { m_feedbackForwardingEmailAddressHasBeenSet =
true; m_feedbackForwardingEmailAddress = std::forward<FeedbackForwardingEmailAddressT>(value); }
91 template<
typename FeedbackForwardingEmailAddressT = Aws::String>
102 template<
typename ContentT = EmailContent>
103 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
104 template<
typename ContentT = EmailContent>
117 template<
typename EmailTagsT = Aws::Vector<MessageTag>>
118 void SetEmailTags(EmailTagsT&& value) { m_emailTagsHasBeenSet =
true; m_emailTags = std::forward<EmailTagsT>(value); }
119 template<
typename EmailTagsT = Aws::Vector<MessageTag>>
121 template<
typename EmailTagsT = MessageTag>
122 SendEmailRequest&
AddEmailTags(EmailTagsT&& value) { m_emailTagsHasBeenSet =
true; m_emailTags.emplace_back(std::forward<EmailTagsT>(value));
return *
this; }
132 template<
typename ConfigurationSetNameT = Aws::String>
133 void SetConfigurationSetName(ConfigurationSetNameT&& value) { m_configurationSetNameHasBeenSet =
true; m_configurationSetName = std::forward<ConfigurationSetNameT>(value); }
134 template<
typename ConfigurationSetNameT = Aws::String>
140 bool m_fromEmailAddressHasBeenSet =
false;
143 bool m_destinationHasBeenSet =
false;
146 bool m_replyToAddressesHasBeenSet =
false;
149 bool m_feedbackForwardingEmailAddressHasBeenSet =
false;
152 bool m_contentHasBeenSet =
false;
155 bool m_emailTagsHasBeenSet =
false;
158 bool m_configurationSetNameHasBeenSet =
false;
bool FeedbackForwardingEmailAddressHasBeenSet() const
bool DestinationHasBeenSet() const
bool ContentHasBeenSet() const
SendEmailRequest & WithConfigurationSetName(ConfigurationSetNameT &&value)
const Aws::Vector< Aws::String > & GetReplyToAddresses() const
const EmailContent & GetContent() const
SendEmailRequest & WithDestination(DestinationT &&value)
bool EmailTagsHasBeenSet() const
bool ReplyToAddressesHasBeenSet() const
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
bool ConfigurationSetNameHasBeenSet() const
bool FromEmailAddressHasBeenSet() const
void SetFromEmailAddress(FromEmailAddressT &&value)
SendEmailRequest & WithEmailTags(EmailTagsT &&value)
void SetEmailTags(EmailTagsT &&value)
AWS_PINPOINTEMAIL_API SendEmailRequest()=default
SendEmailRequest & WithReplyToAddresses(ReplyToAddressesT &&value)
const Aws::Vector< MessageTag > & GetEmailTags() const
const Aws::String & GetFromEmailAddress() const
const Aws::String & GetConfigurationSetName() const
SendEmailRequest & WithFromEmailAddress(FromEmailAddressT &&value)
virtual const char * GetServiceRequestName() const override
const Destination & GetDestination() const
SendEmailRequest & AddEmailTags(EmailTagsT &&value)
void SetConfigurationSetName(ConfigurationSetNameT &&value)
void SetContent(ContentT &&value)
void SetReplyToAddresses(ReplyToAddressesT &&value)
const Aws::String & GetFeedbackForwardingEmailAddress() const
SendEmailRequest & AddReplyToAddresses(ReplyToAddressesT &&value)
SendEmailRequest & WithFeedbackForwardingEmailAddress(FeedbackForwardingEmailAddressT &&value)
void SetDestination(DestinationT &&value)
SendEmailRequest & WithContent(ContentT &&value)
void SetFeedbackForwardingEmailAddress(FeedbackForwardingEmailAddressT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector