pub fn error_code(
        &self,
    ) -> std::option::Option<&crate::model::NamespaceDeletionStatusErrorCodes> {
        self.error_code.as_ref()
    }
/// <p>An error code returned by the namespace deletion task.</p>
An error code returned by the namespace deletion task.
An error code returned by the namespace deletion task .
pub fn error_code(
        &self,
    ) -> std::option::Option<&crate::model::NamespaceDeletionStatusErrorCodes> {
        self.error_code.as_ref()
    }
pub fn error_code ( & self , ) -> std :: option :: Option < & crate :: model :: NamespaceDeletionStatusErrorCodes > { self . error_code . as_ref ( ) }
<p>An error code returned by the namespace deletion task.</p>
<p > An error code returned by the namespace deletion task . < / p >
&self
&self