7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sesv2/SESV2Request.h>
10#include <aws/sesv2/SESV2_EXPORTS.h>
11#include <aws/sesv2/model/ConfigurationOverrides.h>
12#include <aws/sesv2/model/Destination.h>
13#include <aws/sesv2/model/EmailContent.h>
14#include <aws/sesv2/model/ListManagementOptions.h>
15#include <aws/sesv2/model/MessageTag.h>
55 template <
typename FromEmailAddressT = Aws::String>
57 m_fromEmailAddressHasBeenSet =
true;
58 m_fromEmailAddress = std::forward<FromEmailAddressT>(value);
60 template <
typename FromEmailAddressT = Aws::String>
86 template <
typename FromEmailAddressIdentityArnT = Aws::String>
88 m_fromEmailAddressIdentityArnHasBeenSet =
true;
89 m_fromEmailAddressIdentityArn = std::forward<FromEmailAddressIdentityArnT>(value);
91 template <
typename FromEmailAddressIdentityArnT = Aws::String>
104 template <
typename DestinationT = Destination>
106 m_destinationHasBeenSet =
true;
107 m_destination = std::forward<DestinationT>(value);
109 template <
typename DestinationT = Destination>
123 template <
typename ReplyToAddressesT = Aws::Vector<Aws::String>>
125 m_replyToAddressesHasBeenSet =
true;
126 m_replyToAddresses = std::forward<ReplyToAddressesT>(value);
128 template <
typename ReplyToAddressesT = Aws::Vector<Aws::String>>
133 template <
typename ReplyToAddressesT = Aws::String>
135 m_replyToAddressesHasBeenSet =
true;
136 m_replyToAddresses.emplace_back(std::forward<ReplyToAddressesT>(value));
148 template <
typename FeedbackForwardingEmailAddressT = Aws::String>
150 m_feedbackForwardingEmailAddressHasBeenSet =
true;
151 m_feedbackForwardingEmailAddress = std::forward<FeedbackForwardingEmailAddressT>(value);
153 template <
typename FeedbackForwardingEmailAddressT = Aws::String>
178 template <
typename FeedbackForwardingEmailAddressIdentityArnT = Aws::String>
180 m_feedbackForwardingEmailAddressIdentityArnHasBeenSet =
true;
181 m_feedbackForwardingEmailAddressIdentityArn = std::forward<FeedbackForwardingEmailAddressIdentityArnT>(value);
183 template <
typename FeedbackForwardingEmailAddressIdentityArnT = Aws::String>
197 template <
typename ContentT = EmailContent>
199 m_contentHasBeenSet =
true;
200 m_content = std::forward<ContentT>(value);
202 template <
typename ContentT = EmailContent>
218 template <
typename EmailTagsT = Aws::Vector<MessageTag>>
220 m_emailTagsHasBeenSet =
true;
221 m_emailTags = std::forward<EmailTagsT>(value);
223 template <
typename EmailTagsT = Aws::Vector<MessageTag>>
228 template <
typename EmailTagsT = MessageTag>
230 m_emailTagsHasBeenSet =
true;
231 m_emailTags.emplace_back(std::forward<EmailTagsT>(value));
242 template <
typename ConfigurationSetNameT = Aws::String>
244 m_configurationSetNameHasBeenSet =
true;
245 m_configurationSetName = std::forward<ConfigurationSetNameT>(value);
247 template <
typename ConfigurationSetNameT = Aws::String>
260 template <
typename Endpo
intIdT = Aws::String>
262 m_endpointIdHasBeenSet =
true;
263 m_endpointId = std::forward<EndpointIdT>(value);
265 template <
typename Endpo
intIdT = Aws::String>
281 template <
typename TenantNameT = Aws::String>
283 m_tenantNameHasBeenSet =
true;
284 m_tenantName = std::forward<TenantNameT>(value);
286 template <
typename TenantNameT = Aws::String>
300 template <
typename ListManagementOptionsT = ListManagementOptions>
302 m_listManagementOptionsHasBeenSet =
true;
303 m_listManagementOptions = std::forward<ListManagementOptionsT>(value);
305 template <
typename ListManagementOptionsT = ListManagementOptions>
320 template <
typename ConfigurationOverr
idesT = ConfigurationOverr
ides>
322 m_configurationOverridesHasBeenSet =
true;
323 m_configurationOverrides = std::forward<ConfigurationOverridesT>(value);
325 template <
typename ConfigurationOverr
idesT = ConfigurationOverr
ides>
342 Aws::String m_feedbackForwardingEmailAddressIdentityArn;
357 bool m_fromEmailAddressHasBeenSet =
false;
358 bool m_fromEmailAddressIdentityArnHasBeenSet =
false;
359 bool m_destinationHasBeenSet =
false;
360 bool m_replyToAddressesHasBeenSet =
false;
361 bool m_feedbackForwardingEmailAddressHasBeenSet =
false;
362 bool m_feedbackForwardingEmailAddressIdentityArnHasBeenSet =
false;
363 bool m_contentHasBeenSet =
false;
364 bool m_emailTagsHasBeenSet =
false;
365 bool m_configurationSetNameHasBeenSet =
false;
366 bool m_endpointIdHasBeenSet =
false;
367 bool m_tenantNameHasBeenSet =
false;
368 bool m_listManagementOptionsHasBeenSet =
false;
369 bool m_configurationOverridesHasBeenSet =
false;
SendEmailRequest & WithEmailTags(EmailTagsT &&value)
SendEmailRequest & WithFeedbackForwardingEmailAddress(FeedbackForwardingEmailAddressT &&value)
const Aws::String & GetFeedbackForwardingEmailAddress() const
bool ContentHasBeenSet() const
bool EmailTagsHasBeenSet() const
void SetListManagementOptions(ListManagementOptionsT &&value)
const ConfigurationOverrides & GetConfigurationOverrides() const
SendEmailRequest & WithFromEmailAddress(FromEmailAddressT &&value)
SendEmailRequest & WithFeedbackForwardingEmailAddressIdentityArn(FeedbackForwardingEmailAddressIdentityArnT &&value)
const Aws::String & GetFromEmailAddress() const
const EmailContent & GetContent() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetFeedbackForwardingEmailAddressIdentityArn() const
void SetFeedbackForwardingEmailAddressIdentityArn(FeedbackForwardingEmailAddressIdentityArnT &&value)
AWS_SESV2_API SendEmailRequest()=default
void SetConfigurationOverrides(ConfigurationOverridesT &&value)
bool ReplyToAddressesHasBeenSet() const
bool EndpointIdHasBeenSet() const
const Aws::Vector< MessageTag > & GetEmailTags() const
AWS_SESV2_API EndpointParameters GetEndpointContextParams() const override
void SetFeedbackForwardingEmailAddress(FeedbackForwardingEmailAddressT &&value)
SendEmailRequest & WithReplyToAddresses(ReplyToAddressesT &&value)
const Aws::String & GetEndpointId() const
bool FeedbackForwardingEmailAddressIdentityArnHasBeenSet() const
void SetConfigurationSetName(ConfigurationSetNameT &&value)
const Aws::Vector< Aws::String > & GetReplyToAddresses() const
void SetFromEmailAddress(FromEmailAddressT &&value)
SendEmailRequest & AddReplyToAddresses(ReplyToAddressesT &&value)
void SetReplyToAddresses(ReplyToAddressesT &&value)
void SetEmailTags(EmailTagsT &&value)
void SetFromEmailAddressIdentityArn(FromEmailAddressIdentityArnT &&value)
AWS_SESV2_API Aws::String SerializePayload() const override
const Aws::String & GetTenantName() const
bool FromEmailAddressHasBeenSet() const
SendEmailRequest & WithEndpointId(EndpointIdT &&value)
const Destination & GetDestination() const
bool DestinationHasBeenSet() const
SendEmailRequest & WithDestination(DestinationT &&value)
bool ConfigurationSetNameHasBeenSet() const
void SetTenantName(TenantNameT &&value)
SendEmailRequest & WithContent(ContentT &&value)
void SetEndpointId(EndpointIdT &&value)
void SetDestination(DestinationT &&value)
SendEmailRequest & WithFromEmailAddressIdentityArn(FromEmailAddressIdentityArnT &&value)
SendEmailRequest & AddEmailTags(EmailTagsT &&value)
const ListManagementOptions & GetListManagementOptions() const
SendEmailRequest & WithListManagementOptions(ListManagementOptionsT &&value)
SendEmailRequest & WithConfigurationOverrides(ConfigurationOverridesT &&value)
bool TenantNameHasBeenSet() const
SendEmailRequest & WithTenantName(TenantNameT &&value)
const Aws::String & GetFromEmailAddressIdentityArn() const
void SetContent(ContentT &&value)
bool ConfigurationOverridesHasBeenSet() const
bool FromEmailAddressIdentityArnHasBeenSet() const
bool FeedbackForwardingEmailAddressHasBeenSet() const
const Aws::String & GetConfigurationSetName() const
bool ListManagementOptionsHasBeenSet() const
SendEmailRequest & WithConfigurationSetName(ConfigurationSetNameT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector