Struct aws_sdk_swf::operation::request_cancel_workflow_execution::builders::RequestCancelWorkflowExecutionInputBuilder
source · #[non_exhaustive]pub struct RequestCancelWorkflowExecutionInputBuilder { /* private fields */ }
Expand description
A builder for RequestCancelWorkflowExecutionInput
.
Implementations§
source§impl RequestCancelWorkflowExecutionInputBuilder
impl RequestCancelWorkflowExecutionInputBuilder
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The name of the domain containing the workflow execution to cancel.
This field is required.sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The name of the domain containing the workflow execution to cancel.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
The name of the domain containing the workflow execution to cancel.
sourcepub fn workflow_id(self, input: impl Into<String>) -> Self
pub fn workflow_id(self, input: impl Into<String>) -> Self
The workflowId of the workflow execution to cancel.
This field is required.sourcepub fn set_workflow_id(self, input: Option<String>) -> Self
pub fn set_workflow_id(self, input: Option<String>) -> Self
The workflowId of the workflow execution to cancel.
sourcepub fn get_workflow_id(&self) -> &Option<String>
pub fn get_workflow_id(&self) -> &Option<String>
The workflowId of the workflow execution to cancel.
sourcepub fn run_id(self, input: impl Into<String>) -> Self
pub fn run_id(self, input: impl Into<String>) -> Self
The runId of the workflow execution to cancel.
sourcepub fn set_run_id(self, input: Option<String>) -> Self
pub fn set_run_id(self, input: Option<String>) -> Self
The runId of the workflow execution to cancel.
sourcepub fn get_run_id(&self) -> &Option<String>
pub fn get_run_id(&self) -> &Option<String>
The runId of the workflow execution to cancel.
sourcepub fn build(self) -> Result<RequestCancelWorkflowExecutionInput, BuildError>
pub fn build(self) -> Result<RequestCancelWorkflowExecutionInput, BuildError>
Consumes the builder and constructs a RequestCancelWorkflowExecutionInput
.
source§impl RequestCancelWorkflowExecutionInputBuilder
impl RequestCancelWorkflowExecutionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RequestCancelWorkflowExecutionOutput, SdkError<RequestCancelWorkflowExecutionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RequestCancelWorkflowExecutionOutput, SdkError<RequestCancelWorkflowExecutionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RequestCancelWorkflowExecutionInputBuilder
impl Clone for RequestCancelWorkflowExecutionInputBuilder
source§fn clone(&self) -> RequestCancelWorkflowExecutionInputBuilder
fn clone(&self) -> RequestCancelWorkflowExecutionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for RequestCancelWorkflowExecutionInputBuilder
impl Default for RequestCancelWorkflowExecutionInputBuilder
source§fn default() -> RequestCancelWorkflowExecutionInputBuilder
fn default() -> RequestCancelWorkflowExecutionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RequestCancelWorkflowExecutionInputBuilder
impl PartialEq for RequestCancelWorkflowExecutionInputBuilder
source§fn eq(&self, other: &RequestCancelWorkflowExecutionInputBuilder) -> bool
fn eq(&self, other: &RequestCancelWorkflowExecutionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RequestCancelWorkflowExecutionInputBuilder
Auto Trait Implementations§
impl Freeze for RequestCancelWorkflowExecutionInputBuilder
impl RefUnwindSafe for RequestCancelWorkflowExecutionInputBuilder
impl Send for RequestCancelWorkflowExecutionInputBuilder
impl Sync for RequestCancelWorkflowExecutionInputBuilder
impl Unpin for RequestCancelWorkflowExecutionInputBuilder
impl UnwindSafe for RequestCancelWorkflowExecutionInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.