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