Struct aws_sdk_connect::operation::update_contact_flow_content::builders::UpdateContactFlowContentInputBuilder
source · #[non_exhaustive]pub struct UpdateContactFlowContentInputBuilder { /* private fields */ }Expand description
A builder for UpdateContactFlowContentInput.
Implementations§
source§impl UpdateContactFlowContentInputBuilder
impl UpdateContactFlowContentInputBuilder
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.
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.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect 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 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.
Length Constraints: Minimum length of 1. Maximum length of 256000.
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.
Length Constraints: Minimum length of 1. Maximum length of 256000.
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.
Length Constraints: Minimum length of 1. Maximum length of 256000.
sourcepub fn build(self) -> Result<UpdateContactFlowContentInput, BuildError>
pub fn build(self) -> Result<UpdateContactFlowContentInput, BuildError>
Consumes the builder and constructs a UpdateContactFlowContentInput.
source§impl UpdateContactFlowContentInputBuilder
impl UpdateContactFlowContentInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateContactFlowContentOutput, SdkError<UpdateContactFlowContentError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateContactFlowContentOutput, SdkError<UpdateContactFlowContentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateContactFlowContentInputBuilder
impl Clone for UpdateContactFlowContentInputBuilder
source§fn clone(&self) -> UpdateContactFlowContentInputBuilder
fn clone(&self) -> UpdateContactFlowContentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateContactFlowContentInputBuilder
impl Default for UpdateContactFlowContentInputBuilder
source§fn default() -> UpdateContactFlowContentInputBuilder
fn default() -> UpdateContactFlowContentInputBuilder
source§impl PartialEq for UpdateContactFlowContentInputBuilder
impl PartialEq for UpdateContactFlowContentInputBuilder
source§fn eq(&self, other: &UpdateContactFlowContentInputBuilder) -> bool
fn eq(&self, other: &UpdateContactFlowContentInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateContactFlowContentInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateContactFlowContentInputBuilder
impl RefUnwindSafe for UpdateContactFlowContentInputBuilder
impl Send for UpdateContactFlowContentInputBuilder
impl Sync for UpdateContactFlowContentInputBuilder
impl Unpin for UpdateContactFlowContentInputBuilder
impl UnwindSafe for UpdateContactFlowContentInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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