#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct RemoveFlowOutputInput {
#[doc(hidden)]
pub flow_arn: std::option::Option<std::string::String>,
#[doc(hidden)]
pub output_arn: std::option::Option<std::string::String>,
}
impl RemoveFlowOutputInput {
pub fn flow_arn(&self) -> std::option::Option<&str> {
self.flow_arn.as_deref()
}
pub fn output_arn(&self) -> std::option::Option<&str> {
self.output_arn.as_deref()
}
}
impl RemoveFlowOutputInput {
pub fn builder() -> crate::operation::remove_flow_output::builders::RemoveFlowOutputInputBuilder
{
crate::operation::remove_flow_output::builders::RemoveFlowOutputInputBuilder::default()
}
}
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct RemoveFlowOutputInputBuilder {
pub(crate) flow_arn: std::option::Option<std::string::String>,
pub(crate) output_arn: std::option::Option<std::string::String>,
}
impl RemoveFlowOutputInputBuilder {
pub fn flow_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.flow_arn = Some(input.into());
self
}
pub fn set_flow_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
self.flow_arn = input;
self
}
pub fn output_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.output_arn = Some(input.into());
self
}
pub fn set_output_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
self.output_arn = input;
self
}
pub fn build(
self,
) -> Result<
crate::operation::remove_flow_output::RemoveFlowOutputInput,
aws_smithy_http::operation::error::BuildError,
> {
Ok(
crate::operation::remove_flow_output::RemoveFlowOutputInput {
flow_arn: self.flow_arn,
output_arn: self.output_arn,
},
)
}
}