#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DeleteFileSystemInput {
#[doc(hidden)]
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()
}
}
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
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 Into<std::string::String>) -> Self {
self.file_system_id = 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 build(
self,
) -> Result<
crate::operation::delete_file_system::DeleteFileSystemInput,
aws_smithy_http::operation::error::BuildError,
> {
Ok(
crate::operation::delete_file_system::DeleteFileSystemInput {
file_system_id: self.file_system_id,
},
)
}
}