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