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