Struct aws_sdk_ses::operation::update_account_sending_enabled::builders::UpdateAccountSendingEnabledInputBuilder
source · #[non_exhaustive]pub struct UpdateAccountSendingEnabledInputBuilder { /* private fields */ }Expand description
A builder for UpdateAccountSendingEnabledInput.
Implementations§
source§impl UpdateAccountSendingEnabledInputBuilder
impl UpdateAccountSendingEnabledInputBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Describes whether email sending is enabled or disabled for your Amazon SES account in the current Amazon Web Services Region.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Describes whether email sending is enabled or disabled for your Amazon SES account in the current Amazon Web Services Region.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Describes whether email sending is enabled or disabled for your Amazon SES account in the current Amazon Web Services Region.
sourcepub fn build(self) -> Result<UpdateAccountSendingEnabledInput, BuildError>
pub fn build(self) -> Result<UpdateAccountSendingEnabledInput, BuildError>
Consumes the builder and constructs a UpdateAccountSendingEnabledInput.
source§impl UpdateAccountSendingEnabledInputBuilder
impl UpdateAccountSendingEnabledInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAccountSendingEnabledOutput, SdkError<UpdateAccountSendingEnabledError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAccountSendingEnabledOutput, SdkError<UpdateAccountSendingEnabledError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAccountSendingEnabledInputBuilder
impl Clone for UpdateAccountSendingEnabledInputBuilder
source§fn clone(&self) -> UpdateAccountSendingEnabledInputBuilder
fn clone(&self) -> UpdateAccountSendingEnabledInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for UpdateAccountSendingEnabledInputBuilder
impl Default for UpdateAccountSendingEnabledInputBuilder
source§fn default() -> UpdateAccountSendingEnabledInputBuilder
fn default() -> UpdateAccountSendingEnabledInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateAccountSendingEnabledInputBuilder
impl PartialEq for UpdateAccountSendingEnabledInputBuilder
source§fn eq(&self, other: &UpdateAccountSendingEnabledInputBuilder) -> bool
fn eq(&self, other: &UpdateAccountSendingEnabledInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAccountSendingEnabledInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateAccountSendingEnabledInputBuilder
impl Send for UpdateAccountSendingEnabledInputBuilder
impl Sync for UpdateAccountSendingEnabledInputBuilder
impl Unpin for UpdateAccountSendingEnabledInputBuilder
impl UnwindSafe for UpdateAccountSendingEnabledInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.