Struct aws_sdk_swf::operation::count_closed_workflow_executions::builders::CountClosedWorkflowExecutionsInputBuilder
source · #[non_exhaustive]pub struct CountClosedWorkflowExecutionsInputBuilder { /* private fields */ }
Expand description
A builder for CountClosedWorkflowExecutionsInput
.
Implementations§
source§impl CountClosedWorkflowExecutionsInputBuilder
impl CountClosedWorkflowExecutionsInputBuilder
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 executions to count.
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 executions to count.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
The name of the domain containing the workflow executions to count.
sourcepub fn start_time_filter(self, input: ExecutionTimeFilter) -> Self
pub fn start_time_filter(self, input: ExecutionTimeFilter) -> Self
If specified, only workflow executions that meet the start time criteria of the filter are counted.
startTimeFilter
and closeTimeFilter
are mutually exclusive. You must specify one of these in a request but not both.
sourcepub fn set_start_time_filter(self, input: Option<ExecutionTimeFilter>) -> Self
pub fn set_start_time_filter(self, input: Option<ExecutionTimeFilter>) -> Self
If specified, only workflow executions that meet the start time criteria of the filter are counted.
startTimeFilter
and closeTimeFilter
are mutually exclusive. You must specify one of these in a request but not both.
sourcepub fn get_start_time_filter(&self) -> &Option<ExecutionTimeFilter>
pub fn get_start_time_filter(&self) -> &Option<ExecutionTimeFilter>
If specified, only workflow executions that meet the start time criteria of the filter are counted.
startTimeFilter
and closeTimeFilter
are mutually exclusive. You must specify one of these in a request but not both.
sourcepub fn close_time_filter(self, input: ExecutionTimeFilter) -> Self
pub fn close_time_filter(self, input: ExecutionTimeFilter) -> Self
If specified, only workflow executions that meet the close time criteria of the filter are counted.
startTimeFilter
and closeTimeFilter
are mutually exclusive. You must specify one of these in a request but not both.
sourcepub fn set_close_time_filter(self, input: Option<ExecutionTimeFilter>) -> Self
pub fn set_close_time_filter(self, input: Option<ExecutionTimeFilter>) -> Self
If specified, only workflow executions that meet the close time criteria of the filter are counted.
startTimeFilter
and closeTimeFilter
are mutually exclusive. You must specify one of these in a request but not both.
sourcepub fn get_close_time_filter(&self) -> &Option<ExecutionTimeFilter>
pub fn get_close_time_filter(&self) -> &Option<ExecutionTimeFilter>
If specified, only workflow executions that meet the close time criteria of the filter are counted.
startTimeFilter
and closeTimeFilter
are mutually exclusive. You must specify one of these in a request but not both.
sourcepub fn execution_filter(self, input: WorkflowExecutionFilter) -> Self
pub fn execution_filter(self, input: WorkflowExecutionFilter) -> Self
If specified, only workflow executions matching the WorkflowId
in the filter are counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn set_execution_filter(
self,
input: Option<WorkflowExecutionFilter>
) -> Self
pub fn set_execution_filter( self, input: Option<WorkflowExecutionFilter> ) -> Self
If specified, only workflow executions matching the WorkflowId
in the filter are counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn get_execution_filter(&self) -> &Option<WorkflowExecutionFilter>
pub fn get_execution_filter(&self) -> &Option<WorkflowExecutionFilter>
If specified, only workflow executions matching the WorkflowId
in the filter are counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn type_filter(self, input: WorkflowTypeFilter) -> Self
pub fn type_filter(self, input: WorkflowTypeFilter) -> Self
If specified, indicates the type of the workflow executions to be counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn set_type_filter(self, input: Option<WorkflowTypeFilter>) -> Self
pub fn set_type_filter(self, input: Option<WorkflowTypeFilter>) -> Self
If specified, indicates the type of the workflow executions to be counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn get_type_filter(&self) -> &Option<WorkflowTypeFilter>
pub fn get_type_filter(&self) -> &Option<WorkflowTypeFilter>
If specified, indicates the type of the workflow executions to be counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn tag_filter(self, input: TagFilter) -> Self
pub fn tag_filter(self, input: TagFilter) -> Self
If specified, only executions that have a tag that matches the filter are counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn set_tag_filter(self, input: Option<TagFilter>) -> Self
pub fn set_tag_filter(self, input: Option<TagFilter>) -> Self
If specified, only executions that have a tag that matches the filter are counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn get_tag_filter(&self) -> &Option<TagFilter>
pub fn get_tag_filter(&self) -> &Option<TagFilter>
If specified, only executions that have a tag that matches the filter are counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn close_status_filter(self, input: CloseStatusFilter) -> Self
pub fn close_status_filter(self, input: CloseStatusFilter) -> Self
If specified, only workflow executions that match this close status are counted. This filter has an affect only if executionStatus
is specified as CLOSED
.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn set_close_status_filter(self, input: Option<CloseStatusFilter>) -> Self
pub fn set_close_status_filter(self, input: Option<CloseStatusFilter>) -> Self
If specified, only workflow executions that match this close status are counted. This filter has an affect only if executionStatus
is specified as CLOSED
.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn get_close_status_filter(&self) -> &Option<CloseStatusFilter>
pub fn get_close_status_filter(&self) -> &Option<CloseStatusFilter>
If specified, only workflow executions that match this close status are counted. This filter has an affect only if executionStatus
is specified as CLOSED
.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn build(self) -> Result<CountClosedWorkflowExecutionsInput, BuildError>
pub fn build(self) -> Result<CountClosedWorkflowExecutionsInput, BuildError>
Consumes the builder and constructs a CountClosedWorkflowExecutionsInput
.
source§impl CountClosedWorkflowExecutionsInputBuilder
impl CountClosedWorkflowExecutionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CountClosedWorkflowExecutionsOutput, SdkError<CountClosedWorkflowExecutionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CountClosedWorkflowExecutionsOutput, SdkError<CountClosedWorkflowExecutionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CountClosedWorkflowExecutionsInputBuilder
impl Clone for CountClosedWorkflowExecutionsInputBuilder
source§fn clone(&self) -> CountClosedWorkflowExecutionsInputBuilder
fn clone(&self) -> CountClosedWorkflowExecutionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CountClosedWorkflowExecutionsInputBuilder
impl Default for CountClosedWorkflowExecutionsInputBuilder
source§fn default() -> CountClosedWorkflowExecutionsInputBuilder
fn default() -> CountClosedWorkflowExecutionsInputBuilder
source§impl PartialEq for CountClosedWorkflowExecutionsInputBuilder
impl PartialEq for CountClosedWorkflowExecutionsInputBuilder
source§fn eq(&self, other: &CountClosedWorkflowExecutionsInputBuilder) -> bool
fn eq(&self, other: &CountClosedWorkflowExecutionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CountClosedWorkflowExecutionsInputBuilder
Auto Trait Implementations§
impl Freeze for CountClosedWorkflowExecutionsInputBuilder
impl RefUnwindSafe for CountClosedWorkflowExecutionsInputBuilder
impl Send for CountClosedWorkflowExecutionsInputBuilder
impl Sync for CountClosedWorkflowExecutionsInputBuilder
impl Unpin for CountClosedWorkflowExecutionsInputBuilder
impl UnwindSafe for CountClosedWorkflowExecutionsInputBuilder
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