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 ==
.impl StructuralPartialEq for SetIdentityFeedbackForwardingEnabledInputBuilder
Auto Trait Implementations§
impl Freeze for SetIdentityFeedbackForwardingEnabledInputBuilder
impl RefUnwindSafe for SetIdentityFeedbackForwardingEnabledInputBuilder
impl Send for SetIdentityFeedbackForwardingEnabledInputBuilder
impl Sync for SetIdentityFeedbackForwardingEnabledInputBuilder
impl Unpin for SetIdentityFeedbackForwardingEnabledInputBuilder
impl UnwindSafe for SetIdentityFeedbackForwardingEnabledInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more