Struct aws_sdk_sesv2::operation::put_configuration_set_sending_options::builders::PutConfigurationSetSendingOptionsInputBuilder
source · #[non_exhaustive]pub struct PutConfigurationSetSendingOptionsInputBuilder { /* private fields */ }Expand description
A builder for PutConfigurationSetSendingOptionsInput.
Implementations§
source§impl PutConfigurationSetSendingOptionsInputBuilder
impl PutConfigurationSetSendingOptionsInputBuilder
sourcepub fn configuration_set_name(self, input: impl Into<String>) -> Self
pub fn configuration_set_name(self, input: impl Into<String>) -> Self
The name of the configuration set to enable or disable email sending for.
This field is required.sourcepub fn set_configuration_set_name(self, input: Option<String>) -> Self
pub fn set_configuration_set_name(self, input: Option<String>) -> Self
The name of the configuration set to enable or disable email sending for.
sourcepub fn get_configuration_set_name(&self) -> &Option<String>
pub fn get_configuration_set_name(&self) -> &Option<String>
The name of the configuration set to enable or disable email sending for.
sourcepub fn sending_enabled(self, input: bool) -> Self
pub fn sending_enabled(self, input: bool) -> Self
If true, email sending is enabled for the configuration set. If false, email sending is disabled for the configuration set.
sourcepub fn set_sending_enabled(self, input: Option<bool>) -> Self
pub fn set_sending_enabled(self, input: Option<bool>) -> Self
If true, email sending is enabled for the configuration set. If false, email sending is disabled for the configuration set.
sourcepub fn get_sending_enabled(&self) -> &Option<bool>
pub fn get_sending_enabled(&self) -> &Option<bool>
If true, email sending is enabled for the configuration set. If false, email sending is disabled for the configuration set.
sourcepub fn build(self) -> Result<PutConfigurationSetSendingOptionsInput, BuildError>
pub fn build(self) -> Result<PutConfigurationSetSendingOptionsInput, BuildError>
Consumes the builder and constructs a PutConfigurationSetSendingOptionsInput.
source§impl PutConfigurationSetSendingOptionsInputBuilder
impl PutConfigurationSetSendingOptionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutConfigurationSetSendingOptionsOutput, SdkError<PutConfigurationSetSendingOptionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutConfigurationSetSendingOptionsOutput, SdkError<PutConfigurationSetSendingOptionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutConfigurationSetSendingOptionsInputBuilder
impl Clone for PutConfigurationSetSendingOptionsInputBuilder
source§fn clone(&self) -> PutConfigurationSetSendingOptionsInputBuilder
fn clone(&self) -> PutConfigurationSetSendingOptionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PutConfigurationSetSendingOptionsInputBuilder
impl Default for PutConfigurationSetSendingOptionsInputBuilder
source§fn default() -> PutConfigurationSetSendingOptionsInputBuilder
fn default() -> PutConfigurationSetSendingOptionsInputBuilder
source§impl PartialEq for PutConfigurationSetSendingOptionsInputBuilder
impl PartialEq for PutConfigurationSetSendingOptionsInputBuilder
source§fn eq(&self, other: &PutConfigurationSetSendingOptionsInputBuilder) -> bool
fn eq(&self, other: &PutConfigurationSetSendingOptionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.