#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct GetFlowExecutionInput {
pub flow_identifier: ::std::option::Option<::std::string::String>,
pub flow_alias_identifier: ::std::option::Option<::std::string::String>,
pub execution_identifier: ::std::option::Option<::std::string::String>,
}
impl GetFlowExecutionInput {
pub fn flow_identifier(&self) -> ::std::option::Option<&str> {
self.flow_identifier.as_deref()
}
pub fn flow_alias_identifier(&self) -> ::std::option::Option<&str> {
self.flow_alias_identifier.as_deref()
}
pub fn execution_identifier(&self) -> ::std::option::Option<&str> {
self.execution_identifier.as_deref()
}
}
impl GetFlowExecutionInput {
pub fn builder() -> crate::operation::get_flow_execution::builders::GetFlowExecutionInputBuilder {
crate::operation::get_flow_execution::builders::GetFlowExecutionInputBuilder::default()
}
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct GetFlowExecutionInputBuilder {
pub(crate) flow_identifier: ::std::option::Option<::std::string::String>,
pub(crate) flow_alias_identifier: ::std::option::Option<::std::string::String>,
pub(crate) execution_identifier: ::std::option::Option<::std::string::String>,
}
impl GetFlowExecutionInputBuilder {
pub fn flow_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.flow_identifier = ::std::option::Option::Some(input.into());
self
}
pub fn set_flow_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.flow_identifier = input;
self
}
pub fn get_flow_identifier(&self) -> &::std::option::Option<::std::string::String> {
&self.flow_identifier
}
pub fn flow_alias_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.flow_alias_identifier = ::std::option::Option::Some(input.into());
self
}
pub fn set_flow_alias_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.flow_alias_identifier = input;
self
}
pub fn get_flow_alias_identifier(&self) -> &::std::option::Option<::std::string::String> {
&self.flow_alias_identifier
}
pub fn execution_identifier(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.execution_identifier = ::std::option::Option::Some(input.into());
self
}
pub fn set_execution_identifier(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.execution_identifier = input;
self
}
pub fn get_execution_identifier(&self) -> &::std::option::Option<::std::string::String> {
&self.execution_identifier
}
pub fn build(
self,
) -> ::std::result::Result<crate::operation::get_flow_execution::GetFlowExecutionInput, ::aws_smithy_types::error::operation::BuildError> {
::std::result::Result::Ok(crate::operation::get_flow_execution::GetFlowExecutionInput {
flow_identifier: self.flow_identifier,
flow_alias_identifier: self.flow_alias_identifier,
execution_identifier: self.execution_identifier,
})
}
}