pub fn is_directory_already_in_region_exception(&self) -> bool {
        matches!(
            &self.kind,
            AddRegionErrorKind::DirectoryAlreadyInRegionException(_)
        )
    }
/// Returns `true` if the error kind is `AddRegionErrorKind::DirectoryAlreadyInRegionException`.
Returns `true` if the error kind is `AddRegionErrorKind::DirectoryAlreadyInRegionException`.
Returns ` true ` if the error kind is ` AddRegionErrorKind :: DirectoryAlreadyInRegionException ` .
pub fn is_directory_already_in_region_exception(&self) -> bool {
        matches!(
            &self.kind,
            AddRegionErrorKind::DirectoryAlreadyInRegionException(_)
        )
    }
pub fn is_directory_already_in_region_exception ( & self ) -> bool { matches ! ( self kind AddRegionErrorKind DirectoryAlreadyInRegionException ( ) ) }
Returns `true` if the error kind is `AddRegionErrorKind::DirectoryAlreadyInRegionException`.
Returns ` true ` if the error kind is ` AddRegionErrorKind :: DirectoryAlreadyInRegionException ` .
&self
&self