#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct StopFlowInput {
    pub flow_name: ::std::option::Option<::std::string::String>,
}
impl StopFlowInput {
    pub fn flow_name(&self) -> ::std::option::Option<&str> {
        self.flow_name.as_deref()
    }
}
impl StopFlowInput {
    pub fn builder() -> crate::operation::stop_flow::builders::StopFlowInputBuilder {
        crate::operation::stop_flow::builders::StopFlowInputBuilder::default()
    }
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct StopFlowInputBuilder {
    pub(crate) flow_name: ::std::option::Option<::std::string::String>,
}
impl StopFlowInputBuilder {
    pub fn flow_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.flow_name = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_flow_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.flow_name = input;
        self
    }
    pub fn get_flow_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.flow_name
    }
    pub fn build(self) -> ::std::result::Result<crate::operation::stop_flow::StopFlowInput, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::operation::stop_flow::StopFlowInput { flow_name: self.flow_name })
    }
}