aws-sdk-swf 1.103.0

AWS SDK for Amazon Simple Workflow Service
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub(crate) fn reflens_get_workflow_execution_history_output_output_next_page_token(
    input: &crate::operation::get_workflow_execution_history::GetWorkflowExecutionHistoryOutput,
) -> ::std::option::Option<&::std::string::String> {
    let input = match &input.next_page_token {
        ::std::option::Option::None => return ::std::option::Option::None,
        ::std::option::Option::Some(t) => t,
    };
    ::std::option::Option::Some(input)
}

pub(crate) fn reflens_list_activity_types_output_output_next_page_token(
    input: &crate::operation::list_activity_types::ListActivityTypesOutput,
) -> ::std::option::Option<&::std::string::String> {
    let input = match &input.next_page_token {
        ::std::option::Option::None => return ::std::option::Option::None,
        ::std::option::Option::Some(t) => t,
    };
    ::std::option::Option::Some(input)
}

pub(crate) fn reflens_list_closed_workflow_executions_output_output_next_page_token(
    input: &crate::operation::list_closed_workflow_executions::ListClosedWorkflowExecutionsOutput,
) -> ::std::option::Option<&::std::string::String> {
    let input = match &input.next_page_token {
        ::std::option::Option::None => return ::std::option::Option::None,
        ::std::option::Option::Some(t) => t,
    };
    ::std::option::Option::Some(input)
}

pub(crate) fn reflens_list_domains_output_output_next_page_token(
    input: &crate::operation::list_domains::ListDomainsOutput,
) -> ::std::option::Option<&::std::string::String> {
    let input = match &input.next_page_token {
        ::std::option::Option::None => return ::std::option::Option::None,
        ::std::option::Option::Some(t) => t,
    };
    ::std::option::Option::Some(input)
}

pub(crate) fn reflens_list_open_workflow_executions_output_output_next_page_token(
    input: &crate::operation::list_open_workflow_executions::ListOpenWorkflowExecutionsOutput,
) -> ::std::option::Option<&::std::string::String> {
    let input = match &input.next_page_token {
        ::std::option::Option::None => return ::std::option::Option::None,
        ::std::option::Option::Some(t) => t,
    };
    ::std::option::Option::Some(input)
}

pub(crate) fn reflens_list_workflow_types_output_output_next_page_token(
    input: &crate::operation::list_workflow_types::ListWorkflowTypesOutput,
) -> ::std::option::Option<&::std::string::String> {
    let input = match &input.next_page_token {
        ::std::option::Option::None => return ::std::option::Option::None,
        ::std::option::Option::Some(t) => t,
    };
    ::std::option::Option::Some(input)
}

pub(crate) fn reflens_poll_for_decision_task_output_output_next_page_token(
    input: &crate::operation::poll_for_decision_task::PollForDecisionTaskOutput,
) -> ::std::option::Option<&::std::string::String> {
    let input = match &input.next_page_token {
        ::std::option::Option::None => return ::std::option::Option::None,
        ::std::option::Option::Some(t) => t,
    };
    ::std::option::Option::Some(input)
}

pub(crate) fn lens_get_workflow_execution_history_output_output_events(
    input: crate::operation::get_workflow_execution_history::GetWorkflowExecutionHistoryOutput,
) -> ::std::option::Option<::std::vec::Vec<crate::types::HistoryEvent>> {
    let input = input.events;
    ::std::option::Option::Some(input)
}

pub(crate) fn lens_list_activity_types_output_output_type_infos(
    input: crate::operation::list_activity_types::ListActivityTypesOutput,
) -> ::std::option::Option<::std::vec::Vec<crate::types::ActivityTypeInfo>> {
    let input = input.type_infos;
    ::std::option::Option::Some(input)
}

pub(crate) fn lens_list_closed_workflow_executions_output_output_execution_infos(
    input: crate::operation::list_closed_workflow_executions::ListClosedWorkflowExecutionsOutput,
) -> ::std::option::Option<::std::vec::Vec<crate::types::WorkflowExecutionInfo>> {
    let input = input.execution_infos;
    ::std::option::Option::Some(input)
}

pub(crate) fn lens_list_domains_output_output_domain_infos(
    input: crate::operation::list_domains::ListDomainsOutput,
) -> ::std::option::Option<::std::vec::Vec<crate::types::DomainInfo>> {
    let input = input.domain_infos;
    ::std::option::Option::Some(input)
}

pub(crate) fn lens_list_open_workflow_executions_output_output_execution_infos(
    input: crate::operation::list_open_workflow_executions::ListOpenWorkflowExecutionsOutput,
) -> ::std::option::Option<::std::vec::Vec<crate::types::WorkflowExecutionInfo>> {
    let input = input.execution_infos;
    ::std::option::Option::Some(input)
}

pub(crate) fn lens_list_workflow_types_output_output_type_infos(
    input: crate::operation::list_workflow_types::ListWorkflowTypesOutput,
) -> ::std::option::Option<::std::vec::Vec<crate::types::WorkflowTypeInfo>> {
    let input = input.type_infos;
    ::std::option::Option::Some(input)
}

pub(crate) fn lens_poll_for_decision_task_output_output_events(
    input: crate::operation::poll_for_decision_task::PollForDecisionTaskOutput,
) -> ::std::option::Option<::std::vec::Vec<crate::types::HistoryEvent>> {
    let input = input.events;
    ::std::option::Option::Some(input)
}