7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/SESRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/email/model/Destination.h>
11#include <aws/email/model/Message.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/email/model/MessageTag.h>
76 template<
typename SourceT = Aws::String>
77 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
78 template<
typename SourceT = Aws::String>
88 template<
typename DestinationT = Destination>
89 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
90 template<
typename DestinationT = Destination>
100 template<
typename MessageT = Message>
101 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
102 template<
typename MessageT = Message>
113 template<
typename ReplyToAddressesT = Aws::Vector<Aws::String>>
114 void SetReplyToAddresses(ReplyToAddressesT&& value) { m_replyToAddressesHasBeenSet =
true; m_replyToAddresses = std::forward<ReplyToAddressesT>(value); }
115 template<
typename ReplyToAddressesT = Aws::Vector<Aws::String>>
117 template<
typename ReplyToAddressesT = Aws::String>
118 SendEmailRequest&
AddReplyToAddresses(ReplyToAddressesT&& value) { m_replyToAddressesHasBeenSet =
true; m_replyToAddresses.emplace_back(std::forward<ReplyToAddressesT>(value));
return *
this; }
133 template<
typename ReturnPathT = Aws::String>
134 void SetReturnPath(ReturnPathT&& value) { m_returnPathHasBeenSet =
true; m_returnPath = std::forward<ReturnPathT>(value); }
135 template<
typename ReturnPathT = Aws::String>
156 template<
typename SourceArnT = Aws::String>
157 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet =
true; m_sourceArn = std::forward<SourceArnT>(value); }
158 template<
typename SourceArnT = Aws::String>
180 template<
typename ReturnPathArnT = Aws::String>
181 void SetReturnPathArn(ReturnPathArnT&& value) { m_returnPathArnHasBeenSet =
true; m_returnPathArn = std::forward<ReturnPathArnT>(value); }
182 template<
typename ReturnPathArnT = Aws::String>
194 template<
typename TagsT = Aws::Vector<MessageTag>>
195 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
196 template<
typename TagsT = Aws::Vector<MessageTag>>
198 template<
typename TagsT = MessageTag>
199 SendEmailRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
209 template<
typename ConfigurationSetNameT = Aws::String>
210 void SetConfigurationSetName(ConfigurationSetNameT&& value) { m_configurationSetNameHasBeenSet =
true; m_configurationSetName = std::forward<ConfigurationSetNameT>(value); }
211 template<
typename ConfigurationSetNameT = Aws::String>
217 bool m_sourceHasBeenSet =
false;
220 bool m_destinationHasBeenSet =
false;
223 bool m_messageHasBeenSet =
false;
226 bool m_replyToAddressesHasBeenSet =
false;
229 bool m_returnPathHasBeenSet =
false;
232 bool m_sourceArnHasBeenSet =
false;
235 bool m_returnPathArnHasBeenSet =
false;
238 bool m_tagsHasBeenSet =
false;
241 bool m_configurationSetNameHasBeenSet =
false;
bool ReturnPathHasBeenSet() const
const Aws::Vector< MessageTag > & GetTags() const
bool ReturnPathArnHasBeenSet() const
bool SourceArnHasBeenSet() const
SendEmailRequest & WithSourceArn(SourceArnT &&value)
void SetReturnPath(ReturnPathT &&value)
void SetDestination(DestinationT &&value)
void SetReplyToAddresses(ReplyToAddressesT &&value)
bool ReplyToAddressesHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::String & GetReturnPathArn() const
SendEmailRequest & WithMessage(MessageT &&value)
SendEmailRequest & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetSourceArn() const
void SetSource(SourceT &&value)
bool DestinationHasBeenSet() const
const Message & GetMessage() const
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
SendEmailRequest & AddTags(TagsT &&value)
SendEmailRequest & WithReplyToAddresses(ReplyToAddressesT &&value)
SendEmailRequest & WithConfigurationSetName(ConfigurationSetNameT &&value)
void SetSourceArn(SourceArnT &&value)
const Destination & GetDestination() const
SendEmailRequest & WithReturnPath(ReturnPathT &&value)
SendEmailRequest & WithDestination(DestinationT &&value)
void SetConfigurationSetName(ConfigurationSetNameT &&value)
SendEmailRequest & WithSource(SourceT &&value)
const Aws::Vector< Aws::String > & GetReplyToAddresses() const
bool ConfigurationSetNameHasBeenSet() const
SendEmailRequest & WithReturnPathArn(ReturnPathArnT &&value)
AWS_SES_API Aws::String SerializePayload() const override
SendEmailRequest & AddReplyToAddresses(ReplyToAddressesT &&value)
bool SourceHasBeenSet() const
void SetReturnPathArn(ReturnPathArnT &&value)
const Aws::String & GetReturnPath() const
AWS_SES_API SendEmailRequest()=default
void SetMessage(MessageT &&value)
const Aws::String & GetSource() const
bool MessageHasBeenSet() const
const Aws::String & GetConfigurationSetName() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector