Struct aws_sdk_connect::operation::associate_phone_number_contact_flow::builders::AssociatePhoneNumberContactFlowInputBuilder
source · #[non_exhaustive]pub struct AssociatePhoneNumberContactFlowInputBuilder { /* private fields */ }
Expand description
A builder for AssociatePhoneNumberContactFlowInput
.
Implementations§
source§impl AssociatePhoneNumberContactFlowInputBuilder
impl AssociatePhoneNumberContactFlowInputBuilder
sourcepub fn phone_number_id(self, input: impl Into<String>) -> Self
pub fn phone_number_id(self, input: impl Into<String>) -> Self
A unique identifier for the phone number.
This field is required.sourcepub fn set_phone_number_id(self, input: Option<String>) -> Self
pub fn set_phone_number_id(self, input: Option<String>) -> Self
A unique identifier for the phone number.
sourcepub fn get_phone_number_id(&self) -> &Option<String>
pub fn get_phone_number_id(&self) -> &Option<String>
A unique identifier for the phone number.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
This field is required.sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn contact_flow_id(self, input: impl Into<String>) -> Self
pub fn contact_flow_id(self, input: impl Into<String>) -> Self
The identifier of the flow.
This field is required.sourcepub fn set_contact_flow_id(self, input: Option<String>) -> Self
pub fn set_contact_flow_id(self, input: Option<String>) -> Self
The identifier of the flow.
sourcepub fn get_contact_flow_id(&self) -> &Option<String>
pub fn get_contact_flow_id(&self) -> &Option<String>
The identifier of the flow.
sourcepub fn build(self) -> Result<AssociatePhoneNumberContactFlowInput, BuildError>
pub fn build(self) -> Result<AssociatePhoneNumberContactFlowInput, BuildError>
Consumes the builder and constructs a AssociatePhoneNumberContactFlowInput
.
source§impl AssociatePhoneNumberContactFlowInputBuilder
impl AssociatePhoneNumberContactFlowInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociatePhoneNumberContactFlowOutput, SdkError<AssociatePhoneNumberContactFlowError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociatePhoneNumberContactFlowOutput, SdkError<AssociatePhoneNumberContactFlowError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociatePhoneNumberContactFlowInputBuilder
impl Clone for AssociatePhoneNumberContactFlowInputBuilder
source§fn clone(&self) -> AssociatePhoneNumberContactFlowInputBuilder
fn clone(&self) -> AssociatePhoneNumberContactFlowInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssociatePhoneNumberContactFlowInputBuilder
impl Default for AssociatePhoneNumberContactFlowInputBuilder
source§fn default() -> AssociatePhoneNumberContactFlowInputBuilder
fn default() -> AssociatePhoneNumberContactFlowInputBuilder
source§impl PartialEq for AssociatePhoneNumberContactFlowInputBuilder
impl PartialEq for AssociatePhoneNumberContactFlowInputBuilder
source§fn eq(&self, other: &AssociatePhoneNumberContactFlowInputBuilder) -> bool
fn eq(&self, other: &AssociatePhoneNumberContactFlowInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.