Struct aws_sdk_ses::operation::set_identity_feedback_forwarding_enabled::builders::SetIdentityFeedbackForwardingEnabledInputBuilder
source · #[non_exhaustive]pub struct SetIdentityFeedbackForwardingEnabledInputBuilder { /* private fields */ }
Expand description
A builder for SetIdentityFeedbackForwardingEnabledInput
.
Implementations§
source§impl SetIdentityFeedbackForwardingEnabledInputBuilder
impl SetIdentityFeedbackForwardingEnabledInputBuilder
sourcepub fn identity(self, input: impl Into<String>) -> Self
pub fn identity(self, input: impl Into<String>) -> Self
The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com
, example.com
.
sourcepub fn set_identity(self, input: Option<String>) -> Self
pub fn set_identity(self, input: Option<String>) -> Self
The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com
, example.com
.
sourcepub fn get_identity(&self) -> &Option<String>
pub fn get_identity(&self) -> &Option<String>
The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com
, example.com
.
sourcepub fn forwarding_enabled(self, input: bool) -> Self
pub fn forwarding_enabled(self, input: bool) -> Self
Sets whether Amazon SES forwards bounce and complaint notifications as email. true
specifies that Amazon SES forwards bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false
specifies that Amazon SES publishes bounce and complaint notifications only through Amazon SNS. This value can only be set to false
when Amazon SNS topics are set for both Bounce
and Complaint
notification types.
sourcepub fn set_forwarding_enabled(self, input: Option<bool>) -> Self
pub fn set_forwarding_enabled(self, input: Option<bool>) -> Self
Sets whether Amazon SES forwards bounce and complaint notifications as email. true
specifies that Amazon SES forwards bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false
specifies that Amazon SES publishes bounce and complaint notifications only through Amazon SNS. This value can only be set to false
when Amazon SNS topics are set for both Bounce
and Complaint
notification types.
sourcepub fn get_forwarding_enabled(&self) -> &Option<bool>
pub fn get_forwarding_enabled(&self) -> &Option<bool>
Sets whether Amazon SES forwards bounce and complaint notifications as email. true
specifies that Amazon SES forwards bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false
specifies that Amazon SES publishes bounce and complaint notifications only through Amazon SNS. This value can only be set to false
when Amazon SNS topics are set for both Bounce
and Complaint
notification types.
sourcepub fn build(
self
) -> Result<SetIdentityFeedbackForwardingEnabledInput, BuildError>
pub fn build( self ) -> Result<SetIdentityFeedbackForwardingEnabledInput, BuildError>
Consumes the builder and constructs a SetIdentityFeedbackForwardingEnabledInput
.
source§impl SetIdentityFeedbackForwardingEnabledInputBuilder
impl SetIdentityFeedbackForwardingEnabledInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SetIdentityFeedbackForwardingEnabledOutput, SdkError<SetIdentityFeedbackForwardingEnabledError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SetIdentityFeedbackForwardingEnabledOutput, SdkError<SetIdentityFeedbackForwardingEnabledError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SetIdentityFeedbackForwardingEnabledInputBuilder
impl Clone for SetIdentityFeedbackForwardingEnabledInputBuilder
source§fn clone(&self) -> SetIdentityFeedbackForwardingEnabledInputBuilder
fn clone(&self) -> SetIdentityFeedbackForwardingEnabledInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SetIdentityFeedbackForwardingEnabledInputBuilder
impl Default for SetIdentityFeedbackForwardingEnabledInputBuilder
source§fn default() -> SetIdentityFeedbackForwardingEnabledInputBuilder
fn default() -> SetIdentityFeedbackForwardingEnabledInputBuilder
source§impl PartialEq for SetIdentityFeedbackForwardingEnabledInputBuilder
impl PartialEq for SetIdentityFeedbackForwardingEnabledInputBuilder
source§fn eq(&self, other: &SetIdentityFeedbackForwardingEnabledInputBuilder) -> bool
fn eq(&self, other: &SetIdentityFeedbackForwardingEnabledInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.