7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/email/SESRequest.h>
10#include <aws/email/SES_EXPORTS.h>
11#include <aws/email/model/Destination.h>
12#include <aws/email/model/Message.h>
13#include <aws/email/model/MessageTag.h>
72 template <
typename SourceT = Aws::String>
74 m_sourceHasBeenSet =
true;
75 m_source = std::forward<SourceT>(value);
77 template <
typename SourceT = Aws::String>
90 template <
typename DestinationT = Destination>
92 m_destinationHasBeenSet =
true;
93 m_destination = std::forward<DestinationT>(value);
95 template <
typename DestinationT = Destination>
108 template <
typename MessageT = Message>
110 m_messageHasBeenSet =
true;
111 m_message = std::forward<MessageT>(value);
113 template <
typename MessageT = Message>
127 template <
typename ReplyToAddressesT = Aws::Vector<Aws::String>>
129 m_replyToAddressesHasBeenSet =
true;
130 m_replyToAddresses = std::forward<ReplyToAddressesT>(value);
132 template <
typename ReplyToAddressesT = Aws::Vector<Aws::String>>
137 template <
typename ReplyToAddressesT = Aws::String>
139 m_replyToAddressesHasBeenSet =
true;
140 m_replyToAddresses.emplace_back(std::forward<ReplyToAddressesT>(value));
157 template <
typename ReturnPathT = Aws::String>
159 m_returnPathHasBeenSet =
true;
160 m_returnPath = std::forward<ReturnPathT>(value);
162 template <
typename ReturnPathT = Aws::String>
186 template <
typename SourceArnT = Aws::String>
188 m_sourceArnHasBeenSet =
true;
189 m_sourceArn = std::forward<SourceArnT>(value);
191 template <
typename SourceArnT = Aws::String>
216 template <
typename ReturnPathArnT = Aws::String>
218 m_returnPathArnHasBeenSet =
true;
219 m_returnPathArn = std::forward<ReturnPathArnT>(value);
221 template <
typename ReturnPathArnT = Aws::String>
236 template <
typename TagsT = Aws::Vector<MessageTag>>
238 m_tagsHasBeenSet =
true;
239 m_tags = std::forward<TagsT>(value);
241 template <
typename TagsT = Aws::Vector<MessageTag>>
243 SetTags(std::forward<TagsT>(value));
246 template <
typename TagsT = MessageTag>
248 m_tagsHasBeenSet =
true;
249 m_tags.emplace_back(std::forward<TagsT>(value));
261 template <
typename ConfigurationSetNameT = Aws::String>
263 m_configurationSetNameHasBeenSet =
true;
264 m_configurationSetName = std::forward<ConfigurationSetNameT>(value);
266 template <
typename ConfigurationSetNameT = Aws::String>
290 bool m_sourceHasBeenSet =
false;
291 bool m_destinationHasBeenSet =
false;
292 bool m_messageHasBeenSet =
false;
293 bool m_replyToAddressesHasBeenSet =
false;
294 bool m_returnPathHasBeenSet =
false;
295 bool m_sourceArnHasBeenSet =
false;
296 bool m_returnPathArnHasBeenSet =
false;
297 bool m_tagsHasBeenSet =
false;
298 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