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 ==
.