/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace SESV2 { namespace Model { /** *

Represents a request to send email messages to multiple destinations using * Amazon SES. For more information, see the Amazon * SES Developer Guide.

See Also:

AWS * API Reference

*/ class SendBulkEmailRequest : public SESV2Request { public: AWS_SESV2_API SendBulkEmailRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "SendBulkEmail"; } AWS_SESV2_API Aws::String SerializePayload() const override; /** *

The email address to use as the "From" address for the email. The address * that you specify has to be verified.

*/ inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; } /** *

The email address to use as the "From" address for the email. The address * that you specify has to be verified.

*/ inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; } /** *

The email address to use as the "From" address for the email. The address * that you specify has to be verified.

*/ inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; } /** *

The email address to use as the "From" address for the email. The address * that you specify has to be verified.

*/ inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); } /** *

The email address to use as the "From" address for the email. The address * that you specify has to be verified.

*/ inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); } /** *

The email address to use as the "From" address for the email. The address * that you specify has to be verified.

*/ inline SendBulkEmailRequest& WithFromEmailAddress(const Aws::String& value) { SetFromEmailAddress(value); return *this;} /** *

The email address to use as the "From" address for the email. The address * that you specify has to be verified.

*/ inline SendBulkEmailRequest& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;} /** *

The email address to use as the "From" address for the email. The address * that you specify has to be verified.

*/ inline SendBulkEmailRequest& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;} /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the FromEmailAddress * parameter.

For example, if the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use sender@example.com, then you would specify the * FromEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FromEmailAddress to be sender@example.com.

For more * information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline const Aws::String& GetFromEmailAddressIdentityArn() const{ return m_fromEmailAddressIdentityArn; } /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the FromEmailAddress * parameter.

For example, if the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use sender@example.com, then you would specify the * FromEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FromEmailAddress to be sender@example.com.

For more * information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline bool FromEmailAddressIdentityArnHasBeenSet() const { return m_fromEmailAddressIdentityArnHasBeenSet; } /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the FromEmailAddress * parameter.

For example, if the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use sender@example.com, then you would specify the * FromEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FromEmailAddress to be sender@example.com.

For more * information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline void SetFromEmailAddressIdentityArn(const Aws::String& value) { m_fromEmailAddressIdentityArnHasBeenSet = true; m_fromEmailAddressIdentityArn = value; } /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the FromEmailAddress * parameter.

For example, if the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use sender@example.com, then you would specify the * FromEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FromEmailAddress to be sender@example.com.

For more * information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline void SetFromEmailAddressIdentityArn(Aws::String&& value) { m_fromEmailAddressIdentityArnHasBeenSet = true; m_fromEmailAddressIdentityArn = std::move(value); } /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the FromEmailAddress * parameter.

For example, if the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use sender@example.com, then you would specify the * FromEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FromEmailAddress to be sender@example.com.

For more * information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline void SetFromEmailAddressIdentityArn(const char* value) { m_fromEmailAddressIdentityArnHasBeenSet = true; m_fromEmailAddressIdentityArn.assign(value); } /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the FromEmailAddress * parameter.

For example, if the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use sender@example.com, then you would specify the * FromEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FromEmailAddress to be sender@example.com.

For more * information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline SendBulkEmailRequest& WithFromEmailAddressIdentityArn(const Aws::String& value) { SetFromEmailAddressIdentityArn(value); return *this;} /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the FromEmailAddress * parameter.

For example, if the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use sender@example.com, then you would specify the * FromEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FromEmailAddress to be sender@example.com.

For more * information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline SendBulkEmailRequest& WithFromEmailAddressIdentityArn(Aws::String&& value) { SetFromEmailAddressIdentityArn(std::move(value)); return *this;} /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the FromEmailAddress * parameter.

For example, if the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use sender@example.com, then you would specify the * FromEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FromEmailAddress to be sender@example.com.

For more * information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline SendBulkEmailRequest& WithFromEmailAddressIdentityArn(const char* value) { SetFromEmailAddressIdentityArn(value); return *this;} /** *

The "Reply-to" email addresses for the message. When the recipient replies to * the message, each Reply-to address receives the reply.

*/ inline const Aws::Vector& GetReplyToAddresses() const{ return m_replyToAddresses; } /** *

The "Reply-to" email addresses for the message. When the recipient replies to * the message, each Reply-to address receives the reply.

*/ inline bool ReplyToAddressesHasBeenSet() const { return m_replyToAddressesHasBeenSet; } /** *

The "Reply-to" email addresses for the message. When the recipient replies to * the message, each Reply-to address receives the reply.

*/ inline void SetReplyToAddresses(const Aws::Vector& value) { m_replyToAddressesHasBeenSet = true; m_replyToAddresses = value; } /** *

The "Reply-to" email addresses for the message. When the recipient replies to * the message, each Reply-to address receives the reply.

*/ inline void SetReplyToAddresses(Aws::Vector&& value) { m_replyToAddressesHasBeenSet = true; m_replyToAddresses = std::move(value); } /** *

The "Reply-to" email addresses for the message. When the recipient replies to * the message, each Reply-to address receives the reply.

*/ inline SendBulkEmailRequest& WithReplyToAddresses(const Aws::Vector& value) { SetReplyToAddresses(value); return *this;} /** *

The "Reply-to" email addresses for the message. When the recipient replies to * the message, each Reply-to address receives the reply.

*/ inline SendBulkEmailRequest& WithReplyToAddresses(Aws::Vector&& value) { SetReplyToAddresses(std::move(value)); return *this;} /** *

The "Reply-to" email addresses for the message. When the recipient replies to * the message, each Reply-to address receives the reply.

*/ inline SendBulkEmailRequest& AddReplyToAddresses(const Aws::String& value) { m_replyToAddressesHasBeenSet = true; m_replyToAddresses.push_back(value); return *this; } /** *

The "Reply-to" email addresses for the message. When the recipient replies to * the message, each Reply-to address receives the reply.

*/ inline SendBulkEmailRequest& AddReplyToAddresses(Aws::String&& value) { m_replyToAddressesHasBeenSet = true; m_replyToAddresses.push_back(std::move(value)); return *this; } /** *

The "Reply-to" email addresses for the message. When the recipient replies to * the message, each Reply-to address receives the reply.

*/ inline SendBulkEmailRequest& AddReplyToAddresses(const char* value) { m_replyToAddressesHasBeenSet = true; m_replyToAddresses.push_back(value); return *this; } /** *

The address that you want bounce and complaint notifications to be sent * to.

*/ inline const Aws::String& GetFeedbackForwardingEmailAddress() const{ return m_feedbackForwardingEmailAddress; } /** *

The address that you want bounce and complaint notifications to be sent * to.

*/ inline bool FeedbackForwardingEmailAddressHasBeenSet() const { return m_feedbackForwardingEmailAddressHasBeenSet; } /** *

The address that you want bounce and complaint notifications to be sent * to.

*/ inline void SetFeedbackForwardingEmailAddress(const Aws::String& value) { m_feedbackForwardingEmailAddressHasBeenSet = true; m_feedbackForwardingEmailAddress = value; } /** *

The address that you want bounce and complaint notifications to be sent * to.

*/ inline void SetFeedbackForwardingEmailAddress(Aws::String&& value) { m_feedbackForwardingEmailAddressHasBeenSet = true; m_feedbackForwardingEmailAddress = std::move(value); } /** *

The address that you want bounce and complaint notifications to be sent * to.

*/ inline void SetFeedbackForwardingEmailAddress(const char* value) { m_feedbackForwardingEmailAddressHasBeenSet = true; m_feedbackForwardingEmailAddress.assign(value); } /** *

The address that you want bounce and complaint notifications to be sent * to.

*/ inline SendBulkEmailRequest& WithFeedbackForwardingEmailAddress(const Aws::String& value) { SetFeedbackForwardingEmailAddress(value); return *this;} /** *

The address that you want bounce and complaint notifications to be sent * to.

*/ inline SendBulkEmailRequest& WithFeedbackForwardingEmailAddress(Aws::String&& value) { SetFeedbackForwardingEmailAddress(std::move(value)); return *this;} /** *

The address that you want bounce and complaint notifications to be sent * to.

*/ inline SendBulkEmailRequest& WithFeedbackForwardingEmailAddress(const char* value) { SetFeedbackForwardingEmailAddress(value); return *this;} /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the * FeedbackForwardingEmailAddress parameter.

For example, if * the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use feedback@example.com, then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FeedbackForwardingEmailAddress to be feedback@example.com.

*

For more information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline const Aws::String& GetFeedbackForwardingEmailAddressIdentityArn() const{ return m_feedbackForwardingEmailAddressIdentityArn; } /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the * FeedbackForwardingEmailAddress parameter.

For example, if * the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use feedback@example.com, then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FeedbackForwardingEmailAddress to be feedback@example.com.

*

For more information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline bool FeedbackForwardingEmailAddressIdentityArnHasBeenSet() const { return m_feedbackForwardingEmailAddressIdentityArnHasBeenSet; } /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the * FeedbackForwardingEmailAddress parameter.

For example, if * the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use feedback@example.com, then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FeedbackForwardingEmailAddress to be feedback@example.com.

*

For more information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline void SetFeedbackForwardingEmailAddressIdentityArn(const Aws::String& value) { m_feedbackForwardingEmailAddressIdentityArnHasBeenSet = true; m_feedbackForwardingEmailAddressIdentityArn = value; } /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the * FeedbackForwardingEmailAddress parameter.

For example, if * the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use feedback@example.com, then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FeedbackForwardingEmailAddress to be feedback@example.com.

*

For more information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline void SetFeedbackForwardingEmailAddressIdentityArn(Aws::String&& value) { m_feedbackForwardingEmailAddressIdentityArnHasBeenSet = true; m_feedbackForwardingEmailAddressIdentityArn = std::move(value); } /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the * FeedbackForwardingEmailAddress parameter.

For example, if * the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use feedback@example.com, then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FeedbackForwardingEmailAddress to be feedback@example.com.

*

For more information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline void SetFeedbackForwardingEmailAddressIdentityArn(const char* value) { m_feedbackForwardingEmailAddressIdentityArnHasBeenSet = true; m_feedbackForwardingEmailAddressIdentityArn.assign(value); } /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the * FeedbackForwardingEmailAddress parameter.

For example, if * the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use feedback@example.com, then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FeedbackForwardingEmailAddress to be feedback@example.com.

*

For more information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline SendBulkEmailRequest& WithFeedbackForwardingEmailAddressIdentityArn(const Aws::String& value) { SetFeedbackForwardingEmailAddressIdentityArn(value); return *this;} /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the * FeedbackForwardingEmailAddress parameter.

For example, if * the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use feedback@example.com, then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FeedbackForwardingEmailAddress to be feedback@example.com.

*

For more information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline SendBulkEmailRequest& WithFeedbackForwardingEmailAddressIdentityArn(Aws::String&& value) { SetFeedbackForwardingEmailAddressIdentityArn(std::move(value)); return *this;} /** *

This parameter is used only for sending authorization. It is the ARN of the * identity that is associated with the sending authorization policy that permits * you to use the email address specified in the * FeedbackForwardingEmailAddress parameter.

For example, if * the owner of example.com (which has ARN * arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it * that authorizes you to use feedback@example.com, then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FeedbackForwardingEmailAddress to be feedback@example.com.

*

For more information about sending authorization, see the Amazon * SES Developer Guide.

*/ inline SendBulkEmailRequest& WithFeedbackForwardingEmailAddressIdentityArn(const char* value) { SetFeedbackForwardingEmailAddressIdentityArn(value); return *this;} /** *

A list of tags, in the form of name/value pairs, to apply to an email that * you send using the SendEmail operation. Tags correspond to * characteristics of the email that you define, so that you can publish email * sending events.

*/ inline const Aws::Vector& GetDefaultEmailTags() const{ return m_defaultEmailTags; } /** *

A list of tags, in the form of name/value pairs, to apply to an email that * you send using the SendEmail operation. Tags correspond to * characteristics of the email that you define, so that you can publish email * sending events.

*/ inline bool DefaultEmailTagsHasBeenSet() const { return m_defaultEmailTagsHasBeenSet; } /** *

A list of tags, in the form of name/value pairs, to apply to an email that * you send using the SendEmail operation. Tags correspond to * characteristics of the email that you define, so that you can publish email * sending events.

*/ inline void SetDefaultEmailTags(const Aws::Vector& value) { m_defaultEmailTagsHasBeenSet = true; m_defaultEmailTags = value; } /** *

A list of tags, in the form of name/value pairs, to apply to an email that * you send using the SendEmail operation. Tags correspond to * characteristics of the email that you define, so that you can publish email * sending events.

*/ inline void SetDefaultEmailTags(Aws::Vector&& value) { m_defaultEmailTagsHasBeenSet = true; m_defaultEmailTags = std::move(value); } /** *

A list of tags, in the form of name/value pairs, to apply to an email that * you send using the SendEmail operation. Tags correspond to * characteristics of the email that you define, so that you can publish email * sending events.

*/ inline SendBulkEmailRequest& WithDefaultEmailTags(const Aws::Vector& value) { SetDefaultEmailTags(value); return *this;} /** *

A list of tags, in the form of name/value pairs, to apply to an email that * you send using the SendEmail operation. Tags correspond to * characteristics of the email that you define, so that you can publish email * sending events.

*/ inline SendBulkEmailRequest& WithDefaultEmailTags(Aws::Vector&& value) { SetDefaultEmailTags(std::move(value)); return *this;} /** *

A list of tags, in the form of name/value pairs, to apply to an email that * you send using the SendEmail operation. Tags correspond to * characteristics of the email that you define, so that you can publish email * sending events.

*/ inline SendBulkEmailRequest& AddDefaultEmailTags(const MessageTag& value) { m_defaultEmailTagsHasBeenSet = true; m_defaultEmailTags.push_back(value); return *this; } /** *

A list of tags, in the form of name/value pairs, to apply to an email that * you send using the SendEmail operation. Tags correspond to * characteristics of the email that you define, so that you can publish email * sending events.

*/ inline SendBulkEmailRequest& AddDefaultEmailTags(MessageTag&& value) { m_defaultEmailTagsHasBeenSet = true; m_defaultEmailTags.push_back(std::move(value)); return *this; } /** *

An object that contains the body of the message. You can specify a template * message.

*/ inline const BulkEmailContent& GetDefaultContent() const{ return m_defaultContent; } /** *

An object that contains the body of the message. You can specify a template * message.

*/ inline bool DefaultContentHasBeenSet() const { return m_defaultContentHasBeenSet; } /** *

An object that contains the body of the message. You can specify a template * message.

*/ inline void SetDefaultContent(const BulkEmailContent& value) { m_defaultContentHasBeenSet = true; m_defaultContent = value; } /** *

An object that contains the body of the message. You can specify a template * message.

*/ inline void SetDefaultContent(BulkEmailContent&& value) { m_defaultContentHasBeenSet = true; m_defaultContent = std::move(value); } /** *

An object that contains the body of the message. You can specify a template * message.

*/ inline SendBulkEmailRequest& WithDefaultContent(const BulkEmailContent& value) { SetDefaultContent(value); return *this;} /** *

An object that contains the body of the message. You can specify a template * message.

*/ inline SendBulkEmailRequest& WithDefaultContent(BulkEmailContent&& value) { SetDefaultContent(std::move(value)); return *this;} /** *

The list of bulk email entry objects.

*/ inline const Aws::Vector& GetBulkEmailEntries() const{ return m_bulkEmailEntries; } /** *

The list of bulk email entry objects.

*/ inline bool BulkEmailEntriesHasBeenSet() const { return m_bulkEmailEntriesHasBeenSet; } /** *

The list of bulk email entry objects.

*/ inline void SetBulkEmailEntries(const Aws::Vector& value) { m_bulkEmailEntriesHasBeenSet = true; m_bulkEmailEntries = value; } /** *

The list of bulk email entry objects.

*/ inline void SetBulkEmailEntries(Aws::Vector&& value) { m_bulkEmailEntriesHasBeenSet = true; m_bulkEmailEntries = std::move(value); } /** *

The list of bulk email entry objects.

*/ inline SendBulkEmailRequest& WithBulkEmailEntries(const Aws::Vector& value) { SetBulkEmailEntries(value); return *this;} /** *

The list of bulk email entry objects.

*/ inline SendBulkEmailRequest& WithBulkEmailEntries(Aws::Vector&& value) { SetBulkEmailEntries(std::move(value)); return *this;} /** *

The list of bulk email entry objects.

*/ inline SendBulkEmailRequest& AddBulkEmailEntries(const BulkEmailEntry& value) { m_bulkEmailEntriesHasBeenSet = true; m_bulkEmailEntries.push_back(value); return *this; } /** *

The list of bulk email entry objects.

*/ inline SendBulkEmailRequest& AddBulkEmailEntries(BulkEmailEntry&& value) { m_bulkEmailEntriesHasBeenSet = true; m_bulkEmailEntries.push_back(std::move(value)); return *this; } /** *

The name of the configuration set to use when sending the email.

*/ inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; } /** *

The name of the configuration set to use when sending the email.

*/ inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; } /** *

The name of the configuration set to use when sending the email.

*/ inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; } /** *

The name of the configuration set to use when sending the email.

*/ inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); } /** *

The name of the configuration set to use when sending the email.

*/ inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); } /** *

The name of the configuration set to use when sending the email.

*/ inline SendBulkEmailRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;} /** *

The name of the configuration set to use when sending the email.

*/ inline SendBulkEmailRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;} /** *

The name of the configuration set to use when sending the email.

*/ inline SendBulkEmailRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;} private: Aws::String m_fromEmailAddress; bool m_fromEmailAddressHasBeenSet = false; Aws::String m_fromEmailAddressIdentityArn; bool m_fromEmailAddressIdentityArnHasBeenSet = false; Aws::Vector m_replyToAddresses; bool m_replyToAddressesHasBeenSet = false; Aws::String m_feedbackForwardingEmailAddress; bool m_feedbackForwardingEmailAddressHasBeenSet = false; Aws::String m_feedbackForwardingEmailAddressIdentityArn; bool m_feedbackForwardingEmailAddressIdentityArnHasBeenSet = false; Aws::Vector m_defaultEmailTags; bool m_defaultEmailTagsHasBeenSet = false; BulkEmailContent m_defaultContent; bool m_defaultContentHasBeenSet = false; Aws::Vector m_bulkEmailEntries; bool m_bulkEmailEntriesHasBeenSet = false; Aws::String m_configurationSetName; bool m_configurationSetNameHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws