#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DeleteFileSystemInput {
pub file_system_id: ::std::option::Option<::std::string::String>,
}
impl DeleteFileSystemInput {
pub fn file_system_id(&self) -> ::std::option::Option<&str> {
self.file_system_id.as_deref()
}
}
impl DeleteFileSystemInput {
pub fn builder() -> crate::operation::delete_file_system::builders::DeleteFileSystemInputBuilder {
crate::operation::delete_file_system::builders::DeleteFileSystemInputBuilder::default()
}
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct DeleteFileSystemInputBuilder {
pub(crate) file_system_id: ::std::option::Option<::std::string::String>,
}
impl DeleteFileSystemInputBuilder {
pub fn file_system_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.file_system_id = ::std::option::Option::Some(input.into());
self
}
pub fn set_file_system_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.file_system_id = input;
self
}
pub fn get_file_system_id(&self) -> &::std::option::Option<::std::string::String> {
&self.file_system_id
}
pub fn build(
self,
) -> ::std::result::Result<crate::operation::delete_file_system::DeleteFileSystemInput, ::aws_smithy_types::error::operation::BuildError> {
::std::result::Result::Ok(crate::operation::delete_file_system::DeleteFileSystemInput {
file_system_id: self.file_system_id,
})
}
}