Struct aws_sdk_sesv2::operation::put_account_sending_attributes::builders::PutAccountSendingAttributesInputBuilder
source · #[non_exhaustive]pub struct PutAccountSendingAttributesInputBuilder { /* private fields */ }Expand description
A builder for PutAccountSendingAttributesInput.
Implementations§
source§impl PutAccountSendingAttributesInputBuilder
impl PutAccountSendingAttributesInputBuilder
sourcepub fn sending_enabled(self, input: bool) -> Self
pub fn sending_enabled(self, input: bool) -> Self
Enables or disables your account's ability to send email. Set to true to enable email sending, or set to false to disable email sending.
If Amazon Web Services paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
sourcepub fn set_sending_enabled(self, input: Option<bool>) -> Self
pub fn set_sending_enabled(self, input: Option<bool>) -> Self
Enables or disables your account's ability to send email. Set to true to enable email sending, or set to false to disable email sending.
If Amazon Web Services paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
sourcepub fn get_sending_enabled(&self) -> &Option<bool>
pub fn get_sending_enabled(&self) -> &Option<bool>
Enables or disables your account's ability to send email. Set to true to enable email sending, or set to false to disable email sending.
If Amazon Web Services paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
sourcepub fn build(self) -> Result<PutAccountSendingAttributesInput, BuildError>
pub fn build(self) -> Result<PutAccountSendingAttributesInput, BuildError>
Consumes the builder and constructs a PutAccountSendingAttributesInput.
source§impl PutAccountSendingAttributesInputBuilder
impl PutAccountSendingAttributesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutAccountSendingAttributesOutput, SdkError<PutAccountSendingAttributesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutAccountSendingAttributesOutput, SdkError<PutAccountSendingAttributesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutAccountSendingAttributesInputBuilder
impl Clone for PutAccountSendingAttributesInputBuilder
source§fn clone(&self) -> PutAccountSendingAttributesInputBuilder
fn clone(&self) -> PutAccountSendingAttributesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PutAccountSendingAttributesInputBuilder
impl Default for PutAccountSendingAttributesInputBuilder
source§fn default() -> PutAccountSendingAttributesInputBuilder
fn default() -> PutAccountSendingAttributesInputBuilder
source§impl PartialEq for PutAccountSendingAttributesInputBuilder
impl PartialEq for PutAccountSendingAttributesInputBuilder
source§fn eq(&self, other: &PutAccountSendingAttributesInputBuilder) -> bool
fn eq(&self, other: &PutAccountSendingAttributesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.