#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DescribeFlowInput {
pub flow_name: ::std::option::Option<::std::string::String>,
}
impl DescribeFlowInput {
pub fn flow_name(&self) -> ::std::option::Option<&str> {
self.flow_name.as_deref()
}
}
impl DescribeFlowInput {
pub fn builder() -> crate::operation::describe_flow::builders::DescribeFlowInputBuilder {
crate::operation::describe_flow::builders::DescribeFlowInputBuilder::default()
}
}
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct DescribeFlowInputBuilder {
pub(crate) flow_name: ::std::option::Option<::std::string::String>,
}
impl DescribeFlowInputBuilder {
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::describe_flow::DescribeFlowInput, ::aws_smithy_http::operation::error::BuildError> {
::std::result::Result::Ok(crate::operation::describe_flow::DescribeFlowInput { flow_name: self.flow_name })
}
}