#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DeleteFlywheelInput {
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 ::std::convert::Into<::std::string::String>) -> Self {
self.flywheel_arn = ::std::option::Option::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 get_flywheel_arn(&self) -> &::std::option::Option<::std::string::String> {
&self.flywheel_arn
}
pub fn build(
self,
) -> ::std::result::Result<crate::operation::delete_flywheel::DeleteFlywheelInput, ::aws_smithy_types::error::operation::BuildError> {
::std::result::Result::Ok(crate::operation::delete_flywheel::DeleteFlywheelInput {
flywheel_arn: self.flywheel_arn,
})
}
}