Struct aws_sdk_connectcampaigns::operation::create_campaign::builders::CreateCampaignInputBuilder
source · #[non_exhaustive]pub struct CreateCampaignInputBuilder { /* private fields */ }
Expand description
A builder for CreateCampaignInput
.
Implementations§
source§impl CreateCampaignInputBuilder
impl CreateCampaignInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of an Amazon Connect Campaign name. This field is required.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of an Amazon Connect Campaign name.
sourcepub fn connect_instance_id(self, input: impl Into<String>) -> Self
pub fn connect_instance_id(self, input: impl Into<String>) -> Self
Amazon Connect Instance Id This field is required.
sourcepub fn set_connect_instance_id(self, input: Option<String>) -> Self
pub fn set_connect_instance_id(self, input: Option<String>) -> Self
Amazon Connect Instance Id
sourcepub fn get_connect_instance_id(&self) -> &Option<String>
pub fn get_connect_instance_id(&self) -> &Option<String>
Amazon Connect Instance Id
sourcepub fn dialer_config(self, input: DialerConfig) -> Self
pub fn dialer_config(self, input: DialerConfig) -> Self
The possible types of dialer config parameters This field is required.
sourcepub fn set_dialer_config(self, input: Option<DialerConfig>) -> Self
pub fn set_dialer_config(self, input: Option<DialerConfig>) -> Self
The possible types of dialer config parameters
sourcepub fn get_dialer_config(&self) -> &Option<DialerConfig>
pub fn get_dialer_config(&self) -> &Option<DialerConfig>
The possible types of dialer config parameters
sourcepub fn outbound_call_config(self, input: OutboundCallConfig) -> Self
pub fn outbound_call_config(self, input: OutboundCallConfig) -> Self
The configuration used for outbound calls. This field is required.
sourcepub fn set_outbound_call_config(self, input: Option<OutboundCallConfig>) -> Self
pub fn set_outbound_call_config(self, input: Option<OutboundCallConfig>) -> Self
The configuration used for outbound calls.
sourcepub fn get_outbound_call_config(&self) -> &Option<OutboundCallConfig>
pub fn get_outbound_call_config(&self) -> &Option<OutboundCallConfig>
The configuration used for outbound calls.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Tag map with key and value.
Tag map with key and value.
Tag map with key and value.
sourcepub fn build(self) -> Result<CreateCampaignInput, BuildError>
pub fn build(self) -> Result<CreateCampaignInput, BuildError>
Consumes the builder and constructs a CreateCampaignInput
.
source§impl CreateCampaignInputBuilder
impl CreateCampaignInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateCampaignOutput, SdkError<CreateCampaignError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateCampaignOutput, SdkError<CreateCampaignError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateCampaignInputBuilder
impl Clone for CreateCampaignInputBuilder
source§fn clone(&self) -> CreateCampaignInputBuilder
fn clone(&self) -> CreateCampaignInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateCampaignInputBuilder
impl Debug for CreateCampaignInputBuilder
source§impl Default for CreateCampaignInputBuilder
impl Default for CreateCampaignInputBuilder
source§fn default() -> CreateCampaignInputBuilder
fn default() -> CreateCampaignInputBuilder
source§impl PartialEq for CreateCampaignInputBuilder
impl PartialEq for CreateCampaignInputBuilder
source§fn eq(&self, other: &CreateCampaignInputBuilder) -> bool
fn eq(&self, other: &CreateCampaignInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateCampaignInputBuilder
Auto Trait Implementations§
impl Freeze for CreateCampaignInputBuilder
impl RefUnwindSafe for CreateCampaignInputBuilder
impl Send for CreateCampaignInputBuilder
impl Sync for CreateCampaignInputBuilder
impl Unpin for CreateCampaignInputBuilder
impl UnwindSafe for CreateCampaignInputBuilder
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