Struct aws_sdk_connect::operation::update_contact_flow_module_content::builders::UpdateContactFlowModuleContentInputBuilder
source · #[non_exhaustive]pub struct UpdateContactFlowModuleContentInputBuilder { /* private fields */ }
Expand description
A builder for UpdateContactFlowModuleContentInput
.
Implementations§
source§impl UpdateContactFlowModuleContentInputBuilder
impl UpdateContactFlowModuleContentInputBuilder
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_module_id(self, input: impl Into<String>) -> Self
pub fn contact_flow_module_id(self, input: impl Into<String>) -> Self
The identifier of the flow module.
This field is required.sourcepub fn set_contact_flow_module_id(self, input: Option<String>) -> Self
pub fn set_contact_flow_module_id(self, input: Option<String>) -> Self
The identifier of the flow module.
sourcepub fn get_contact_flow_module_id(&self) -> &Option<String>
pub fn get_contact_flow_module_id(&self) -> &Option<String>
The identifier of the flow module.
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
This field is required.sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
sourcepub fn get_content(&self) -> &Option<String>
pub fn get_content(&self) -> &Option<String>
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
sourcepub fn build(self) -> Result<UpdateContactFlowModuleContentInput, BuildError>
pub fn build(self) -> Result<UpdateContactFlowModuleContentInput, BuildError>
Consumes the builder and constructs a UpdateContactFlowModuleContentInput
.
source§impl UpdateContactFlowModuleContentInputBuilder
impl UpdateContactFlowModuleContentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateContactFlowModuleContentOutput, SdkError<UpdateContactFlowModuleContentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateContactFlowModuleContentOutput, SdkError<UpdateContactFlowModuleContentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateContactFlowModuleContentInputBuilder
impl Clone for UpdateContactFlowModuleContentInputBuilder
source§fn clone(&self) -> UpdateContactFlowModuleContentInputBuilder
fn clone(&self) -> UpdateContactFlowModuleContentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateContactFlowModuleContentInputBuilder
impl Default for UpdateContactFlowModuleContentInputBuilder
source§fn default() -> UpdateContactFlowModuleContentInputBuilder
fn default() -> UpdateContactFlowModuleContentInputBuilder
source§impl PartialEq for UpdateContactFlowModuleContentInputBuilder
impl PartialEq for UpdateContactFlowModuleContentInputBuilder
source§fn eq(&self, other: &UpdateContactFlowModuleContentInputBuilder) -> bool
fn eq(&self, other: &UpdateContactFlowModuleContentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateContactFlowModuleContentInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateContactFlowModuleContentInputBuilder
impl RefUnwindSafe for UpdateContactFlowModuleContentInputBuilder
impl Send for UpdateContactFlowModuleContentInputBuilder
impl Sync for UpdateContactFlowModuleContentInputBuilder
impl Unpin for UpdateContactFlowModuleContentInputBuilder
impl UnwindSafe for UpdateContactFlowModuleContentInputBuilder
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